Stone staircase and classical columns at the entrance of a public building

Costa Rica Laws: a practical guide

Plain-language explanations of the Costa Rican laws that visitors, expats and investors ask about most.

Costa Rica is a civil-law country: its rules come from written codes and statutes passed by the Legislative Assembly, regulations issued by the executive branch and rulings of the Supreme Court, especially its Constitutional Chamber. Those texts are published in the official gazette, La Gaceta, and collected in the government's legal database, SINALEVI. Reading them is not always easy, even in Spanish, which is why we wrote this guide to Costa Rica laws.

Each topic below explains one area of the laws in Costa Rica in plain language: what the rule is, who it applies to, how it is enforced in practice and what to watch out for. Many pages cover laws for tourists and short-term visitors, such as driving, alcohol, wildlife and beaches, while others matter more if you live, work or invest here. Every page links to the official sources it relies on, so you can check the text of the law yourself.

Topics such as buying property, residency, companies, tax, employment, family law and inheritance are covered in depth on our practice-area pages, marked “Practice area” in the groups below. This guide is general information, not legal advice; laws change, and the right answer often depends on the details. If you have a specific situation, a short consultation is the quickest way to get a clear answer.

Everyday life & travel

  • Cannabis & Drug Laws

    Costa Rica Cannabis and Drug Laws: Weed, Hemp, CBD and What Tourists Should Know

    Recreational cannabis is not legal in Costa Rica. Ley 8204 punishes trafficking, unlicensed cultivation and possession for distribution with prison, while Ley 10113 (2022) allows only licensed medical and therapeutic cannabis and hemp with less than 1% THC. Personal consumption is handled mainly as a public-health matter, but carrying drugs still creates real legal risk, especially at borders.

    Read the guide
  • Environment & Wildlife

    Costa Rica Environmental Law: Hunting, Fishing, Forests and Building Permits

    The Costa Rican Constitution guarantees a right to a healthy environment. Sport hunting has been completely banned since a 2012 reform of the Wildlife Conservation Law, sport fishing is regulated by INCOPESCA under the Fishing and Aquaculture Law, projects that affect the environment need prior approval from SETENA, and cutting trees generally requires a permit under the Forestry Law.

    Read the guide
  • Firearms & Weapons

    Costa Rica Gun and Weapons Laws

    Private gun ownership is legal in Costa Rica but tightly controlled by the Arms and Explosives Law (Ley 7530): every firearm must be registered with the Ministry of Public Security's Department of Arms and Explosives Control, and carrying one requires a separate permit. Only adults who pass background, mental-fitness and practical tests qualify, residents apply with their residence card, and tourists cannot simply bring or carry a handgun for personal protection.

    Read the guide
  • Laws for Tourists

    Costa Rica Laws for Tourists: What Visitors Actually Need to Know

    Most visitors from the United States, Canada and Europe can enter Costa Rica without a visa and stay up to 180 days, but the officer at the border decides the exact stay. A valid foreign driver's license works for the same period as your legal stay, beaches are public up to 50 meters from the high-tide line, feeding wild animals is fined, and restaurants add a legally required 10% service charge.

    Read the guide
  • Technology & Gambling

    Costa Rica Drone, Crypto and Gambling Laws Explained

    Drones in Costa Rica fall under 2017 civil aviation rules: fly in daylight, within sight, below 120 meters, at least 8 km from airports, and get DGAC authorization. Cryptocurrencies are not legal tender, and the Central Bank says people use them at their own risk. Casinos are legal but must be authorized and taxed, and online betting companies pay a special annual tax under Ley 9050.

    Read the guide
  • Tourism & Short-Term Rentals

    Tourism and Short-Term Rental Laws in Costa Rica

    Short-term rentals of one day to one year are regulated by Law 9742 of 2019, which requires hosts to register with the Costa Rican Tourism Board (ICT) and with the tax authority, issue electronic invoices and meet basic service standards; platforms must register for tax and may withhold taxes. Tourism businesses can obtain a voluntary ICT declaratoria turística and, under Law 6990, apply for tax incentives. Adventure operators need a Ministry of Health permit and insurance, driving on beaches is prohibited, and entering closed areas of national parks carries fines.

    Read the guide
  • Traffic & DUI

    Costa Rica Traffic, Driving and DUI Laws

    Costa Rica's Traffic Law (Ley 9078) fines drivers in the top fine category for blood alcohol above 0.50 g/l (0.20 g/l for professional and new drivers), and above 0.75 g/l (0.50 g/l for those drivers) drunk driving is a crime under article 261 bis of the Penal Code, with one to three years in prison and loss of the right to drive. Tourists may drive on a valid foreign license during their authorized stay, and children under 12 who are shorter than 1.45 m must ride in the back seat in a child restraint.

    Read the guide
  • Practice area

    Immigration & residency

    Tourist stays, residency categories, renewals, digital nomads and citizenship.

    See the practice area

