Law / Costa Rica

Costa Rica

5 of 11 named instruments researched to a stage, across three of the six areas of law we track: 5 in force. As of 5 September 2026.

  1. AI law none researched
  2. Privacy law 2
  3. Scraping law 2
  4. Cybersecurity law none researched
  5. Age gating law none researched
  6. News aggregation law 1

in forceenacted but not yet in forceproposedrepealed, withdrawn or blocked

Drafted with AI from the cited sources under the direction of UnGovr staff. UnGovr holds editorial responsibility for this page.

Privacy law2 instruments, 2 in force

Research summary (145 words)

Costa Rica's comprehensive personal-data regime is Ley No. 8968, Proteccion de la Persona frente al Tratamiento de sus Datos Personales, which binds any public or private entity that holds personal data in an automated or manual database and is enforced by the Agencia de Proteccion de Datos de los Habitantes (Prodhab) through an administrative complaint procedure and a tiered fine schedule.

A separate Codigo Penal provision added by Ley No. 9048, article 196 bis, criminalizes unauthorized appropriation, copying, transmission, or other unauthorized treatment of a person's data or images, with an aggravated penalty when the data are public, belong to a minor, or reveal ideology, religion, health, racial origin, or sexual orientation.

A bill to replace Law 8968 with a General Data Protection Regulation (GDPR)-aligned regime, Expediente 23097, cleared first debate in October 2024 but was returned for reconsideration days later and has seen no further floor action since.

Comprehensive regime

Proteccion de la Persona frente al Tratamiento de sus Datos Personales

Ley No. 8968, Proteccion de la Persona frente al Tratamiento de sus Datos PersonalesConsolidated statute text, Sistema Costarricense de Informacion Juridica (SCIJ), Procuraduria General de la Republica

In force. Binds public and private bodies.

What this law does

Article 1 makes the law's object guaranteeing any person, regardless of nationality, residence or domicile, their right to informational self-determination over their private life; article 2 applies it to personal data in any automated or manual database of a public or private body, excluding a database kept for exclusively internal, personal or domestic purposes that is never sold or commercialized.

Article 5 requires a data controller to inform a person before collecting their data and to obtain their express, written consent, revocable without retroactive effect, unless the data are publicly accessible or the disclosure is compelled by judicial order or law.

Article 9 prohibits processing data revealing racial or ethnic origin, political opinions, religious or philosophical convictions, health, life, or sexual orientation, subject to narrow exceptions such as the data subject's own public disclosure or vital-interest necessity. Article 10 requires the controller to adopt technical and organizational security measures. Article 14 conditions any transfer of the data on the data subject's express, valid authorization.

The Prodhab, created by article 15 as an agency attached to the Ministry of Justice and Peace, enforces the law through a complaint procedure (arts. 24-27) and a tiered sanction scale of administrative fines set in multiples of the base salary of a first-level judicial aide, running from up to five base salaries for a minor infraction to fifteen to thirty base salaries plus a suspension of the database's operation of one to six months for the most serious infraction.

A public-sector controller instead receives a corrective resolution rather than a fine. The law itself imposes no criminal penalty and refers conduct that may constitute a crime to the Public Prosecutor's Office. A separate Codigo Penal provision, article 196 bis, carries the criminal exposure for the same underlying conduct. The Legislative Assembly signed the law on 7 July 2011, and it enters into force on its publication; the consolidated SCIJ text does not itself state that publication date.

What it requires

Enforcement supervision

Codigo Penal, articulo 196 bis, Violacion de datos personales

Codigo Penal (Ley No. 4573), art. 196 bis, segun reforma por Ley No. 9048Consolidated Codigo Penal text as reformed by Ley No. 9048

In force. Binds public and private bodies.

What this law does

Article 196 bis of the Codigo Penal, added by Ley No. 9048, punishes with three to six years of imprisonment a person who, for their own benefit or a third party's, and to the danger or harm of another's privacy, without the data subject's authorization, appropriates, modifies, interferes with, accesses, copies, transmits, publishes, disseminates, compiles, disables, intercepts, retains, sells, buys, diverts to a different purpose than the one for which the data were collected, or otherwise gives unauthorized treatment to the images or data of a natural or legal person stored in a computer or telematic system or in an electronic, optical or magnetic container.

The penalty rises to four to eight years when the conduct is committed by a person who administers or supports the system or has access to it by reason of their duties, when the data are public or held in a public database, when the victim is a minor or an incapacitated person, or when the conduct affects data revealing ideology, religion, beliefs, health, racial origin, sexual preference, or sex life.

The Legislative Assembly approved Ley No. 9048 on 7 June 2012 and the President signed it on 10 July 2012; the pgrweb consolidated text states it takes effect on publication without itself stating that publication date.

What it requires

Scraping law2 instruments, 2 in force

Research summary (209 words)

Costa Rica has no scraping-specific statute, so general law governs each dimension separately.

The Codigo Penal's computer-crimes title, added by Ley No. 9048, has no provision that squarely tracks a Computer Fraud and Abuse Act (CFAA)-style unauthorized-access offense triggered by circumventing a technical measure; the closest fit, article 231 (espionaje informatico), reaches unauthorized computerized appropriation or copying of information of value to industry or commerce, and no reported Costa Rican decision has tested whether reading a public, unauthenticated page falls within it.

