Compare LGBT Rights in Şirvan, Namibia, & Tanzania

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
42
NamibiaRank 1 of 3
5133
18 ptsLaws ahead of opinion
19
ŞirvanRank 2 of 3Laws only
34
–No public opinion data
15
TanzaniaRank 3 of 3
1614
2 ptsLaws ahead of opinion
0255075100

Compared with every country

  • In this comparison
  • Other countries
25
50
75
100
Namibia42
Şirvan19Municipality
Tanzania15
Highest197 countries, ranked by Equality IndexLowest

Law

Current legal status of LGBTQ+ rights in each region

  • Protected
  • Restricted
  • Not protected
Issue
Şirvan
Laws inherited from parent
Namibia
Tanzania
Homosexual activity Legal
Since 2000
In 2000 a new criminal code was introduced, repealing article 121 against homosexuality.
Legal
Since 2024
In 2024, a Namibian High Court ruled that certain Namibian laws that criminalized sodomy were unconstitutional. The laws had been in place…
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…
Same-sex marriage Banned
Since 1999
Article 2.3 of the Family Code of 1999 reads: "Marriage is a voluntary union of a man and a woman registered in the relevant executive…
Foreign same-sex marriages recognized only
Since 2023
In 2023, Namibia’s top court ruled that Namibia must recognize same-sex marriages performed in other countries. On December 30th, 2024, the…
Banned
Since 1971
Article 9(1) in The Law of Marriage Act defines marriage as a voluntary union of a man and a woman.
Censorship of LGBT issues State-enforced
Since 2026
In Azerbaijan, there are several reports of state-enforced crackdowns on LGBTQ+ people every year. Police have conducted raids targeting…
No censorship
Since 1990
In Namibia, there are no laws restricting the discussion or promotion of LGBTQ+ topics since the reforms of the apartheid and independence…
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…
Right to change legal gender Illegal
Since 1991
Azerbaijan currently provides no legal path for changing gender markers on official documents.
Legal, but requires surgery
Since 1974
Trans people can change their legal gender based on a clause from the Births, Marriages and Deaths Registration Act 81 of 1963 under an…
Illegal
No laws in place. Tanzania does not recognize transgender people.
Gender-affirming care Restricted
Government does provide a fundamental right to gender affirming care but transgender people have been known to be refused treatment. In…
Restricted
In Namibia, medical transition is legal but sex reassignment surgery is unavailable and hormones are only accessible privately.
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…
Legal recognition of non-binary gender Not legally recognized
A Third gender is not legally recognized in Azerbaijan.
Not legally recognized
There is no legal recognition of non-binary identities in Namibia.
Not legally recognized
As Tanzania does not recognize gender changes, non-binary self-identification is defacto not recognized.
Hate crime protections No protections
Azerbaijan does not provide hate crime protections based on sexual orientation or gender identity.
No protections
Namibia does not provide hate crime protections based on sexual orientation or gender identity.
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…
LGBT discrimination No protections
Since 2006
The Law on Gender Equality (Article 2.0.5) does define sexual harassment (seksual qısnama) in employment and service relationships as…
Illegal in some contexts
Since 2018
The Broadcasting Code for Broadcasting Licensees issued in 2018 bans hate speech and violence of any person or group of persons because of…
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…
LGBT employment discrimination No protections
Since 2006
Azerbaijan's Labor Code does not include employment protections based on sexual orientation or gender identity. There are no explicit…
No protections
Since 2007
There are no legal protections in employment. In 2021, a Namibian court has found that the constitution bans discrimination based on sexual…
No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Tanzania.
LGBT housing discrimination No protections
In Azerbaijan, neither sexual orientation nor gender identity is a protected class from housing discrimination.
No protections
There are no legal protections. In 2021, a Namibian court has found that the constitution bans discrimination based on sexual orientation…
No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Tanzania.
Same-sex adoption Single only
Since 1999
According to a study by the Council of Europe or the Office of the Commissioner for Human Rights, same-sex couples cannot adopt since…
Single only
In October 2021, the High Court Main Division ruled that the child of a same-sex couple born abroad through surrogacy had the right to…
Illegal
You have to be married to adopt, and same-sex marriage is illegal.
Intersex infant surgery Not banned
There is no official ban on unnecessary sex reassignment operations in infants in Azerbaijan.
Not banned
Surgery on intersex infants is legal in Namibia but not reported.
Not banned
Surgery on intersex infants is legal and widespread in Tanzania.
Serving openly in military Don't Ask, Don't Tell
In Azerbaijan, the military does not have a formal law banning LGBT people, but in practice, sexual orientation and gender identity are…
Legal
Since 2024
There are no laws prohibiting LGBTIQ+ people from serving in the military of Namibia.
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…
Blood donations by MSMs Legal
In Azerbaijan, MSM are allowed to donate blood as long as they’re healthy. There’s no rule that bans them. If someone doesn’t have HIV/AIDS…
Legal
Namibia has a six month deferral period of sexual activity for blood donations for everyone regardless of sexual orientation.
Banned (indefinite deferral)
The Blood Donor Assessment and Selection Guideline issued by the Ministry of Health and the National Blood Transfusion Service (NBTS) of…
Bathroom access No explicit protections
In Azerbaijan, there is no explict protections for trans people but no explict ban or restrictions on trans people either.
No explicit protections
In Namibia, there are no explict protections for trans people or explict restrictions to their acess to the bathrooms.
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…
Conversion therapy Not banned
Conversion therapy is not banned and the practice is reportedly commonly practiced.
Not banned
Conversion therapy is not banned in Namibia and there have been several instances of “corrective” rape.
Not banned
Conversion therapy is not banned in Tanzania.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Şirvan
No surveys yet
Namibia
Tanzania
Perception of local area as a good place for gay peopleNot surveyed
19% Good place
19% Good Place
Acceptance of homosexuals as neighbors
Afrobarometer, 2021-2023
Not surveyed
49% Tolerate
49% Oppose
8% Tolerate
92% Oppose
Views on homosexuality
Pew Research Center, April 6th to May 29th 2007
Older data
Not surveyedNot surveyed
3% Accept homosexuality
95% Reject homosexuality

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