Compare LGBT Rights in Libya, Tonga, & Iran

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
14
TongaRank 1 of 3Laws only
14
–No public opinion data
13
LibyaRank 2 of 3
819
11 ptsOpinion ahead of laws
6
IranRank 3 of 3
93
6 ptsLaws ahead of opinion
0255075100

Compared with every country

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

Law

Current legal status of LGBTQ+ rights in each country

  • Protected
  • Restricted
  • Not protected
Issue
Libya
Tonga
Iran
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…
Male illegal, female legal
Since 1988
According to sections 136–142 of the Criminal Offences Act, the maximum penalty for male same-sex sexual activity in Tonga is 10 years in…
Illegal (death penalty as punishment)
Since 1979
The punishment for homosexuality is currently death for men. (Unless if there is sex between a mature person and a minor; in which can the…
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 1998
Since homosexual activity is illegal in Tonga, same-sex marriage is not legal.
Banned
Iran does not provide same-sex couples with any form of legal recognition, and marriage is defined as between a man and a woman.
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 1978
In 1978, Tonga amended its criminal code to criminalising “a male person impersonating a female person whilst soliciting an immoral…
Death penalty as punishment
Since 1987
The 1986 Press Law contains Article 6 which prohibits content that undermines Islam, including the spread of "fornication and forbidden…
Right to change legal gender Illegal
Transgender individuals are not able to change their legal gender.
Illegal
No laws to change legal gender.
Legal, but requires surgery
Since 1987
Became legal due to a fatwa from Khomeini in 1987. Trans individuals have the gender they identify with legally recognized and sex…
Gender-affirming care Restricted
Gender-affirming care is inaccessible in Libya. However, there is no explicit ban on it.
Restricted
Hormone replacement therapy is not provided in Tonga for the purpose of gender transition, although it is not banned either.
Restricted
Since 1987
The process of undergoing sex reassignment surgery is extensive and arduous, and is restricted to those over the age of 18. There further…
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
No legal recognition.
Not legally recognized
Iran does not legally recognize a third gender.
Hate crime protections No protections
Libya does not provide hate crime protections based on sexual orientation or gender identity.
No protections
Tonga does not provide hate crime protections based on sexual orientation or gender identity.
No protections
Iran 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.
Illegal in some contexts
Since 2010
Some protection for sexual orientation under The Judicial Code of Conduct 2010. The Privacy Act 2025 protects sexual orientation as…
No protections
In Iran, 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
According to the ILGA World, there are no protections in employment.
No protections
In Iran, 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
According to the IILGA World, there is no protections for LGBTIQA+ from housing discrimination in Tonga.
No protections
In Iran, 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.
Illegal
Since 2013
Missing laws for same-sex couples. In 2013, the Supreme Court refused to grant custody of a child to a gay man. The Supreme Court stated…
Illegal
Iran requires adoptive parents to be married for 5 years. Since same-sex marriage is not legal in Iran, gay people are unable to adopt…
Intersex infant surgery Not banned
There is no ban on surgeries performed on intersex infants in Libya.
Not banned
Surgery on intersex infants is legal in Tonga.
Not banned
There is no ban on surgeries performed on intersex infants in Iran.
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…
Don't Ask, Don't Tell
There is no explicit prohibition of LGBTQ+ people serving in the military in Tonga, however, due to the stigma and active criminalization…
Illegal
Iran classifies gay men and transgender women as having mental disorders. On those grounds, they are exempt from the otherwise mandatory…
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…
Legal
While homosexuality is illegal in Tonga, there is no explicit ban regarding MSMs donating blood.
Legal
The Iranian Blood Transfusion Organization does not require applicants to be heterosexual in order to donate, nor does it ban MSM.
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
In Tonga, there are no protections for trans people acess to the bathroom as in fact Section 81 of Tonga’s Criminal Offences Act explicitly…
Partially restricted
There are no legal provisions protecting citizens against discrimination based on gender identity or expression in public facilities…
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
According to the ILGA World, there's no ban on conversion therapy in Tonga.
Not banned
Iran does not have a ban on conversion therapy that seeks to change an individual’s sexual orientation or gender identity, and reportedly…

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Libya
Tonga
No surveys yet
Iran
Justifiability of homosexuality
World Values Survey, 2017-2022
1% Justifiable
92% Not justifiable
Not surveyed
3% Justifiable
90% Not justifiable
Acceptance of homosexuals as neighbors
37% Did not mention homosexuals
63% Mentioned homosexuals
Not surveyed
8% Did not mention homosexuals
92% Mentioned homosexuals
Older data

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