Is homosexuality legal in Tanzania?

Illegal

Same-sex sexual activity is a criminal offence.

Tanzania is one of 56 countries classified “Illegal” for same-sex sexual activity — 25% of the 226 with data. (Also searched as homosexuality.)

Source

Taken from
Wikipedia: LGBTQ rights by country or territory
Last checked
15 September 2026
How it was classified
Read directly from the source’s own table, without interpretation.

Nearby countries

Burundi
Illegal Same-sex sexual activity is a criminal offence.
Rwanda
Legal Same-sex sexual activity is legal.
Malawi
Illegal Same-sex sexual activity is a criminal offence.
Uganda
Death penalty possible Same-sex sexual activity is a criminal offence that can carry the death penalty.
Kenya
Illegal Same-sex sexual activity is a criminal offence.
Zambia
Illegal Same-sex sexual activity is a criminal offence.

Other laws in Tanzania

Age of Consent
18+
Sex Work
Illegal
Pornography
Illegal
Divorce
Not possible
Incest Laws
Criminal offense
Marriage Age
18+

Every law in Tanzania → · Where is homosexuality illegal? →

A visual reference compiled from Wikipedia’s law-by-country articles, not legal advice. Laws change and summaries simplify — check a primary source before relying on anything here.