Compare LGBT Rights in Tanzania, Libya, & Tonga

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

Compared with every country

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

Law

Current legal status of LGBTQ+ rights in each country

  • Protected
  • Restricted
  • Not protected
Issue
Tanzania
Libya
Tonga
Homosexual activity Illegal (up to life in prison as punishment)
Since 1998
Section 16 of the Sexual Offences Special Provisions Act (1998) amended Section 154 of the Code to aggravate the penalty for "carnal…
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…
Same-sex marriage Banned
Since 1971
Article 9(1) in The Law of Marriage Act defines marriage as a voluntary union of a man and a woman.
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.
Censorship of LGBT issues State-enforced
Since 1981
Tanzania has a history of enforcing strict laws against the LGBT community. Same-sex sexual activity is illegal and can be punished by…
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…
Right to change legal gender Illegal
No laws in place. Tanzania does not recognize transgender people.
Illegal
Transgender individuals are not able to change their legal gender.
Illegal
No laws to change legal gender.
Gender-affirming care Restricted
Gender-affirming healthcare is not often provided to trans women but is to trans men in Tanzania. However, even for trans men, it’s very…
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.
Legal recognition of non-binary gender Not legally recognized
As Tanzania does not recognize gender changes, non-binary self-identification is defacto not recognized.
Not legally recognized
There is no legal gender recognition provided to nonbinary or intersex people in Libya.
Not legally recognized
No legal recognition.
Hate crime protections Sexual orientation only
Since 2023
The Tanzania Sentencing Guidelines (2023) determine that the death based on the sexual orientation of the victim is considered as a "High…
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.
LGBT discrimination Illegal in some contexts
Since 2018
There is limited protection against hate speech based on sexual preference. Section 11(2)(d) of The Electronic and Postal Communications…
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…
LGBT employment discrimination No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Tanzania.
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.
LGBT housing discrimination No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Tanzania.
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.
Same-sex adoption Illegal
You have to be married to adopt, and same-sex marriage is illegal.
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…
Intersex infant surgery Not banned
Surgery on intersex infants is legal and widespread in Tanzania.
Not banned
There is no ban on surgeries performed on intersex infants in Libya.
Not banned
Surgery on intersex infants is legal in Tonga.
Serving openly in military Don't Ask, Don't Tell
Although LGBTIQ+ people are not explicitly banned from serving in the military of Tanzania, homosexuality is illegal and the National…
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…
Blood donations by MSMs Banned (indefinite deferral)
The Blood Donor Assessment and Selection Guideline issued by the Ministry of Health and the National Blood Transfusion Service (NBTS) of…
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.
Bathroom access No explicit protections
There's no explicit law in Tanzania that explicitly mentions trans individuals from bathroom access based on gender identity, but there's…
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…
Conversion therapy Not banned
Conversion therapy is not banned in Tanzania.
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.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Tanzania
Libya
Tonga
No surveys yet
Acceptance of homosexuals as neighbors
8% Tolerate
92% Oppose
37% Did not mention homosexuals
63% Mentioned homosexuals
Not surveyed
Perceptions of local area as a "good place" for gay and lesbian people
Gallup, June 21, 2023
19% Good Place
Not surveyedNot surveyed
Acceptance of homosexuality
3% Accept homosexuality
95% Reject homosexuality
Older data
1% Justifiable
92% Not justifiable
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