Cybercrime Law in Costa Rica
Costa Rica reformed its Penal Code in 2012 to add a section on “computer and related offences”, with unusually heavy prison terms. I found no report of a separate cybersecurity law passed in 2025–26.
Key laws
-
Ley 9048 of 10 July 2012 (in force since 6 November 2012), which reformed section VIII of title VII of the Penal Code (Ley 4573):
- Art. 196 and 196 bis: violating correspondence or communications, and violating personal data (three to six years each);
- Art. 214: extortion (four to eight years, and five to ten where done through computer manipulation);
- Art. 217 bis — computer fraud: manipulating the input, processing or output of an automated system for gain (three to six years);
- Art. 229 bis — computer damage: deleting, changing or destroying information in a system without authorisation (one to three years, and three to six years if irreplaceable);
- Art. 229 ter — computer sabotage (three to six years);
- Art. 230 — identity theft on social networks, websites or other electronic media (three to six years, and four to eight if a minor is harmed);
- Art. 231 — computer espionage: taking or copying information of value to commerce or industry (three to six years);
- Art. 232 — installing or spreading malicious programs (one to six years);
- Art. 233 — spoofing websites (one to three years, and three to six years when confidential information is captured);
- Art. 234 — facilitating a computer offence (one to four years);
- Art. 235: penalties are doubled when these offences affect the fight against drug trafficking or organised crime.
Art. 288, on state secrets, was annulled by the Constitutional Chamber in 2015 (Resolution 5615).
-
Personal data is protected separately under Law 8968 (2011).
I believe Costa Rica is a party to the Budapest Convention on Cybercrime (ETS 185), but I could not confirm the date.
Enforcement
The Judicial Investigation Agency (OIJ) investigates cybercrime through its computer crimes section, and the Public Ministry prosecutes it.
Plain-language overview, not legal advice. Statutes change. Read the current text on the SCIJ legal database and seek qualified advice for any specific matter.
Sources checked 13 November 2026 against the text of Ley 9048 on the SCIJ database. The Budapest membership and the enforcement agency are from general knowledge and could not be confirmed.