
Health & Reproductive Rights
Costa Rica Health Laws: Abortion, Vaccination, Pharmacies and Bringing Medication
In short
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.
Health law in Costa Rica touches residents and visitors in many everyday ways: how medicines are prescribed and sold, which vaccines are required, and what the law allows in pregnancy. This guide summarizes the main rules neutrally and with references to the official texts. It is general information, not medical or legal advice.
The General Health Law
The backbone of the system is the Ley General de Salud, Ley 5395 of 30 October 1973. Its first article declares the health of the population a good of public interest protected by the State. Article 2 gives the Executive Branch, through the Ministry of Health, responsibility for national health policy, and article 3 recognizes every inhabitant's right to health services under the applicable laws, along with a duty to look after one's own health and that of the family and community. Every person and company is bound by the law, its regulations and the orders that health authorities issue within their powers (article 4).
Public health care is delivered mainly through the national social security fund, the Caja Costarricense de Seguro Social (CCSS). Private clinics and hospitals operate alongside it under Ministry of Health permits.
Abortion law
What the Penal Code says
Abortion is regulated in articles 118 to 122 of the Penal Code. As a general rule it is a crime:
- Article 118 punishes a person who causes an abortion, with heavier penalties when it is done without the woman's consent or when she is under fifteen, and lighter penalties when she consents.
- Article 119 punishes a woman who consents to or causes her own abortion with one to three years in prison, or six months to two years if the pregnancy had not reached six months.
- Article 120 provides a reduced penalty in the specific circumstances it describes.
- Article 122 sets a fine for causing an abortion through negligence.
The single exception: article 121
Article 121, titled aborto impune (non-punishable abortion), is the only exception. An abortion is not punishable when all these conditions are met:
- it is performed with the woman's consent;
- by a physician, or by an authorized obstetrician when a physician could not intervene;
- to avoid a danger to the life or health of the woman; and
- that danger could not be avoided by other means.
Costa Rican law does not provide separate exceptions for other circumstances, such as rape or a diagnosis of a fetal condition incompatible with life, unless the case fits within the article 121 conditions above. This has been the subject of public debate and of proceedings before the Inter-American Commission on Human Rights, which the government refers to in the decree discussed below.
From the 2019 norm to the 2025 norm
For many years there was no technical protocol explaining how hospitals should apply article 121. In December 2019 the government issued Executive Decree 42113-S, a technical norm for the medical procedure linked to article 121. That decree is no longer in force. Executive Decree 45233-S of 15 October 2025 repealed it (article 6) and made a new technical norm mandatory: the Norma Técnica para protección y cumplimiento de los derechos humanos que asisten a la mujer embarazada en situación de riesgo y la persona por nacer.
The 2025 norm applies to all public and private health services and professionals who care for pregnant people. Its stated aim is to protect the life and health of both the pregnant woman and the unborn child. It includes sections on how to assess and manage high-risk pregnancies and obstetric emergencies, the technique to be used when termination of pregnancy is required, conscientious objection by health professionals, informed consent, postpartum and comprehensive care, and case registration. Non-compliance by a facility can lead to the special measures in articles 355 and 356 of the General Health Law, and a gynecologist-obstetrician who fails to follow the procedure may face disciplinary action (articles 3 and 4 of the decree).
Because this area is sensitive and the rules recently changed, anyone facing a specific situation should seek individual medical care and legal advice without delay.

Pharmacies and prescriptions
The General Health Law sets clear roles:
- Only physicians may prescribe medicines. Dentists, veterinarians and obstetricians may prescribe only within their professional field (article 54).
- Only pharmacists may dispense prescriptions, and they must refuse any prescription that does not meet scientific, legal and regulatory requirements (article 56).
- Pharmacies prepare prescriptions and sell medicines directly to the public. Wholesale distributors (droguerías) may not sell directly to the public (article 95).
- The import, sale and storage of every medicine is subject to the restrictions the Ministry of Health sets, including a prescription requirement where applicable (article 119).
- Public sale of narcotics and psychotropic products that can cause dependence is prohibited, with an exception for authorized medical cannabis (article 130).
Many common medicines can be bought over the counter at a pharmacy, while others, including controlled drugs, require a prescription from a doctor licensed in Costa Rica. A pharmacist may refuse to dispense based on a foreign prescription. In practice, visitors who need a prescription medicine often see a local doctor, who can issue a Costa Rican prescription.
Bringing medication into Costa Rica
Under article 118 of the General Health Law, customs may not release medicines without prior Ministry of Health authorization, and article 128 reserves the import of narcotic drugs and dependence-causing medicines to the Ministry. These rules are aimed mainly at commercial imports. Travellers carrying medicine for their own treatment are handled more practically, but it is wise to:
- carry medicines in their original packaging, labelled with your name;
- bring a copy of the prescription and, ideally, a recent doctor's letter describing the condition and dosage, with a Spanish translation if possible;
- bring only a quantity consistent with personal use for your stay; and
- check in advance with the Ministry of Health's Drug Control Board (Junta de Vigilancia de Drogas) if you take controlled substances, such as opioid painkillers, certain sleep or anxiety medicines, or stimulant medicines for ADHD. These are subject to stricter documentation and quantity limits.
Medical cannabis prescribed abroad is not covered by a foreign prescription; see our cannabis law guide.

