Lesbian, gay, bisexual, transgender, and queer (LGBTQ) people in Somalia face severe challenges not experienced by non-LGBTQ residents.
Stigmatization and criminalisation of homosexuality in Somalia occur in a legal and cultural context where 99% of the population follow Islam as their religion,[10] while the country has had an unstable government and has been subjected to a civil war for decades.
[12] The influence of Section 377 throughout former British colonies has widely come to be seen as leaving a legacy of discrimination, violence, and death, that persists in many places to this day.
[11] The code states that "Whoever has carnal intercourse with a person of the same sex shall be punished, where the act does not constitute a more serious crime, with imprisonment from three months to three years.
Under Article 410 of the Somali Penal Code, an additional security measure may accompany sentences for homosexual acts, usually coming in the form of police surveillance to prevent "re-offending".
In addition, the report stated: "There remained a pervasive social stigma against same-sex relationships, and the law does not prohibit discrimination based on sexual orientation or gender identity.
"[19] In territories controlled by Harakat al-Shabaab al-Mujahideen in Somalia, the terrorist organization enacts a strict interpretation of shariah which explicitly criminalises homosexual activity.