Compare LGBT Rights in Libya, Mudug, Spain, & Turkey

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
83
SpainRank 1 of 4
10066
34 ptsLaws ahead of opinion
33
TurkeyRank 2 of 4
3433
1 ptLaws ahead of opinion
13
LibyaRank 3 of 4
819
11 ptsOpinion ahead of laws
8
MudugRank 4 of 4Laws only
8
–No public opinion data
0255075100

Compared with every country

  • In this comparison
  • Other countries
25
50
75
100
Spain83
Turkey33
Libya13
Mudug8Region
Highest197 countries, ranked by Equality IndexLowest

Law

Current legal status of LGBTQ+ rights in each region

  • Protected
  • Restricted
  • Not protected
Issue
Libya
Mudug
Spain
Turkey
Homosexual activity Illegal (imprisonment as punishment)
Since 1953
Articles 407 and 408 of the Penal Code of 1953 criminalize homosexuality. Article 407 criminalizes “illicit sexual intercourse” with up to…
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…
Legal
Since 1979
In 1979 Adolfo Suárez Government reversed the previous prohibitions on same sex activity. The 1970 Law on Danger and Social Rehabilitation…
Legal
Since 1858
The Ottoman Empire, the predecessor of Turkey, decriminalized sodomy in 1858.
Same-sex marriage Banned
In Libya, marriage is defined as between a man and a woman, and same-sex couples are granted no legal recognition.
UnknownLegal
Since 2005
In July of 2005, Spain became the third country in the world to legalize gay marriage, following the Netherlands and Belgium. The law…
Banned
Turkey does not legally recognize same-sex marriages, civil unions or domestic partnership benefits.
Censorship of LGBT issues Imprisonment as punishment
Since 1953
Article 421 of Libya's Penal Code prohibits "indecent acts and articles" with imprisonment of up to one year or a fine of up to 50 pounds…
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…
No censorship
Since 1979
In Spain, there are no laws restricting to discussion or promotion of LGBTQ+ topics.
State-enforced
Since 2015
Since 2015, pride parades and related public events are blocked in Turkey, with law enforcement intervening. On June 28th, 2015, the…
Right to change legal gender Illegal
Transgender individuals are not able to change their legal gender.
UnknownLegal, no restrictions
Since 2022
On December 22, 2022, the Spanish Congress approves a "Trans Law" If the law is approved, this point marks that reports or evidence will no…
Legal, but requires surgery
Since 1988
Officially legalised in 1988. In Turkey, surgery is required to receive legal gender recognition; the minimum age required to get sex…
Gender-affirming care Restricted
Gender-affirming care is inaccessible in Libya. However, there is no explicit ban on it.
Restricted
Under national Somalia law
There is no access to gender-affirming care in Somalia but no formal ban either.
Varies by Region
Healthcare in Spain is a devolved power between different regions. For most of the nation, transgender healthcare is legal and accessible…
Legal, but banned for minors
Since 2025
In June of 2025, the Turkish government banned hormone therapy for under-25-year-olds. The government cited its campaign to make 2025 the…
Legal recognition of non-binary gender Not legally recognized
There is no legal gender recognition provided to nonbinary or intersex people in Libya.
Not legally recognized
Under national Somalia law
There is no legal gender recognition provided to intersex or nonbinary people in Somalia.
Varies by Region
Since 2017
Spain does not provide recognition for non-binary, and intersex people on a national level. However, three provinces have introduced such…
Not legally recognized
Not currently recognized in Turkey.
Hate crime protections No protections
Libya does not provide hate crime protections based on sexual orientation or gender identity.
UnknownSexual orientation and gender identity
Since 2022
Article 22 [Aggravating circumstances] The following are aggravating circumstances: (…) (4) Committing the offense for racist…
No protections
Turkey does not provide hate crime protections based on sexual orientation or gender identity.
LGBT discrimination No protections
There are no protections from discrimination provided to LGBTIQ+ people in Libya.
UnknownIllegal
Since 2022
The new Zerolo law, passed on June 30th, prohibits discrimination federally on the basis of sexual orientation or gender identity.
No protections
Since 2016
Banned as Hate Speech law but mostly not enforced. In 15 November 2022 Bullying children in schools is prohibited. Although the law does…
LGBT employment discrimination No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Libya.
UnknownSexual orientation and gender identity
Since 2022
Spanish law prohibits discrimination on the basis of sexual orientation, gender identity, HIV status, and "any other personal or social…
No protections
Since 2018
As a matter of fact , in the decision of the 22nd Civil Chamber of the Court of Cassation dated 24.09.2018 and numbered 2015/35120 Main…
LGBT housing discrimination No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Libya.
UnknownSexual orientation and gender identity
Since 2022
Spain's Zerolo law protects LGBT people from housing discrimination. Law 4/2023 (Trans law) also does.
No protections
In Turkey, there are currently no laws in place to prevent discrimination against LGBT individuals in the areas of work, education…
Same-sex adoption N/A
In Libya, adoption, as understood in many Western contexts, is prohibited for everyone.
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…
Legal
Since 2005
Included in equal marriage legislation
Single only
Since 2002
In Turkey, same-sex couples may not adopt, however, there are no prohibitions on LGBT individuals adopting on their own (assuming they are…
Intersex infant surgery Not banned
There is no ban on surgeries performed on intersex infants in Libya.
UnknownFull ban
Since 2023
With the approval of the Trans Law on February 16, 2023, it was established that intersex minors should not receive unnecessary medical…
Not banned
There is no official ban on unnecessary surgeries on intersex infants in Turkey.
Serving openly in military Don't Ask, Don't Tell
Libya does not explicitly ban LGBTQ+ individuals from serving in the military. However, homosexuality is criminalized, so serving openly is…
UnknownLegal
Since 1977
As of 2009, the courts also ruled that transgender individuals are also permitted to serve in the military.
Illegal
Military personnel found to be homosexual are dismissed under laws that classify homosexuality as a "psychosexual disorder/illness". Until…
Blood donations by MSMs Legal with restrictions
On Libya’s blood donation page, it states that donations from men who have sex with men are restricted due to the risk of HIV. However, on…
UnknownLegal
Since 2005
In Spain, a six-month deferral period for everyone, irrespective of sexual orientation, who engages in sexual intercourse with a new…
Banned (indefinite deferral)
Homosexual men in Turkey cannot donate blood. The Turkish Red Crescent considers homosexuality to be a risk factor for HIV/AIDS.
Bathroom access Restricted (enforced with penalties or fines)
In Libya, the law contains zero explicit mentions of transgender people or public restrooms, Instead, transgender people are targeted…
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…
Protected
Since 2023
Spain explicitly protects restroom access based on gender identity under Law 4/2023 (Ley Trans). The law guarantees full access to public…
No explicit protections
Turkish law does not have specific regulations or statutes that explicitly grant transgender people the right to access public restrooms or…
Conversion therapy Not banned
Libya does not have a ban on conversion therapy that seeks to change an individual’s sexual orientation or gender identity
Not banned
Under national Somalia law
Conversion therapy is legal and widespread in Somalia
Banned
Since 2023
Spanish law prohibits conversion therapy intended to change sexual orientation, gender identity or expression.
Not banned
There are no laws or regulations banning conversion therapies in Turkey.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Libya
Mudug
No surveys yet
Spain
Turkey
Support for LGBT people displaying affection in public
Ipsos, April 24—May 8, 2026
Not surveyedNot surveyed
64% Support
8% Oppose
13% Support
57% Oppose
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
73% Agree
19% Disagree
25% Agree
60% Disagree
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
73% Agree
20% Disagree
25% Agree
62% Disagree
Ipsos
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
29% Support
42% Oppose
16% Support
49% Oppose
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
49% Agree
38% Disagree
42% Agree
39% Disagree
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
54% Agree
31% Disagree
39% Agree
44% Disagree
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
56% Agree
27% Disagree
39% Agree
43% Disagree
Ipsos Pride Report 2025
Ipsps, April 25-May 9, 2025
Not surveyedNot surveyed
74% Agree
17% Disagree
51% Agree
34% Disagree
Ipsos Pride Report 2025
Ipsps, April 25-May 9, 2025
Not surveyedNot surveyed
81% Agree
12% Disagree
52% Agree
34% Disagree
Ipsos Pride report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
48% Support
19% Oppose
19% Support
47% 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