
LGBTQ+ Rights
LGBTQ+ Rights in Costa Rica: What the Law Says
In short
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.
Overview
Costa Rica is a civil-law country whose 1949 Constitution guarantees that every person is equal before the law and that no discrimination contrary to human dignity may be practiced (article 33). Most of the important changes affecting lesbian, gay, bisexual, transgender and intersex people since 2018 came from three sources: the Inter-American Court of Human Rights' Advisory Opinion OC-24/17, requested by Costa Rica itself; a 2018 ruling of the Sala Constitucional (Constitutional Chamber, often called "Sala IV"); and administrative decisions of the Tribunal Supremo de Elecciones (TSE), which runs the Civil Registry.
This page summarizes the current legal position on marriage, family, gender identity, discrimination and practical issues for visitors. It is general information, not legal advice.
Same-sex marriage: how it became legal
The 2018 ruling
On 8 August 2018 the Constitutional Chamber decided consolidated unconstitutionality actions against article 14, subsection 6 of the Family Code, which listed marriage between persons of the same sex as legally impossible. In ruling 2018-012782 a majority declared that provision unconstitutional. Instead of annulling it immediately, the Chamber urged the Legislative Assembly to adapt the national legal framework within eighteen months from the full publication of the ruling in the Boletín Judicial, to regulate the scope and effects of same-sex relationships. If the Assembly did nothing, the ban would lose effect when the period expired. Two magistrates would have annulled the ban immediately and dissented only on the timing.
26 May 2020
The Assembly did not pass the expected reforms within the deadline. As the TSE later explained in an official publication, the period expired and recognition of marriage between persons of the same sex took effect on 26 May 2020. Since then, same-sex couples marry before the same officials as other couples (civil registry officers, judges or notaries, according to general rules) and the marriage is entered in the Civil Registry.

Practical registry rules
Because no specific law was adopted, the TSE issued administrative guidelines to resolve registry questions. According to the same TSE publication:
- Surnames of children. When a child is registered to a same-sex married couple and there is no adoption, the parents may choose which surname goes first. Once chosen, the order cannot be changed for later children of the same union.
- Presumption of parentage. The TSE's analysis distinguishes between couples of two women, where marital presumptions can apply in certain circumstances, and couples of two men, where the TSE notes that the appropriate legal route is adoption.
- Adoption. In adoption cases, the order of surnames is set by the administrative decision or court judgment that approves the adoption.
Family law and adoption
With the marriage ban gone, married same-sex couples are subject to the same Family Code rules on marital property, support, divorce and inheritance as other spouses. That has practical consequences for estate planning, pensions and residency based on marriage to a Costa Rican or resident.
Adoption in Costa Rica is a judicial and administrative process involving the national child-welfare agency (PANI) and the family courts, and every case is decided on the best interests of the child. Married couples apply as a couple; the law does not create a separate category for same-sex spouses. Because procedures and practice can vary, anyone considering adoption should get case-specific advice before starting.
Gender identity and name changes (transgender laws)
Change of name at the Civil Registry
Following OC-24/17, the TSE amended, by agreement of 14 May 2018, the Civil Registry regulation and the identity-card regulation to add a procedure for changing one's first name based on self-perceived gender identity. The TSE explains that the procedure:
- is administrative and handled by the Civil Registry rather than a court;
- does not require medical or psychological certificates or other requirements that could be pathologizing;
- requires signing an informed consent and accepting that the name change is not a rectification of the sex recorded at birth;
- can be used only once; a later change would need to go through a civil court;
- applies to adults. For minors, the TSE considered that a judge should intervene to protect the child's best interests.
After the resolution is notified, the person can request a new identity card with the new name. Requirements and timeframes are set by the TSE and can change, so check current guidance with the Civil Registry before applying.
Sex no longer printed on ID cards
As part of the same decision, the TSE removed the sex recorded at birth from identity cards and treats it as sensitive or restricted data. Sex at birth is still recorded in the birth registry. The Constitutional Chamber upheld the measure in an amparo case (ruling 2018-016787), finding the goal of removing stigmatizing traceability legitimate, according to the TSE publication.

