This research entitled "The Realization of the Principle of Legal Certainty in Compensation for Online Investment Losses," to discuss the application of the principle of legal certainty in compensating for losses from illegal investments. It examines illegal investments handled through civil lawsuits and the regulation of compensation for such investments. The research used a juridical-normativ…