Compare LGBT Rights in Mudug, Somalia, Morocco, Lesotho, & Denmark

Equality Index

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

  • Legal
  • Public opinion
  • Equality Index
Region · Equality Index
Legal ↔ Public opinion
Gap
82
DenmarkRank 1 of 5
9469
25 ptsLaws ahead of opinion
44
LesothoRank 2 of 5
5632
24 ptsLaws ahead of opinion
13
MoroccoRank 3 of 5
1215
3 ptsOpinion ahead of laws
8
MudugRank 4 of 5Laws only
8
–No public opinion data
4
SomaliaRank 5 of 5Laws only
4
–No public opinion data
0255075100

Compared with every country

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

Law

Current legal status of LGBTQ+ rights in each region

  • Protected
  • Restricted
  • Not protected
Issue
Mudug
Somalia
Morocco
Lesotho
Denmark
Homosexual activity Illegal (death penalty as punishment)
Since 2012
Under national Somalia law
The Provisional Constitution of Somalia (2012) upheld the preeminence of Sharia law. As such, the possibility of Sharia courts imposing the…
Illegal (death penalty as punishment)
Since 2012
The Provisional Constitution of Somalia (2012) upheld the preeminence of Sharia law. As such, the possibility of Sharia courts imposing the…
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 2012
The Penal Code Act of 2010 decriminalized homosexuality in Lesotho. It took effect in 2012.
Legal
Since 1933
Changes to the Danish penal code in 1930, coming into effect in January 1st 1933 permitted same-sex sexual activity.
Same-sex marriage UnknownBanned
Since 1975
The Marriage Law of 1975 states that marriage is defined as a contract between a man and a woman having equal rights and duties with the…
Banned
Since 1958
Article 1 of the 1958 Moroccan Personal Status Code (alternatively called the Moroccan Family Code or Moudawana) defined marriage as a…
Unrecognized
There is no legal recognition provided to same-sex couples in Lesotho. However, there is also no explicit ban on marriage.
Legal
Since 2012
Since June 15, 2012, Denmark has recognised both homosexual and heterosexual marriages. Denmark was the eighth country in Europe, and the…
Censorship of LGBT issues Imprisonment as punishment
Since 1964
Under national Somalia law
Article 402 of the Penal Code (1964) of Somalia prohibits the commission of any “obscene act” while Article 403 prohibits the sale…
Imprisonment as punishment
Since 1964
Article 402 of the Penal Code (1964) of Somalia prohibits the commission of any “obscene act” while Article 403 prohibits the sale…
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 Lesotho, there are no laws restricting the discussion or promotion of LGBTQ+ topics. However, laws against forgery and fraud could be…
No censorship
In Denmark, there are no laws restricting the discussion or promotion of LGBTQ+ topics.
Right to change legal gender UnknownIllegal
Legally no way to change gender. Crossdressing is illegal in the Sharia ruled controlled territories.
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, but requires medical diagnosis
Since 1975
Article 22 of the Registration of Births and Deaths Act (1973) states that "In the event of a child, after being registered, either by…
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…
Gender-affirming care Restricted
Under national Somalia law
There is no access to gender-affirming care in Somalia but no formal ban either.
Restricted
There is no access to gender-affirming care in Somalia but no formal ban either.
Restricted
Morocco has no known law banning gender-affirming care and there have been historical cases of it being provided. However, access is…
Restricted
Neither sex reassignment surgery nor hormone replacement are available in Lesotho leaving people to go to South Africa for healthcare.
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 recognition of non-binary gender Not legally recognized
Under national Somalia law
There is no legal gender recognition provided to intersex or nonbinary people in Somalia.
Not legally recognized
There is no legal gender recognition provided to intersex or nonbinary people in Somalia.
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…
Not legally recognized
Non-binary identities are not legally recognized in Lesotho.
Recognized
Since 2014
The Danish government allows the 'X' gender marker in passports.
Hate crime protections UnknownNo protections
Somalia does not provide hate crime protections based on sexual orientation or gender identity.
No protections
Morocco does not provide hate crime protections based on sexual orientation or gender identity.
Protected in some contexts
Since 2022
Lesotho does not provide specific protection against hate crimes based on sexual orientation or gender identity. However, there are some…
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…
LGBT discrimination UnknownNo protections
There are no protections from discrimination provided to LGBTIQ+ people in Somalia.
No protections
There are no protections from discrimination provided to LGBTIQ+ people in Morocco.
Illegal in some contexts
Since 2012
Section 127(4) of the Children's Protection and Welfare Act 2011 states that "No child may be unfairly discriminated against on the basis…
Illegal
Since 1996
There is protection against discrimination at court in the criminal code.
LGBT employment discrimination UnknownNo protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Somalia.
No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Morocco.
Sexual orientation and gender identity
Since 2024
The Labor Code (2024) explicitly bans discrimination based on gender and sexual orientation. It also bans violence, harassment and sexual…
Sexual orientation and gender identity
Since 1996
Employment Discrimination illegal.
LGBT housing discrimination UnknownNo protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Somalia.
No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Morocco.
No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Lesotho.
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…
Same-sex adoption Ambiguous
Under national Somalia law
Somali law states that the adoption procedure requires that the adopter proves to the district court of the adoptee's domicile that they…
Ambiguous
Somali law states that the adoption procedure requires that the adopter proves to the district court of the adoptee's domicile that they…
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…
Single only
Single males and same-sex couples cannot adopt in Lesotho.
Legal
Since 2009
At the time, gay couples were allowed to have civil unions and thus was able to apply as a couple.
Intersex infant surgery UnknownNot banned
Unnecessary “normalisation” surgeries on intersex infants are legal in Somalia although there is little information on if they are…
Not banned
There is no ban on surgeries performed on intersex infants in Morocco.
Not banned
Surgery on intersex infants is legal in Lesotho but not reported.
Not banned
Unnecessary genital 'normalisation' surgeries on intersex infants are not banned in Denmark.
Serving openly in military UnknownIllegal
LGBT people are currently banned from serving here.
Illegal
In Morocco, it was very illegal for any openly LGBTQIA+ people to serve in the military without facing consequences.
Legal
Since 2012
There are no known bans or restrictions on LGBTIQ+ people serving in the military of Lesotho.
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.
Blood donations by MSMs UnknownAmbiguous
Unknown as homosexuality is illegal.
Banned (indefinite deferral)
Due to homosexuality being illegal.
Legal
There are no known bans or restrictions on blood donations from men who have sex with men in Lesotho.
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…
Bathroom access Partially restricted
Under national Somalia law
There are no known protections or restrictions on transgender people accessing the bathroom matching their gender identity in Somalia…
Partially restricted
There are no known protections or restrictions on transgender people accessing the bathroom matching their gender identity in Somalia…
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…
No explicit protections
In Lesotho, there is no explict restrictions for trans people acess to the bathroom but no protections for them either.
Protected
In Denmark, The Danish Parliament passed amendments to the Gender Equality Act and the Anti-Discrimination Act. These laws explicitly…
Conversion therapy Not banned
Under national Somalia law
Conversion therapy is legal and widespread in Somalia
Not banned
Conversion therapy is legal and widespread in Somalia
Not banned
Conversion therapy is not banned.
Not banned
Conversion therapy is legal in Lesotho but not reported.
Not banned
According to ILGA, laws in force in Denmark do not regulate or restrict conversion therapies.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Mudug
No surveys yet
Somalia
No surveys yet
Morocco
Lesotho
Denmark
Perceptions of local area as a "good place" for gay and lesbian people
Gallup, April 10th to December 13th
Not surveyedNot surveyedNot surveyed
38% Good place
82% Good place
Acceptance of homosexuals as neighborsNot surveyedNot surveyed
15% Tolerate
84% Oppose
30% Tolerate
69% Oppose
97% Did not mention homosexuals
2% Mentioned homosexuals
Percentage of the LBGTIQ population who have experienced a conversion practice (EU)
FRA - EU Agency for fundamental rights, June-Avgust 2023
Not surveyedNot surveyedNot surveyedNot surveyed
0%
22% Yes
Hide being LGBTIQ at work 'often’ or ‘always' (EU)
FRA - EU Agency for fundamental rights, June-August 2023
Not surveyedNot surveyedNot surveyedNot surveyed
0%
24% Hide
Justifiability of homosexuality
World Values Survey, 2017-2022
Not surveyedNot surveyed
6% Justifiable
68% Not justifiable
Not surveyed
83% Justifiable
6% Not justifiable
Opinion on same-sex couples as parents
World Values Survey, 2017-2020
Older data
Not surveyedNot surveyedNot surveyedNot surveyed
66% Agree
13% Disagree
Support for same-sex marriageNot surveyedNot surveyed
14% Yes
65% No
Older data
Not surveyed
90% Agree
7% Disagree
Older data
Support for transgender people changing legal gender (European Union)
Eurobarometer, May 2019
Older data
Not surveyedNot surveyedNot surveyedNot surveyed
75% Yes
18% No
Perceived prevalence of discrimination against transgender people (European Union)
Eurobarometer, May 2019
Older data
Not surveyedNot surveyedNot surveyedNot surveyed
47% Rare
39% Widespread
Perceived prevalence of discrimination against sexual orientation (European Union)
Eurobarometer, May 2019
Older data
Not surveyedNot surveyedNot surveyedNot surveyed
53% Rare
41% Widespread

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