Family & personal life

  • Education & Children

    Costa Rica's Laws on Education and Children: Compulsory School, Homeschooling, Travel Permits and Parental Duties

    Costa Rica's Constitution makes preschool, general basic and diversified (secondary) education compulsory, and the Children and Adolescents Code (Law 7739 of 1998) requires parents to enroll children and ensure regular attendance. There is no stand-alone truancy statute with fines for students; persistent absences are reported to the Ministry of Public Education, and serious neglect of a child's education can become a child-protection or criminal matter. Children must also have an exit permit to leave the country, and children under 12 who are shorter than 1.45 m must ride in a child restraint in the back seat.

    Read the guide
  • Sexual Offenses & Age of Consent

    Age of Consent and Sexual Offenses in Costa Rica: Protection of Minors, Trafficking, Bigamy and Public Decency

    Costa Rica's Penal Code treats any sexual intercourse with a child under 13 as rape. Since Law 9406 of 2016, sexual relations with a 13- or 14-year-old are a crime if the adult is five or more years older, and with a 15- to 17-year-old if the adult is seven or more years older; relatives, guardians and people in a position of trust are always liable. Paying a minor for sexual acts, sex tourism promotion, trafficking and any material sexualizing minors are serious crimes, and marriage under 18 is prohibited.

    Read the guide
  • Practice area

    Family law & divorce

    Marriage, divorce, custody and child support.

    See the practice area
  • Practice area

    Inheritance & estates

    Wills, estate planning and the probate of an estate in Costa Rica.

    See the practice area

Business, work & property

  • Agrarian & Indigenous Law

    Costa Rica's Biodiversity, Agrarian and Indigenous Land Laws: Research Permits, Mangroves, Indigenous Territories and National Symbols

    Costa Rica's Biodiversity Law (Law 7788) declares the genetic and biochemical properties of biodiversity public domain, adopts an 'in dubio pro natura' precautionary criterion and requires a permit for any genetic or biochemical research. Collecting wild animals, including insects, needs a permit from SINAC under the Wildlife Conservation Law. The 1977 Indigenous Law (Law 6172) makes indigenous reserves inalienable and closed to non-indigenous buyers or tenants, mangroves are part of the public zone, and agrarian disputes go to specialized agrarian courts under a procedure code in force since 2025.

    Read the guide
  • Customs & Foreign Investment

    Costa Rica Customs, Import Rules and Foreign Investment Law

    Imports and exports in Costa Rica are governed by the General Customs Law (Law 7557), with PROCOMER running the single window for foreign trade. Foreigners generally enjoy the same economic rights as Costa Ricans under article 19 of the Constitution, but specific laws restrict some activities, such as concessions in the maritime zone. Export-oriented companies can qualify for the Free Trade Zone Regime (Law 7210), and electric vehicles benefit from phased tax incentives under Law 9518.

    Read the guide
  • Intellectual Property

    Intellectual Property Law in Costa Rica: Patents, Copyright, Trademarks and Enforcement

    Costa Rica protects intellectual property through separate statutes: Law 6867 for patents, industrial designs and utility models, Law 6683 for copyright, Law 7978 for trademarks, Law 7975 for trade secrets and Law 8039 for enforcement. Patents last 20 years from filing, trademark registrations 10 years and are renewable, and copyright generally lasts for the author's life plus 70 years. Registrable rights are handled by the Registro de la Propiedad Intelectual, part of the Registro Nacional.

    Read the guide
  • Practice area

    Real estate

    Buying property, title checks, the maritime zone, condominiums and evictions.

    See the practice area
  • Practice area

    Corporate law

    Companies, shareholders, contracts, trademarks and beneficial-ownership filings.

    See the practice area
  • Practice area

    Tax & banking

    Income, property and corporate taxes, filings with the tax authority and banking compliance.

    See the practice area
  • Practice area

    Labor & employment

    Hiring, employment contracts, social security, benefits and terminations.

    See the practice area

