Compare LGBT Rights in Niger, Kenya, & Morocco

Equality Index

Overall score, and how far each country’s laws sit from its public opinion

  • Legal
  • Public opinion
  • Equality Index
Country · Equality Index
Legal ↔ Public opinion
Gap
28
KenyaRank 1 of 3
3819
19 ptsLaws ahead of opinion
13
MoroccoRank 2 of 3
1215
3 ptsOpinion ahead of laws
10
NigerRank 3 of 3
912
3 ptsOpinion ahead of laws
0255075100

Compared with every country

  • In this comparison
  • Other countries
25
50
75
100
Kenya28
Morocco13
Niger10
Highest197 countries, ranked by Equality IndexLowest

Law

Current legal status of LGBTQ+ rights in each country

  • Protected
  • Restricted
  • Not protected
Issue
Niger
Kenya
Morocco
Homosexual activity Illegal (imprisonment as punishment)
Since 2026
Since 2026, same-sex relations are punishable by a jail term of between five to ten years and a fine.
Male illegal, female legal
Since 1930
Sections 162, 163, and 165 of the Kenyan Penal Code (Cap. 63) criminalize "unnatural offences" and "gross indecency between males,"…
Illegal (imprisonment as punishment)
Since 1962
Article 489 of the Penal Code punishes same sex behaviour by imprisonment of between 6 months and 3 years, and a fine of 200 to 1000…
Same-sex marriage Banned
Since 2025
In 2025, Niger adopted the Charter of Refoundation. Article 24 defines marriage as "the union between a man and a woman."
Banned
Since 2010
Since 2010, the Constitution of Kenya has defined marriage strictly as a union between a man and woman.
Banned
Since 1958
Article 1 of the 1958 Moroccan Personal Status Code (alternatively called the Moroccan Family Code or Moudawana) defined marriage as a…
Censorship of LGBT issues Imprisonment as punishment
Since 2026
Since 2026, Niger, while it criminalizes sodomy, it also criminalizes marriage, and anyone involved such as the spouses getting married…
State-enforced
Since 2012
The Kenyan Film Classification Board Guidelines of 2012 explicitly list homosexuality as requiring a restricted classification in a more…
State-enforced
Since 1962
Morocco has several censorship measures in place including LGBT media censorship. The 1962 Penal Code criminalises "obscenity" in public…
Right to change legal gender Illegal
There is no legal framework in Niger to change one's gender marker.
Legal, no restrictions
Since 2026
In a landmark ruling on May 20, 2026, the Kenya High Court ruled that the government cannot automatically reject applications to change…
Ambiguous
Since 2021
There is no legal framework to change one's gender marker in Morocco. However, since 2021, Morocco has has officially recognized intersex…
Gender-affirming care Banned
Since 2026
In 2026, Niger officially banned people “trying to change their birth sex”, effectively criminalising gender-affirming care.
Legal
Gender-affirming care is not banned in Kenya but doctors have been known to deny access with no reasons provided.
Restricted
Morocco has no known law banning gender-affirming care and there have been historical cases of it being provided. However, access is…
Legal recognition of non-binary gender Not legally recognized
As there is no legal framework to change one's gender marker in Niger, non-binary identities are defacto not recognized.
Intersex only
Since 2022
The Children Act 2022 states that “The Principal Registrar shall take measures to ensure correct documentation and registration of intersex…
Intersex only
Since 2021
In 2021, Morocco passed Law 36.21, which provides intersex people with the opportunity for legal recognition and the option to change their…
Hate crime protections No protections
Niger does not provide hate crime protections based on sexual orientation or gender identity.
Sexual orientation only
Since 2023
There is legal protection from hate crimes based on sexual orientation (or presumed sexual orientation) under Section 5.2.4(viii) of the…
No protections
Morocco does not provide hate crime protections based on sexual orientation or gender identity.
LGBT discrimination Illegal in some contexts
Since 2023
In November 2023, Law 2015-36 on Illegal Trafficking of Migrants was repealed by the military junta that came in power earlier that year…
Illegal in some contexts
Since 2025
There is limited protection based on sexual orientation and gender identity. This includes broadcasting regulations banning incitement to…
No protections
There are no protections from discrimination provided to LGBTIQ+ people in Morocco.
LGBT employment discrimination No protections
In Niger, neither sexual orientation nor gender identity is a protected class from employment discrimination.
No protections
There are no legal protections from discrimination based on sexual orientation or gender identity.
No protections
There are no protections from discrimination in employment provided to LGBTIQ+ people in Morocco.
LGBT housing discrimination No protections
In Niger, neither sexual orientation nor gender identity is a protected class from housing discrimination.
No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Kenya.
No protections
There are no protections from discrimination in housing provided to LGBTIQ+ people in Morocco.
Same-sex adoption Illegal
Nigerien law allows only legally married couples to adopt a child - as same-sex marriage is prohibited, this also disallows same-sex…
Illegal
Since 2002
Same-sex couples or even homosexuals are not allowed to adopt in Kenya. Chapter 141, Section 158 of Kenya's The Children Act states: "An…
Illegal
In Morocco, only single women and married couples are permitted to adopt. Single men are not allowed to and same-sex marriage is not…
Intersex infant surgery Not banned
There is no ban on surgeries performed on intersex infants in Niger.
Full ban
Since 2022
Article 23(f) of the Children’s Act, 2022 prohibits organ change or removal on an intersex child, except with the advice of a medical…
Not banned
There is no ban on surgeries performed on intersex infants in Morocco.
Serving openly in military Illegal
Since 2026
Since Niger’s new Penal Code, criminalizes same-sex sexual relations, attempted same-sex relations, broader LGBTQIA+ practices, and public…
Illegal
Since 1941
The International Lesbian and Gay Association states that homosexuals are not allowed to serve in the Kenya Defence Forces, however, it's…
Illegal
In Morocco, it was very illegal for any openly LGBTQIA+ people to serve in the military without facing consequences.
Blood donations by MSMs Legal
The National Blood Transfusion Center establishes that among the requirements for donating blood are "answering a health questionnaire" and…
Legal
Since 2022
Kenya National Standards for Blood Transfusion Service guideline published by Kenyan Ministry of Health in 2022 does not include specific…
Banned (indefinite deferral)
Due to homosexuality being illegal.
Bathroom access Partially restricted
Niger doesn't have an official law that penalizes transgender individuals from accessing bathrooms based on their gender identity. But due…
Partially restricted
In Kenya, there are no explicit restrictions for trans people access to the bathroom of their gender identity rather than their assigned…
Restricted
In Morocco, there is no protections for trans people acess to the bathroom in fact due to article 489 of the Penal Code, which criminalizes…
Conversion therapy Not banned
According to the ILGA World, there's no ban on conversion therapy in Niger.
Not banned
Kenya does not ban conversion therapies that aim to change a person’s sexual orientation or gender identity.
Not banned
Conversion therapy is not banned.

Public Opinion

Survey results on LGBTQ+ issues, newest first

  • Supportive
  • Neutral / no answer
  • Unsupportive
Survey
Niger
Kenya
Morocco
Perceptions of local area as a "good place" for gay and lesbian people
Gallup, April 10th to December 13th
16% Good place
26% Good place
Not surveyed
Acceptance of homosexuals as neighbors
Afrobarometer, 2021-2023
5% Tolerate
94% Oppose
20% Tolerate
79% Oppose
15% Tolerate
84% Oppose
Support for same-sex marriageNot surveyed
9% Favor
90% Oppose
14% Yes
65% No
Older data
Justifiability of homosexuality
World Values Survey, 2017-2022
Not surveyed
10% Justifiable
65% Not justifiable
6% Justifiable
68% Not justifiable
How accepted are transgender girls around the world?
ILGA, Early 2016
Older data
Not surveyed
19% Yes
63% No
12% Yes
72% No
How accepted are transgender boys in the world?
ILGA, Early 2016
Older data
Not surveyed
26% Yes
57% No
18% Yes
64% No

Full details about each issue can be found on each region's page. Data missing from the above chart? You can help! Sign up or log in to contribute information to Equaldex!

Share This Comparison