Vaccination law
Mandatory and free vaccines
The Ley Nacional de Vacunación, Ley 8111, guarantees the whole population mandatory and free vaccines and effective access to vaccination, with particular attention to children, immigrants and people living below the poverty line (article 2). Under article 3, vaccinations are mandatory when the National Vaccination and Epidemiology Commission considers them necessary, in coordination with the Ministry of Health and the CCSS. The commission keeps an official list of vaccines, covering both the basic schedule applied to the whole population and special schedules for specific risk groups. Public health services may not refuse approved vaccines for economic reasons or shortages.
For families who move to Costa Rica, the practical effect is that children are expected to follow the national schedule, and schools may ask for vaccination records at enrollment.
Yellow fever: the main traveller requirement
The vaccination rule most relevant to visitors concerns yellow fever. Executive Decree 39997-S-G-SP-RE makes vaccination against yellow fever mandatory at least 10 days before entering Costa Rica for anyone coming from geographic areas with yellow fever transmission. Proof is the International Certificate of Vaccination against Yellow Fever. The decree lets the Ministry of Health set the list of risk areas by ministerial resolution (article 4). Passengers in transit who do not leave the airport or ship are exempt (article 7), and airlines, shipping companies and travel agencies must check the requirement (article 8). Residents of Costa Rica travelling to risk areas must also be vaccinated at least 10 days before departure (article 6).
The list of risk areas changes. In a press release of 20 February 2026, the Ministry said it had postponed an updated list of risk zones because of high vaccine demand, while keeping the requirement for Costa Ricans and residents travelling to Colombia (from 1 March 2026) and to Brazil, Peru and African countries (from 16 March 2026). Check the Ministry's current resolution before you travel.
Other entry rules, such as those adopted during the COVID-19 pandemic, have changed over time. Confirm current requirements with your airline and official Costa Rican sources before departure.
The sunscreen question
Some travel articles say Costa Rica bans certain sunscreens, as a few other destinations have done. We found no law or decree in force in Costa Rica that bans specific sunscreen ingredients. Choosing reef-friendly, mineral-based products is good practice in marine areas and national parks, but it is not, as of this writing, a legal requirement. If a regulation is adopted, it will be published in La Gaceta and appear in SINALEVI.
Getting advice
This page is general information, not legal or medical advice. If you have a specific question about patient rights, a pharmacy or import issue, school vaccination requirements or care during pregnancy, a consultation with a Costa Rican attorney, together with appropriate medical care, can help you understand your rights and options.
Sources
- Ley 5395, Ley General de Salud (30 Oct 1973), SINALEVI current version
- Ley 4573, Código Penal, articles 118 to 122 (abortion), SINALEVI current version
- Decreto Ejecutivo 45233-S, Norma Técnica para protección y cumplimiento de los derechos humanos que asisten a la mujer embarazada en situación de riesgo y la persona por nacer (15 Oct 2025),
- Ley 8111, Ley Nacional de Vacunación (2001), SINALEVI
- Decreto Ejecutivo 39997-S-G-SP-RE, Regulaciones sobre el Certificado Internacional de Vacunación contra la Fiebre Amarilla (3 Nov 2016), SINALEVI
- Ministerio de Salud, press release on yellow fever vaccination requirements for travellers (20 Feb 2026)
Frequently asked questions
Is abortion legal in Costa Rica?
Only in one situation: when a physician performs it with the woman's consent to avoid a danger to her life or health that cannot be avoided by other means (Penal Code art. 121). Otherwise it is a crime under articles 118 to 120.
What replaced the 2019 abortion technical norm?
Executive Decree 45233-S of 15 October 2025 repealed Decree 42113-S of 2019 and made a new technical norm mandatory for public and private health services that care for pregnant people.
Are vaccines mandatory in Costa Rica?
Vaccines in the official schedule set by the National Vaccination and Epidemiology Commission are mandatory and free under Ley 8111.
Do tourists need vaccines to enter Costa Rica?
Travellers coming from areas with yellow fever transmission must be vaccinated at least 10 days before entry and show the international certificate. The list of risk areas is set by Ministry of Health resolution, so check it before travelling.
Can I bring my prescription medication to Costa Rica?
Generally yes for personal use, but carry it in original packaging with the prescription. Controlled substances, such as strong painkillers or some psychiatric medicines, face stricter Ministry of Health requirements.
Is there a sunscreen law in Costa Rica?
We found no law in force that bans particular sunscreen ingredients. Reef-friendly products are a good practice, not a legal requirement.
How we can help
Costa Rica Litigation Lawyer
Costa Rica litigation lawyers for civil, commercial, property and administrative disputes: negotiation, conciliation, arbitration and court representation.
Related Costa Rica laws
Talk to a lawyer
This page is general information about Costa Rican law. For advice on your own situation, book a consultation or send us a short question.
The information on this website is general information, not legal advice. Contacting us does not create an attorney-client relationship.