Rights & society

  • Anti-Corruption

    Costa Rica's Anti-Corruption Laws: Law 8422, Asset Declarations, Bribery Crimes and Corporate Criminal Liability

    Costa Rica's core anti-corruption statute is Law 8422 of 6 October 2004 against Corruption and Illicit Enrichment in Public Office. It imposes a duty of probity, requires senior officials to file sworn asset declarations with the Comptroller General, protects whistleblowers' identities and creates crimes such as illicit enrichment, influence peddling and transnational bribery. The Penal Code punishes bribery of officials and those who pay them, and since Law 9699 of 2019 companies can be held criminally liable, with fines of up to ten thousand base salaries.

    Read the guide
  • Data Protection & Privacy

    Costa Rica's Data Protection Law: Law 8968, PRODHAB and What Businesses Must Do

    Costa Rica's main privacy statute is Law 8968 on the Protection of Persons Regarding the Processing of their Personal Data, published in La Gaceta on 5 September 2011 and in force from publication. It requires informed, express consent, gives people rights of access, rectification and deletion, makes certain commercial databases register with the agency PRODHAB, and sets fines measured in salarios base.

    Read the guide
  • Disability Rights

    Costa Rica Disability Laws: Equal Opportunity, Accessibility and Service Dogs

    Costa Rica's core disability statute is Law 7600 on Equal Opportunities for Persons with Disabilities (1996), complemented by Law 8661, which approved the UN Convention on the Rights of Persons with Disabilities in 2008. CONAPDIS is the governing agency. The law requires accessible buildings open to the public, reserves 5% of parking spaces and 5% of public-sector vacancies, and gives people using guide or assistance animals free access to transport and buildings at no extra cost.

    Read the guide
  • Health & Reproductive Rights

    Costa Rica Health Laws: Abortion, Vaccination, Pharmacies and Bringing Medication

    Abortion is a crime in Costa Rica except when performed with the woman's consent by a physician to avoid a danger to her life or health that cannot be avoided by other means (Penal Code art. 121); since October 2025 a new technical norm governs how health services apply it. Vaccines in the official schedule are mandatory and free under Ley 8111, and travellers from yellow-fever risk areas must show a vaccination certificate. Prescription drugs are dispensed only by pharmacists, and medicines brought into the country are subject to Ministry of Health control.

    Read the guide
  • LGBTQ+ Rights

    LGBTQ+ Rights in Costa Rica: What the Law Says

    Same-sex marriage has been legal in Costa Rica since 26 May 2020, when the 18-month period set by the Constitutional Chamber in ruling 2018-012782 expired. Since 2018 the Civil Registry (TSE) allows adults to change their first name to match their self-perceived gender identity through an administrative procedure, and the Labor Code prohibits workplace discrimination based on sexual orientation.

    Read the guide

Courts & the legal system

  • Administrative Law

    Costa Rica Administrative Law: Dealing with Ministries, Municipalities and Permits

    Administrative law governs how ministries, municipalities and public institutions act toward individuals and companies. Its core is the General Law of Public Administration (Law 6227), with permit rules in Law 8220, court review under the Contentious-Administrative Procedure Code (Law 8508) and public procurement under Law 9986. Requests for permits and licences can be approved by positive silence if the authority does not decide on time, and most decisions can be challenged through revocatoria and apelación appeals.

    Read the guide
  • Civil Law & Arbitration

    Civil Law, Arbitration and Personal Injury in Costa Rica

    Costa Rica follows the civil-law tradition: private disputes are decided under written codes, chiefly the Civil Code in force since 1 January 1888. Personal injury claims rest on article 1045, which obliges anyone who causes harm through intent, fault, negligence or imprudence to repair it. Since 2 April 2025, both domestic and international arbitration seated in Costa Rica are governed by the Arbitration Law (Law 8937), after Law 10535 repealed the arbitration chapter of Law 7727, including its former article 67 on annulment.

    Read the guide
  • Costa Rica's Legal System

    Costa Rica's Legal System Explained: Constitution, Courts and Lawmaking

    Costa Rica has a civil-law system built on its Constitution of 7 November 1949. Laws are made by the single-chamber Legislative Assembly of 57 deputies: a bill must pass two debates on different, non-consecutive days, be sanctioned by the Executive and be published in La Gaceta. It takes effect on the date it states or, if none, ten days after publication.

    Read the guide
  • Criminal Law & Extradition

    Criminal Law, Self-Defense and Extradition in Costa Rica

    Yes, Costa Rica extradites. Foreigners can be extradited under the Extradition Law (Ley 4795) and treaties, and since a 2025 constitutional reform (Ley 10730), in force and followed by implementing Ley 10831, Costa Rican nationals can also be extradited, but only for international drug trafficking or terrorism. Self-defense is a full legal justification under article 28 of the Penal Code when there is an unlawful attack and the defense used is reasonably necessary.

    Read the guide
  • Practicing Law in Costa Rica

    How to Practice Law in Costa Rica

    Only members of the Colegio de Abogados y Abogadas de Costa Rica can act as lawyers before Costa Rican authorities. To join, you need a Costa Rican licenciatura in law, or a foreign law degree recognised and declared equivalent through CONARE, followed by the Bar's legal ethics course and academic excellence exam. A US or other foreign lawyer cannot practise Costa Rican law on a home-country licence alone. Notaries need a postgraduate degree in notarial and registry law, two years of Bar membership and authorisation from the Dirección Nacional de Notariado.

    Read the guide

Have a question about Costa Rican law?

Book a consultation or send us a short question, in English or Spanish.