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

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
54
PhilippinesRank 2 of 4
4959
10 ptsOpinion ahead of laws
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
Philippines54
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
Philippines
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
The only article that may apply to LGBT is Article 200 of the penal code which cites "serious sexual misconduct", but there were never any…
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…
Unregistered cohabitation
Since 2026
In January 10th, 2026, the Supreme Court of Philippines recognized the right of same sex couples to be considered as co-owners of property…
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.
No censorship
In the Philippines, there are very few instances of government censorship. One such incident from 2023 involved a drag performer, Amadeus…
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…
Illegal
Since 2007
Filipinos who undergo gender re-assignment surgery are not permitted to change their legal gender per a supreme court ruling in 2007…
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
Since 1992
No laws ban or restrict GAC but practical limitations such as a lack of available doctors and services prove to be real challenges for…
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
The Philippines does not recognize nor allow people to legally change "x" gender on their passports and other legal documents.
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…
Varies by Region
Since 2014
There are no nationwide protections from hate crimes provided to LGBTIQ+ people in the Philippines. However, since 2014, regions have been…
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.
Varies by Region
Since 2014
There are some local discrimination protections for LGBT people since 2014. Sexual Orientation, Gender Identity and Expression (SOGIE)…
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…
Varies by Region
Since 2014
The Magna Carta for Public Social Workers assures protection from discrimination, including sexual orientation and sex, but does not…
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.
Varies by Region
Since 2014
Currently in Philippines, your protections for housing discrimination vary broadly based on which jurisdiction you live in. 8 out of 22…
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
If you are part of the LGBTQ in the Philippines, you can only adopt if you are single.
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
Philippines does not ban medical interventions performed on intersex infants.
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.
Legal
Since 2017
In 2017, the Philippines began allowing transgender people to join the military.
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)
Men who have had sex with men are never allowed to donate blood. Blood Donations by MSMs pending.
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…
Partially restricted
There are no laws explicitly restricting transgender people from using the bathroom of their gender identity in the Philippines but in…
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.
Varies by Region
Since 2021
Currently in the Philippines there is one region that has put a ban on conversion therapy- Bataan.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Libya
Mudug
No surveys yet
Spain
Philippines
Support for LGBT people displaying affection in public
Ipsos, April 24—May 8, 2026
Not surveyedNot surveyed
64% Support
8% Oppose
Not surveyed
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
73% Agree
19% Disagree
Not surveyed
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
73% Agree
20% Disagree
Not surveyed
Ipsos
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
29% Support
42% Oppose
Not surveyed
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
49% Agree
38% Disagree
Not surveyed
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
54% Agree
31% Disagree
Not surveyed
Ipsos Pride Report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
56% Agree
27% Disagree
Not surveyed
Ipsos Pride Report 2025
Ipsps, April 25-May 9, 2025
Not surveyedNot surveyed
74% Agree
17% Disagree
Not surveyed
Ipsos Pride Report 2025
Ipsps, April 25-May 9, 2025
Not surveyedNot surveyed
81% Agree
12% Disagree
Not surveyed
Ipsos Pride report 2025
Ipsos, April 25-May 9, 2025
Not surveyedNot surveyed
48% Support
19% Oppose
Not surveyed

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