Anti-discrimination rules
- Constitution. Article 33 prohibits discrimination contrary to human dignity, and the Constitutional Chamber applies it together with human rights treaties.
- Employment. Article 404 of the Labor Code, amended by the Labor Procedure Reform (Law 9343), prohibits all discrimination at work based on, among other grounds, sex and sexual orientation, as well as "any other analogous form of discrimination". Article 406 prohibits dismissal for those reasons. The reform took effect on 25 July 2017.
- Personal data. Under Law 8968, data revealing sex life and sexual orientation is sensitive data, which private parties generally may not collect or process.
- Public institutions. Successive executive policies have addressed discrimination in public institutions. Their content and status have changed over time, so check the current text before relying on a specific decree.
Costa Rican law does not criminalize consensual relationships between adults of the same sex.
Practical points for tourists and residents
- Travel. Same-sex couples can travel and book accommodation like any other couple. Discriminatory treatment in employment, services or by public institutions can be challenged through the channels above.
- Getting married as a visitor. Foreigners can marry in Costa Rica if they meet the general requirements, which typically include identity documents and proof that each person is free to marry, usually apostilled and translated. Recognition at home depends on your country's law.
- Residency. Marriage to a Costa Rican citizen or a resident can support some immigration applications; the same rules apply regardless of the spouses' sex.
- Documents. Foreign marriages and name changes may need apostille and translation before they can be used or recorded in Costa Rica.
Getting advice
Family, immigration and inheritance situations involving same-sex couples or name changes can raise technical questions, especially when documents come from abroad. For a specific case, such as marrying, registering a foreign marriage, planning an estate or a workplace complaint, a consultation with a Costa Rican lawyer can help you understand your options.
Sources
- Sala Constitucional, Voto 2018-012782 of 8 August 2018 (Exp. 15-013971-0007-CO), Revista de la Sala Constitucional No. 1 (2019)
- Tribunal Supremo de Elecciones (IFED), 'El fallo OC-24/17 de la Corte Interamericana de Derechos Humanos y su efecto sobre los procedimientos registrales y civiles en Costa Rica' (2020)
- Constitución Política de la República de Costa Rica, 7 November 1949, art. 33 (TSE consolidated copy)
- Código de Trabajo, arts. 404–406 as amended by Ley 9343 (Reforma Procesal Laboral) (TSE consolidated copy)
- Ley 8968, art. 3 (sexual orientation as sensitive data), Archivo Nacional copy
Frequently asked questions
Is same-sex marriage legal in Costa Rica?
Yes. It has been legal since 26 May 2020, when the 18-month period set by the Constitutional Chamber in ruling 2018-012782 ended and the ban in article 14(6) of the Family Code lost effect.
Can foreign same-sex couples marry in Costa Rica?
Marriage is open to couples regardless of sex, and foreigners can marry in Costa Rica if they meet the general documentary requirements. Whether the marriage is recognized back home depends on the law of each person's country.
Can transgender people change their name in Costa Rica?
Yes. Since a May 2018 TSE regulation change, adults can request a change of first name based on self-perceived gender identity at the Civil Registry, without medical or psychological certificates. The administrative route can be used once; minors require a court process.
Does the Costa Rican ID card show sex?
No. Following the 2018 TSE decision, the sex recorded at birth was removed from identity cards and treated as sensitive or restricted data. It is still recorded in the birth registry.
Is workplace discrimination based on sexual orientation illegal?
Yes. Article 404 of the Labor Code, as amended by Law 9343, prohibits discrimination at work based on sexual orientation and any analogous form of discrimination, and article 406 prohibits dismissal for those reasons.
How we can help
Costa Rica Family Lawyer
Costa Rica family lawyers for divorce, child custody and visitation, child support (pensión alimentaria), marriage, prenuptial agreements and foreign judgments.
Costa Rica Immigration Lawyer
Costa Rica immigration lawyer for residency applications, DGME requests, appeals, overstays, work permits and status changes, in English and Spanish.
Costa Rica Estate Planning
Estate planning for expats and families in Costa Rica: wills, trusts (fideicomisos), holding companies, powers of attorney and how heirs receive Costa Rican assets.
Costa Rica Wills for Foreigners and Residents
Do you need a Costa Rica will? How foreigners make a valid will for Costa Rican property before a notary public, and how it works with a will from home.
Costa Rica Labor and Employment Lawyer
Costa Rica employment law help: hiring, contracts, CCSS registration, aguinaldo, vacations, terminations and severance, and labor disputes for employers and employees.
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.


