Photo: Tanzania - Colin Mutchler
Tanzania anti-LGBT legislation is among the harshest in the world. Under Section 154 of the Penal Code (Cap 16 of the Laws of Tanzania), "carnal knowledge against the order of nature" carries a maximum penalty of life imprisonment. Section 157 criminalises "gross indecency between males" with penalties up to five years. Zanzibar operates its own Penal Decree with parallel provisions, adding a further layer of criminalisation on the semi-autonomous islands. The result, in May 2026, is that being visibly gay, lesbian, bisexual, or transgender in Tanzania is not merely socially dangerous — it is a life-sentence offence routinely enforced through raids, forced medical examinations, blackmail, and mob violence tolerated or actively encouraged by the state.[1]
This article walks practitioners through the Tanzanian anti-LGBT framework, sets out the specific enforcement patterns that drive asylum flows, and identifies the Refugee Convention grounds most productive for Tanzanian LGBTI+ claimants in the United Kingdom, the United States, Canada, and the European Union.
Maximum sentence under Penal Code Section 154
Magufuli-era anti-LGBT crackdown baseline
Separate Penal Decree adds compound criminalisation
Anal exams used as evidence in prosecutions
The legal framework
Tanzania's anti-LGBT statutes are colonial-era instruments inherited from British Indian Penal Code drafting and preserved without significant amendment through independence and multi-party transition. Section 154 of the Penal Code punishes "any person who has carnal knowledge of any person against the order of nature" with imprisonment for life, or a term of not less than thirty years where the offence is committed against a child. Section 155 penalises attempts. Section 156 covers assault with intent to commit "unnatural offences." Section 157 penalises "gross indecency between males" with up to five years' imprisonment.[2]
Zanzibar operates a parallel legal system. The Zanzibar Penal Act 2004 introduced specific same-sex offences with penalties of up to 25 years' imprisonment for men and up to seven years for women. The Zanzibar Act's provisions on same-sex activity are among the few in the world explicitly criminalising lesbian conduct — a criminalisation that most Commonwealth-inherited penal codes do not include. Consequently, the risk profile for LGBTI+ women in Zanzibar is legally more severe than in mainland Tanzania.
These statutes were largely dormant in the 1990s and early 2000s. Enforcement escalated under President John Pombe Magufuli (2015–2021). In November 2018, the Regional Commissioner for Dar es Salaam, Paul Makonda, announced the formation of a "surveillance squad" to hunt down gay men through social media monitoring. Although Makonda's initiative was subsequently disowned by the central government under international pressure, the underlying enforcement infrastructure remained intact and has continued under President Samia Suluhu Hassan.
Enforcement patterns
Enforcement of Tanzania's anti-LGBT laws does not primarily take the form of formal prosecutions leading to life sentences — though such prosecutions do occur. It takes the form of raids, arrests, forced medical examinations, blackmail, and social violence. Between 2016 and 2025 Human Rights Watch documented over 100 arrests specifically targeting LGBTI+ persons, with the majority occurring in Dar es Salaam, Zanzibar Town, and Mwanza. Most were released without formal charge after periods of pre-trial detention ranging from days to months.[3]
The forced anal examinations are among the most disturbing features of Tanzanian enforcement. Police in Dar es Salaam and Zanzibar routinely subject men arrested under Section 154 to physical examination by police-affiliated doctors seeking to produce "evidence" of anal penetration. The World Medical Association, the UN Committee Against Torture, and the World Health Organization have all condemned forced anal examinations as constituting torture. Tanzania is a state party to the Convention Against Torture, which does not deter continued practice.
Forced anal examinations are medically worthless. They produce nothing that could reliably identify a person's sexual orientation or activity. What they produce is trauma — deliberately, and with the intent to punish the accused before any trial reaches conclusion.
Independent Forensic Expert Group, "Statement on Anal Examinations in Cases of Alleged Homosexuality" (2016)
Social context and family violence
Formal prosecution is one risk. Social violence is a larger one. Tanzanian LGBTI+ persons face persecution from family members, employers, landlords, religious communities, and neighbours. The Pew Research Center's 2020 survey of Tanzanian attitudes found that 95% of respondents believed homosexuality "should not be accepted by society" — a figure that has hardened since 2015. Public discourse from senior clergy, politicians, and traditional leaders has consistently framed LGBTI+ identity as foreign, immoral, and criminal.[4]
The consequences appear across the applicant profile. Family expulsion is nearly universal among applicants who came out to relatives. Employment loss follows disclosure or exposure. Landlords evict tenants suspected of same-sex relationships. Religious congregations — Christian and Muslim alike — participate in public shaming and, in some cases, physical attacks. Mob violence targeting suspected LGBTI+ individuals has been documented repeatedly across Dar es Salaam colonias, particularly Kariakoo, Ilala, and Kinondoni.
Specific vulnerabilities
Within the Tanzanian LGBTI+ population, several categories face particularly acute risk. Practitioners should attend to each because the corroborative evidence differs.
| Sub-profile | Specific risk pattern | Documentation available |
|---|---|---|
| Transgender women | Physical visibility drives street violence; sex work coercion | Cattrachas-adjacent Tanzanian LGBTI+ NGOs (documented via HRW) |
| MSM (men who have sex with men) HIV+ persons | Denial of ART access; targeting through NACP records | UNAIDS reports; MSM peer networks |
| Lesbian women | "Corrective rape"; forced marriage; family enforcement | Amnesty International; Equality Now |
| LGBTI+ activists and NGO workers | Registration refusal; deregistration; targeted arrests | NGO Act enforcement records |
| Zanzibari LGBTI+ persons | Compound risk under Zanzibar Penal Act | Zanzibar Legal Services Centre |
The vulnerability of MSM living with HIV deserves specific attention. Tanzania's National AIDS Control Programme (NACP) has, since 2016, restricted specific HIV outreach services to MSM populations on the basis that homosexuality is illegal. Antiretroviral therapy (ART) access remains technically universal, but MSM patients disclosing sexual orientation to receive appropriate counselling have reported subsequent police visits. The compound risk — legal criminalisation, health-system barriers, family rejection — makes MSM HIV+ applicants among the most compelling Tanzanian LGBTI+ asylum profiles.
The HJ (Iran) framework
The leading UK authority on LGBTI+ asylum is HJ (Iran) and HT (Cameroon) v Secretary of State for the Home Department [2010] UKSC 31. The Supreme Court held that an applicant cannot be expected to conceal their sexual orientation to avoid persecution. Where the applicant, on return, would face persecution if living openly, the claim succeeds — even if the applicant would in fact conceal their orientation on return, provided the reason for concealment is fear of persecution.[5]
The HJ (Iran) framework applies directly to Tanzanian LGBTI+ cases. Country evidence overwhelmingly supports the proposition that open LGBTI+ identity in Tanzania produces persecution. Concealment, where practised, is precisely a response to that persecution. Consequently, Tanzanian LGBTI+ applicants who satisfy the credibility threshold on their orientation should also satisfy the persecution threshold under HJ (Iran) framework.
In US practice the leading authorities are Matter of Toboso-Alfonso, 20 I&N Dec. 819 (BIA 1990) and subsequent circuit court development. Sexual orientation constitutes a particular social group. Grant rates for LGBTI+ asylum cases from Tanzania in US immigration courts have run well above general grant rates for African cases, reflecting the strength of the country-conditions record.
Canadian practice under IRB Chairperson's Guideline 9 (Sexual Orientation and Gender Identity and Expression, updated 2023) provides substantial procedural protection. Canadian grant rates for Tanzanian LGBTI+ claims exceeded 70% in IRB Refugee Protection Division decisions in 2023.
Credibility and the "how do we know you're gay" problem
The most difficult evidentiary problem in Tanzanian LGBTI+ cases — as in LGBTI+ cases generally — is credibility assessment on orientation. Applicants who spent years concealing their identity in Tanzania rarely have documentation of same-sex relationships. They may not have engaged in LGBTI+ community life. They may present without external markers of orientation. Adjudicators who apply stereotyped expectations of "how a gay person behaves" produce systematically wrong decisions.[6]
Warning: The Court of Justice of the European Union's decision in A, B and C v Staatssecretaris (Joined Cases C-148/13, C-149/13, C-150/13) [2014] prohibited detailed questioning about sexual practices in EU asylum interviews. UK practice under Home Office API asylum interviewing guidance (2016) applies substantially similar standards. Practitioners should be alert to any interview transcripts showing intrusive questioning and raise the point on appeal.
Practical evidence for Tanzanian LGBTI+ credibility assessment includes: internal WhatsApp or Telegram communications with same-sex partners, photographs where available, corroborating statements from Tanzanian LGBTI+ community members (including Tanzanians in the diaspora), evidence of participation in LGBTI+ organisations abroad (Pride events, community groups, therapy or counselling with LGBTI+ specialists), and psychological reports where trauma from concealment is documented. Freedom from Torture and the Helen Bamber Foundation in the UK, and comparable providers in the US, Canada, and continental Europe, prepare medico-legal reports specifically framed for LGBTI+ credibility.
Displacement patterns
South Africa is the largest single receiving country for Tanzanian LGBTI+ applicants, reflecting geographic proximity, the South African constitutional protection of LGBTI+ rights under Section 9 of the 1996 Constitution, and the historical presence of Tanzanian communities. Kenya is a transit destination rather than a settlement destination — Kenya criminalises same-sex conduct under Sections 162, 163, and 165 of the Kenyan Penal Code, so applicants who claim asylum in Kenya face ongoing risk even after formal recognition.
Strategic case preparation
Practitioners preparing Tanzanian LGBTI+ cases should build around six evidentiary pillars. First, the applicant's own account developed through trauma-informed interviewing with attention to the applicant's own developmental trajectory. Second, documentary evidence of Tanzanian country conditions — HRW World Report chapters, Amnesty International reports, ILGA World country pages, US State Department Country Reports, UK Home Office CPINs. Third, expert country reports where the individual profile requires bespoke analysis. Fourth, medico-legal reports where trauma is at issue. Fifth, corroborating evidence from LGBTI+ community members. Sixth, evidence of the applicant's identity where possible — including participation in LGBTI+ organisations in the country of refuge.
Rainbow Migration in the UK, Immigration Equality in the US, Rainbow Refugees Canada, and the LGBTI+ Refugee Committee in Germany all provide specialised support for LGBTI+ asylum applicants and can supplement primary counsel with country-specific expertise.
Conclusion
Tanzania's anti-LGBT framework in May 2026 combines colonial-era criminal statutes (Penal Code Sections 154–157, maximum life imprisonment), the compound Zanzibar Penal Act 2004 provisions criminalising both male and female same-sex conduct, forced anal examinations condemned by every international medical body but still routinely practised, social violence tolerated by the state, and family and community rejection that is nearly universal on disclosure. The result is a country-conditions profile where being visibly LGBTI+ is legally impossible and socially unsurvivable — the archetypal HJ (Iran) [2010] UKSC 31 case. Refugee Convention grounds are available across particular social group (sexual orientation, gender identity), political opinion (imputed, for LGBTI+ activists), and — for LGBTI+ persons living with HIV — potentially compound protection under specific circuit-court analysis. Article 3 ECHR non-refoulement applies where physical harm is a real risk on return. Practitioners handling Tanzanian LGBTI+ cases should attend to credibility assessment carefully, commission Istanbul Protocol reports where trauma is present, secure country expert analysis where individual circumstances require bespoke framing, and be alert to intrusive interviewing that violates CJEU A, B and C standards. Cases that meet these standards win at high rates and, increasingly, serve as leading authorities for future Tanzanian LGBTI+ claims in receiving-country tribunals.
For related coverage on political persecution in Tanzania, see our article on Tanzania critics silenced. Cross-country family-based persecution analysis is in our family analysis article. Expert-witness methodology guidance appears in our expert witness methodology piece. East African country experts, including LGBTI+ specialists, are listed at Find an Expert Witness.
Footnotes
- Human Rights Watch, '"If We Don't Get Services, We Will Die": Tanzania's Anti-LGBT Crackdown' (2020, updated 2025); ILGA World, 'State-Sponsored Homophobia Report 2024'.
- Penal Code (Cap 16 of the Laws of Tanzania), Sections 154–157; Zanzibar Penal Act No 6 of 2004.
- Human Rights Watch, 'World Report 2026: Tanzania' (January 2026).
- Pew Research Center, 'The Global Divide on Homosexuality Persists' (2020, updated 2023).
- HJ (Iran) and HT (Cameroon) v SSHD [2010] UKSC 31.
- Joined Cases C-148/13, C-149/13, C-150/13 A, B and C v Staatssecretaris van Veiligheid en Justitie [2014] ECR I-nyr.
Sources
- ILGA World, State-Sponsored Homophobia Report
- Human Rights Watch, Tanzania: Treat Us Like Human Beings
- Amnesty International, Tanzania
- Rainbow Migration UK, rainbowmigration.org.uk
- Immigration Equality, immigrationequality.org
Need an expert witness report for your case?
Our country experts provide independent reports for asylum and immigration cases in the UK, US, Canada, and EU.
Order an expert witness report |
Find a country expert witness |
About our expert team