Is homosexuality legal in Somalia?

Death penalty possible

Same-sex sexual activity is a criminal offence that can carry the death penalty.

Somalia is one of 10 countries classified “Death penalty possible” for same-sex sexual activity — 4% 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

Djibouti
Legal Same-sex sexual activity is legal.
Ethiopia
Illegal Same-sex sexual activity is a criminal offence.
Yemen
Illegal Same-sex sexual activity is a criminal offence.
Kenya
Illegal Same-sex sexual activity is a criminal offence.
Eritrea
Illegal Same-sex sexual activity is a criminal offence.
Seychelles
Legal Same-sex sexual activity is legal.

Other laws in Somalia

Age of Consent
18+
Sex Work
Illegal
Incest Laws
Criminal offense
Marriage Age
18+

Every law in Somalia → · 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.