Compare LGBT Rights in Morocco, Denmark, & Chile

Equality Index

Overall score, and how far each country’s laws sit from its public opinion

  • Legal
  • Public opinion
  • Equality Index
Country · Equality Index
Legal ↔ Public opinion
Gap
82
DenmarkRank 1 of 3
9469
25 ptsLaws ahead of opinion
79
ChileRank 2 of 3
10058
42 ptsLaws ahead of opinion
13
MoroccoRank 3 of 3
1215
3 ptsOpinion ahead of laws
0255075100

Compared with every country

  • In this comparison
  • Other countries
25
50
75
100
Denmark82
Chile79
Morocco13
Highest197 countries, ranked by Equality IndexLowest

Law

Current legal status of LGBTQ+ rights in each country

  • Protected
  • Restricted
  • Not protected
Issue
Morocco
Denmark
Chile
Homosexual activity Illegal (imprisonment as punishment)
Since 1962
Article 489 of the Penal Code punishes same sex behaviour by imprisonment of between 6 months and 3 years, and a fine of 200 to 1000…
Legal
Since 1933
Changes to the Danish penal code in 1930, coming into effect in January 1st 1933 permitted same-sex sexual activity.
Legal
Since 1999
Same-sex sexual activity has been legal in Chile since 1999 after Law 19,617 came into effect.
Same-sex marriage Banned
Since 1958
Article 1 of the 1958 Moroccan Personal Status Code (alternatively called the Moroccan Family Code or Moudawana) defined marriage as a…
Legal
Since 2012
Since June 15, 2012, Denmark has recognised both homosexual and heterosexual marriages. Denmark was the eighth country in Europe, and the…
Legal
Since 2022
The Chilean president has signed into law a bill that was approved by the Congress legalizing same-sex marriage.
Censorship of LGBT issues State-enforced
Since 1962
Morocco has several censorship measures in place including LGBT media censorship. The 1962 Penal Code criminalises "obscenity" in public…
No censorship
In Denmark, there are no laws restricting the discussion or promotion of LGBTQ+ topics.
No censorship
Since 1988
In Chile, there are no laws restricting the discussion or promotion of LGBTQ+ topics since the defeat of Augusto Pinochet in the elections…
Right to change legal gender Ambiguous
Since 2021
There is no legal framework to change one's gender marker in Morocco. However, since 2021, Morocco has has officially recognized intersex…
Legal, no restrictions
Since 2014
Denmark's historic new law allows citizens to self-determine their own gender identity without any requirements for medical or psychiatric…
Legal, no restrictions
Since 2019
Since 2019, the Law that Recognises and Protects the Right to Gender Identity (Law No. 21,120) allows transgender people over the age of 14…
Gender-affirming care Restricted
Morocco has no known law banning gender-affirming care and there have been historical cases of it being provided. However, access is…
Legal
Since 2016
Please note: As a general rule, surgical treatment is not offered before the age of 18. Denmark launched a centralised gender transition…
Legal
Since 1980
In 2023, the Gender Identity Support Program "Crece con Orgullo" began operating, which is aimed at children and adolescents from 3 to 17…
Legal recognition of non-binary gender Intersex only
Since 2021
In 2021, Morocco passed Law 36.21, which provides intersex people with the opportunity for legal recognition and the option to change their…
Recognized
Since 2014
The Danish government allows the 'X' gender marker in passports.
Recognized
Since 2022
Non-binary gender "X" is recognized on all official documents, but court order is required. A ruling of the Third Family Court of Santiago…
Hate crime protections No protections
Morocco does not provide hate crime protections based on sexual orientation or gender identity.
Sexual orientation and gender identity
Since 2022
Section 81 No. 6 “In determining the penalty it shall, as a general rule, be considered an aggravating circumstance that (...) 6) the…
Sexual orientation and gender identity
Since 2012
Article 12, paragraph 21 of the Penal Code, added in 2012 by Law 20.609, establishes that aggravating circumstances include "Committing the…
LGBT discrimination No protections
There are no protections from discrimination provided to LGBTIQ+ people in Morocco.
Illegal
Since 1996
There is protection against discrimination at court in the criminal code.
Illegal
Since 2012
The Law on the Adoption of Measures against Discrimination (Law No. 20,609) (2012) bans discrimination based on sexual orientation, gender…
LGBT employment discrimination No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Morocco.
Sexual orientation and gender identity
Since 1996
Employment Discrimination illegal.
Sexual orientation and gender identity
Since 2012
Law 20,609 on the Adoption of Measures against Discrimination (2012) bans discrimination based on sexual orientation, gender identity and…
LGBT housing discrimination No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Morocco.
Sexual orientation and gender identity
Since 2022
Since 2022, any type of discrimination based on sexual orientation, gender identity, gender expression, and sex characteristics has been…
Sexual orientation and gender identity
Since 2012
The anti-discrimnation law penalizes the arbitrary discrimination and includes protection for discrimination of sexual orientation and…
Same-sex adoption Illegal
In Morocco, only single women and married couples are permitted to adopt. Single men are not allowed to and same-sex marriage is not…
Legal
Since 2009
At the time, gay couples were allowed to have civil unions and thus was able to apply as a couple.
Legal
Since 2022
Since March 10, 2022, joint parenthood of same-sex couples is legal after the entry into force of Law 21,400 on Equal Marriage, which…
Intersex infant surgery Not banned
There is no ban on surgeries performed on intersex infants in Morocco.
Not banned
Unnecessary genital 'normalisation' surgeries on intersex infants are not banned in Denmark.
Full ban
Since 2023
Banned since November 2023 by Circular No. 15 of the Ministry of Health.
Serving openly in military Illegal
In Morocco, it was very illegal for any openly LGBTQIA+ people to serve in the military without facing consequences.
Legal
Since 1978
LGB people have been able to serve since 1978, transgender people were largely unknown but have been permitted from at least 2014.
Legal
Since 2012
Since 2012 the Chilean Armed Forces allow gays, lesbians, bisexuals and transgender people to openly serve. Chile has an anti-discrimination…
Blood donations by MSMs Banned (indefinite deferral)
Due to homosexuality being illegal.
Legal
Since 2024
On July 1st, 2024, Denmark lifted its four month deferral that was specifically aimed toward MSM blood donors. Now, deferrals and rules…
Legal
Since 2013
The Chilean Health Ministry repeals the blood ban after a year of lobbying by the country's leading LGBT organization, Chilean Homosexual…
Bathroom access Restricted
In Morocco, there is no protections for trans people acess to the bathroom in fact due to article 489 of the Penal Code, which criminalizes…
Protected
In Denmark, The Danish Parliament passed amendments to the Gender Equality Act and the Anti-Discrimination Act. These laws explicitly…
Protected
In Chile, transgender people have the right to use restrooms and sanitary facilities that align with their gender identity, as protected by…
Conversion therapy Not banned
Conversion therapy is not banned.
Not banned
According to ILGA, laws in force in Denmark do not regulate or restrict conversion therapies.
Banned
Since 2021
Since 2021, Law on the recognition and protection of the rights of people in mental health care (Law 21.331) (2021) prohibits mental health…

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Morocco
Denmark
Chile
Support for LGBT people displaying affection in public
Ipsos, April 24—May 8, 2026
Not surveyedNot surveyed
40% Support
28% Oppose
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
62% Agree
29% Disagree
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
58% Agree
32% Disagree
Ipsos
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
24% Support
46% Oppose
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
48% Agree
40% Disagree
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
51% Agree
37% Disagree
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
47% Agree
41% Disagree
Ipsos Pride Report 2025
Ipsps, April 25-May 9, 2025
Not surveyedNot surveyed
71% Agree
20% Disagree
Ipsos Pride Report 2025
Ipsps, April 25-May 9, 2025
Not surveyedNot surveyed
72% Agree
20% Disagree
Ipsos Pride report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
41% Support
22% Oppose

Full details about each issue can be found on each region's page. Data missing from the above chart? You can help! Sign up or log in to contribute information to Equaldex!

Share This Comparison