Is Tanzania safe for gay travelers?

Marc Dedonder
Is Tanzania safe for gay travelers? No - Tanzania is one of the most legally hostile environments for LGBTQ+ people in sub-Saharan Africa, and this assessment applies equally to both mainland Tanzania and Zanzibar. Tanzania's mainland Penal Code criminalizes same-sex acts with penalties of up to 30 years imprisonment - among the highest in Africa. Zanzibar, as a semi-autonomous region, has its own Penal Act with additional provisions including corporal punishment. The political environment reached an extreme low under President Magufuli (2015-2021), during which anti-LGBTQ+ raids, arrests, and state-sanctioned public hostility were documented extensively by Human Rights Watch and Amnesty International. The environment has modestly improved since 2021 but remains deeply and actively hostile. For LGBTQ+ travelers visiting Tanzania's extraordinary natural destinations - Zanzibar's beaches, the Serengeti, Kilimanjaro - the most complete possible awareness of the legal and personal risks is essential. Tanzania LGBTQ+ safety is among the most seriously negative assessments I produce. For maximum comfort and peace of mind, booking LGBTQ+-verified accommodation through misterb&b is always recommended. 🏳️🌈
LGBTQ+ rights in Tanzania - the dual legal framework
Tanzania operates two separate criminal frameworks for LGBTQ+ people - mainland law and Zanzibar's semi-autonomous law - both actively hostile.
| Law / Issue | Jurisdiction | Penalty and Status |
|---|---|---|
| Penal Code Section 154 | Mainland Tanzania | Criminalizes "carnal knowledge against the order of nature" - up to 30 years imprisonment. Actively enforced. |
| Penal Code Section 157 | Mainland Tanzania | Criminalizes "acts of gross indecency" between males - up to 5 years imprisonment. Regularly used alongside Section 154. |
| Zanzibar Penal Act | Zanzibar (semi-autonomous) | Zanzibar's own legislation with provisions including corporal punishment (up to 25 lashes), imprisonment (up to 5 years), and additional provisions potentially carrying longer sentences for repeat or aggravated cases. |
| Same-sex marriage or recognition | Both jurisdictions | Not available. Constitutionally and legally impossible in both mainland and Zanzibar. |
| Anti-discrimination protections | Both jurisdictions | None. No law protects LGBTQ+ people from discrimination of any kind. |
| Magufuli-era enforcement (2015-2021) | Mainland Tanzania | Extreme intensification: mass raids on LGBTQ+ organizations and meeting places, forced HIV testing, government-sanctioned public statements encouraging violence. Documented extensively by HRW and Amnesty. |
| Post-2021 environment | Both jurisdictions | Modest reduction in the most extreme Magufuli-era tactics, but the legal framework is unchanged and enforcement continues. The environment remains severely hostile. |
| LGBTQ+ organizations | Both jurisdictions | Cannot operate legally or openly. Advocates face arrest. Community organizing happens clandestinely with serious personal risk to participants. |
The Magufuli years (2015-2021) represent an extreme documented case of state-directed anti-LGBTQ+ persecution: in 2017, the Dar es Salaam Regional Commissioner publicly announced a crackdown on LGBTQ+ people and stated that police would conduct raids. Tanzania's registration of LGBTQ+ health organizations was cancelled. Forced anal examinations were documented. These practices drew condemnation from the United Nations and international human rights organizations. Source: Human Rights Watch Tanzania 2025; Amnesty International; UNAIDS.
Safety by destination in Tanzania
Zanzibar
Zanzibar's international beach tourism economy - particularly the resort areas of Nungwi, Kendwa, and Paje - creates a social atmosphere somewhat more relaxed than mainland Tanzania. This is an informal social buffer created by the presence of international tourists and international resort staff - it is not a legal protection. Zanzibar has its own Penal Act with corporal punishment provisions. Exercise absolute discretion throughout Zanzibar. Zero public displays of affection. Do not use dating apps.
Mainland Tanzania - Dar es Salaam, Arusha, safari areas
Mainland Tanzania - including Dar es Salaam, Arusha, and all safari areas - carries the full weight of the Penal Code provisions. Arusha's safari industry creates some international presence but no social buffer comparable to Zanzibar's beach tourism. Safari lodges are semi-controlled environments where organized groups navigate with minimal public interaction. Apply maximum discretion throughout all mainland Tanzania destinations.
Practical safety rules for LGBTQ+ travelers in Tanzania
✓ Booking verified accommodation through misterb&b provides individual host verification - the only meaningful LGBTQ+-specific protective step available
✗ Same-sex acts criminalized - up to 30 years mainland / corporal punishment + imprisonment Zanzibar
✗ Do NOT use gay dating apps in Tanzania or Zanzibar - entrapment risk
✗ Zero public displays of affection throughout Tanzania and Zanzibar
✗ Clear LGBTQ+ content from devices before arrival
✗ Do not identify as a gay couple in any official, hotel check-in, or semi-public context
✗ Trans travelers face specific and serious risk - do not visit Tanzania
✗ Consult your home government's current Tanzania travel advisory before any visit
Resources for LGBTQ+ travelers to Tanzania
Human Rights Watch publishes detailed reports on LGBTQ+ rights in Tanzania - essential reading before any visit. Amnesty International documents arrests and prosecutions. ILGA World's State-Sponsored Homophobia report covers Tanzania's dual legal framework. UK FCDO, US State Department, Australian DFAT, and Canadian travel advisories all include specific LGBTQ+ warnings for Tanzania. No LGBTQ+ organization can operate legally in Tanzania.
Why book through misterb&b for your Tanzania trip
misterb&b is the world's leading LGBTQ+-friendly travel platform. In Tanzania - where active criminalization and no anti-discrimination protections exist - the individual verification of every listed host's explicit LGBTQ+ welcome is the only meaningful travel resource available. This data is exclusive to misterb&b and is not available on any other platform.
Book verified LGBTQ+-welcoming accommodation in Tanzania and Zanzibar through misterb&b.
Find gay-friendly accommodation in TanzaniaConnect with LGBTQ+ travelers on Weere - 1,000,000+ members worldwide. 🏳️🌈
Frequently asked questions - is Tanzania safe for gay travelers?
Should gay travelers book LGBTQ+-verified accommodation in Tanzania?
Yes - without exception. In Tanzania, booking through misterb&b is the only meaningful LGBTQ+-specific protective step available. Every listed property has been individually verified as LGBTQ+-welcoming. This data is exclusive to misterb&b and is not available on any other platform.
Is homosexuality illegal in Tanzania?
Yes - in both mainland Tanzania and Zanzibar. Mainland Tanzania's Penal Code (Sections 154 and 157) criminalizes same-sex acts with up to 30 years imprisonment. Zanzibar's semi-autonomous Penal Act has its own provisions including corporal punishment (up to 25 lashes) and imprisonment. Both are actively enforced. Source: ILGA World 2025.
Is Tanzania safe for gay couples?
No - not in any meaningful sense. Same-sex relations are criminalized with severe penalties in both mainland Tanzania and Zanzibar. Exercise zero public displays of affection throughout Tanzania and Zanzibar. Do not use gay dating apps. Do not identify as a gay couple in any official or semi-official context. Book verified accommodation through misterb&b and research current conditions before travel.
Is Zanzibar safer than mainland Tanzania for gay travelers?
No - Zanzibar has its own semi-autonomous Penal Act with provisions specifically targeting same-sex relations, including corporal punishment. The international beach tourism atmosphere in Zanzibar resort areas creates a somewhat more relaxed social environment than mainland Tanzania, but Zanzibari law applies throughout the islands and is actively enforced. The same precautions apply throughout Tanzania and Zanzibar.
Is Tanzania safe for trans travelers?
No. Tanzania has no legal recognition for transgender people and the hostile legal and social environment extends to trans individuals. Trans women face specific risks in encounters with police and public officials. Trans travelers should not visit Tanzania. Source: Human Rights Watch Tanzania, ILGA World, 2025.
For the full destination overview, see the gay Tanzania guide. To find accommodation, browse gay hotels in Zanzibar and gay hotels in Tanzania.
Sources: ILGA World 2025 | Human Rights Watch Tanzania 2025 | Amnesty International Tanzania | Tanzania Penal Code (Sections 154, 157) | Zanzibar Penal Act | UK FCDO Tanzania Travel Advice 2025 | US State Department Tanzania Travel Advisory 2025 | misterb&b exclusive travel data, 2026
