Compare LGBT Rights in Libya & Afghanistan

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
13
LibyaRank 1 of 2
819
11 ptsOpinion ahead of laws
1
AfghanistanRank 2 of 2
02
2 ptsOpinion ahead of laws
0255075100

Compared with every country

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

Law

Current legal status of LGBTQ+ rights in each country

  • Protected
  • Restricted
  • Not protected
Issue
Libya
Afghanistan
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 2021
In 2021, the Taliban regained control of Afghanistan. Since then, they have frequently enforced Sharia law against individuals convicted of…
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.
Banned
Since 1949
In 1949, the 1949 Marriage Law came into effect, becoming the first marriage law in Afghanistan to define marriage as between a man and a…
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 2021
The Taliban censors all forms of LGBTQ advocacy in the country.
Right to change legal gender Illegal
Transgender individuals are not able to change their legal gender.
Illegal
Transgender individuals are unable to change their legal gender.
Gender-affirming care Restricted
Gender-affirming care is inaccessible in Libya. However, there is no explicit ban on it.
Banned
Since 2022
In 2022, the Taliban banned sex reassignment surgery, citing Islamic principles as the reason for the prohibition.
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
There is no legal gender recognition provided in Afghanistan, including for intersex and nonbinary people.
Hate crime protections No protections
Libya does not provide hate crime protections based on sexual orientation or gender identity.
No protections
Afghanistan 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.
No protections
In Afghanistan, neither sexual orientation nor gender identity is a protected class from discrimination.
LGBT employment discrimination No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Libya.
No protections
In Afghanistan, neither sexual orientation nor gender identity is a protected class from employment discrimination.
LGBT housing discrimination No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Libya.
No protections
In Afghanistan, neither sexual orientation nor gender identity is a protected class from housing discrimination.
Same-sex adoption N/A
In Libya, adoption, as understood in many Western contexts, is prohibited for everyone.
N/A
Adoption is prohibited for everyone in Afghanistan.
Intersex infant surgery Not banned
There is no ban on surgeries performed on intersex infants in Libya.
Not banned
Afghanistan does not prohibit "normalization" surgeries 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…
Illegal
Homosexuality is illegal under Sharia law and therefore serving openly in the military is prohibited.
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…
Banned (indefinite deferral)
Men who have sex with men are never allowed to donate blood as the health ministry clarifies this as "high-risk" for infections like HIV…
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…
Restricted (enforced with penalties or fines)
In Afghanistan, anyone attempting to access a facility that does not match their assigned sex at birth faces immediate, violent enforcement.
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
Afghanistan does not ban conversion therapies that aim to change a person’s sexual orientation or gender identity.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Libya
Afghanistan
Justifiability of homosexuality
World Values Survey, 2017-2022
1% Justifiable
92% Not justifiable
Not surveyed
Acceptance of homosexuals as neighbors
World Values Survey, 2017-2022
37% Did not mention homosexuals
63% Mentioned homosexuals
Not surveyed
Perceptions of local area as a "good place" for gay and lesbian people
Gallup, 2013
Older data
Not surveyed
2% Good place
89% Not a good place

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