No Costa Rican court has ruled on the enforceability of a browsewrap or clickwrap terms-of-service against a scraper. Ley No. 6683 protects databases as compilations rather than granting a sui generis database right, and it carries no text-and-data-mining exception; its narrow author's-quotation exception (arts. 67-70) is recorded under the aggregation topic rather than repeated here.

Personal data scraped from a public Costa Rican source remains subject to Ley No. 8968's consent and purpose-limitation duties, recorded under the privacy topic, and Costa Rica's publicly-accessible-data category is a defined subset of covered personal data rather than an exemption from the Act.

No Costa Rican statute or reported case establishes a scraping-specific unfair-competition, misappropriation or trespass doctrine distinct from article 231, and none assigns legal weight to a robots.txt directive or imposes an AI-training-specific rule.

Computer misuse

Codigo Penal, articulo 231, Espionaje informatico

Codigo Penal (Ley No. 4573), art. 231, segun reforma por Ley No. 9048Consolidated Codigo Penal text as reformed by Ley No. 9048

In force. Binds public and private bodies.

What this law does

Article 231, added by Ley No. 9048, punishes with three to six years of imprisonment a person who, without the authorization of the owner or the party responsible, and by means of any computerized or technological manipulation, appropriates, transmits, copies, modifies, destroys, uses, blocks, or recycles information of value to the economic traffic of industry and commerce.

The offense's trigger is the absence of authorization from the system's owner or responsible party rather than the circumvention of a specific technical access control, so a plain reading leaves open whether reading a page an operator has made publicly and unauthenticated available is conduct the owner has thereby authorized.

The Legislative Assembly approved Ley No. 9048 on 7 June 2012 and the President signed it on 10 July 2012; the pgrweb consolidated text states it takes effect on publication without itself stating that publication date.

What it requires

Database right

Ley sobre Derechos de Autor y Derechos Conexos, articulo 8, proteccion de bases de datos

Ley No. 6683, art. 8, reformado por Ley No. 7397 de 3 de mayo de 1994Consolidated text of Ley No. 6683 sobre el Derecho de Autor y Derechos Conexos

In force since 4 November 1982. Binds public and private bodies.

What this law does

Article 8, as amended by Ley No. 7397 of 3 May 1994, states that databases are protected as compilations.

Costa Rican law therefore gives a database no sui generis right of the kind the EU Database Directive creates for the producer's investment; protection instead follows the ordinary compilation-copyright standard, so only a database whose selection or arrangement is itself an original intellectual creation is protected, and only against reproduction of that original selection or arrangement, not against extraction of the underlying data as such. No text-and-data-mining exception exists in Costa Rican copyright law.

What it requires

News aggregation law1 instrument, 1 in force

Research summary (154 words)

Costa Rica has no press-publisher neighbouring right, no mandatory platform-to-publisher bargaining code, no recognized hot-news misappropriation doctrine distinct from ordinary copyright law, and no located statute or case law addressing hyperlinking or framing liability specifically; each of those dimensions is a sourced absence rather than an unresolved question.

The relevant instrument is Ley No. 6683 sobre Derechos de Autor y Derechos Conexos, which excludes news of a strictly informational press character from copyright protection outright (art. 67) and separately lets any medium reproduce a current-events article from a magazine or newspaper unless expressly prohibited, citing the source (art. 68), and lets a person quote an author's relevant passages so long as the quotation is not so extensive and continuous as to amount to a simulated, substantial reproduction to the original author's detriment (art. 70).

The law predates the concept of a machine-readable text-and-data-mining reservation entirely, so no opt-out mechanism of that kind exists either.

Snippet reproduction

Ley sobre Derechos de Autor y Derechos Conexos, articulos 67 a 70, excepcion de noticias, actualidad y cita

Ley No. 6683, arts. 67-70, segun reforma por Ley No. 7979 de 6 de enero de 2000Consolidated text of Ley No. 6683 sobre el Derecho de Autor y Derechos Conexos

In force since 4 November 1982. Binds public and private bodies.

What this law does

Article 67, in its text as reformed by Ley No. 7979 of 6 January 2000, excludes news of a strictly informational press character from copyright protection outright, though the outlet that reproduces or retransmits it must state the original source. Article 68 separately lets current-events articles published in magazines or newspapers be reproduced, unless expressly prohibited, provided the source is cited in every case.

Article 69 lets speeches given at public assemblies or meetings, and court pleadings, be published in the press, radio, or periodic television without authorization, though not in a separate printed work or a collection without the author's permission.

Article 70 permits quoting an author, transcribing the pertinent passages, provided they are not so numerous and continuous that the quotation could be considered a simulated and substantial reproduction to the detriment of the original work's author.

None of the four provisions caps its reach at a headline-length or short-extract threshold or confines it to the traditional press; whether article 68's reproduction right or article 70's quotation right reaches a systematic aggregator's reproduction of headlines and snippets, as opposed to a single reproduction or a traditional press review, has not been tested in a reported Costa Rican decision.

Costa Rica has no separate press-publisher neighbouring right, no compelled platform-to-publisher bargaining regime, no recognized hot-news or misappropriation doctrine distinct from ordinary copyright law, and no located case law on hyperlinking or framed display.

Note and primary source

This page covers the instruments LexLint has researched to a stage. Instruments named in the corpus but not yet researched are counted in the head and are not listed here. Every entry carries its own primary source on its note page. This is a research index, not legal advice.