African Countries
Lifestyle - 3 hours ago

African Countries Where Homosexuality Is Illegal in 2026 and What Their Laws Say

Across Africa, laws on same sex relationships remain deeply divided. While a few countries have moved toward decriminalisation, many still criminalise homosexuality, with penalties ranging from fines and short prison terms to life imprisonment and, in some cases, even the death penalty. 

This makes African countries where homosexuality is illegal one of the most searched and debated legal and human rights topics in 2026.

The issue returned to the spotlight after Senegal’s President, Bassirou Diomaye Faye, signed a new law that strengthens punishment for same sex sexual activity. The law also criminalises what it describes as the “promotion” of homosexuality, making Senegal one of the latest African countries to tighten restrictions on LGBTQ rights.

For anyone asking if homosexuality is illegal in Africa, the answer is yes in many countries, but the laws are not the same everywhere. Some countries have direct anti homosexuality laws, while others rely on old colonial-era penal codes, morality laws, or public decency provisions to arrest and prosecute people.

Why Homosexuality Laws in Africa Are Still a Major Issue

The legal status of homosexuality in Africa remains controversial because it sits at the intersection of law, religion, politics, culture, and human rights. In several countries, governments argue that these laws reflect local values and public morality. 

On the other hand, rights groups say such laws expose LGBTQ people to discrimination, harassment, violence, and imprisonment.

According to Amnesty International, homosexuality remains illegal in dozens of African countries, making the continent one of the strictest regions in the world on same sex relations.

Which African Countries Have Laws Against Homosexuality?

Below are some African countries where homosexuality is illegal in 2026, along with the penalties attached.

Senegal

Senegal has now adopted one of the latest and most talked about anti homosexuality laws on the continent. President Bassirou Diomaye Faye signed a law that imposes a maximum sentence of 10 years in prison for sexual acts between people of the same sex.

The law also criminalises the “promotion” of homosexuality. The updated legal provision gives a broader and clearer definition of the acts it covers. Senegal’s government says the law reflects the values of the country, despite criticism from international rights groups and United Nations officials.

Nigeria

Nigeria remains one of the strictest countries in Africa when it comes to homosexuality laws. Same sex couples can face up to 14 years in prison under existing legislation.

The law also punishes public same sex affection and participation in gay clubs or organisations, with prison terms of up to 10 years. This is why Nigeria often appears high on searches related to countries where homosexuality is illegal and anti gay laws in Africa.

Uganda

Uganda has some of the harshest anti LGBTQ laws in the world. In 2023, the country passed a law under which certain same sex acts can attract the death penalty in specific circumstances.

That law sparked heavy international condemnation and remains one of the most severe legal measures against homosexuality anywhere in the world.

Tanzania

Tanzania also maintains very strict anti homosexuality laws. Same sex acts are illegal and can attract prison sentences of up to 30 years.

The country has repeatedly been listed among African states with some of the toughest legal consequences for same sex relations.

Zambia

Homosexuality is illegal in Zambia under colonial-era laws that are still in force. The country has repeatedly faced international criticism over its handling of same sex cases.

In 2020, a high-profile case drew global attention after two men sentenced to 15 years in prison were later pardoned by then-President Edgar Lungu.

Zimbabwe

Zimbabwe also criminalises homosexuality, and the LGBTQ community there has long faced social and political hostility. The country became widely known for its anti gay rhetoric during the era of former President Robert Mugabe.

Although the law itself is one issue, activists say the broader challenge in Zimbabwe is the culture of fear, discrimination, and persecution faced by LGBTQ people.

Ghana

Ghana has remained under close watch because of efforts to reintroduce a tougher anti homosexuality bill. While the country has not recently enacted the kind of sweeping punishment seen in Uganda, rights groups say any fresh law could seriously threaten civil liberties and safety for LGBTQ people.

Kenya

Kenya still criminalises gay sex, but its legal and political environment is more mixed than in some other African countries. While same sex relations remain illegal, the country has also been seen as relatively more open in some areas, including offering asylum to persecuted LGBTQ individuals from neighbouring states.

That makes Kenya one of the countries where the law and social reality do not always move in the same direction.

Algeria, Morocco, Tunisia and Egypt

In North Africa, the legal situation also varies.

In Algeria, same sex sexual activity is illegal and can lead to prison terms of up to 3 years and a fine.

In Morocco, homosexuality is illegal, and sexual relations outside marriage are also punishable.

In Tunisia, same sex acts can attract up to 3 years in prison, although the government said it would stop forced anal examinations of suspects.

In Egypt, there is no specific law directly banning homosexuality, but authorities have often been accused of using other laws to target LGBTQ people.

Other African Countries Where Homosexuality Is Illegal

Several other African countries also criminalise same sex activity, including:

  • Cameroon
  • Burundi
  • Chad
  • Comoros
  • Ethiopia
  • Malawi
  • Mali
  • Sierra Leone
  • South Sudan
  • Sudan
  • Togo
  • Burkina Faso
  • The Gambia

In these countries, punishments range from fines and short jail terms to long prison sentences and, in some cases, life imprisonment.

Yes. Not every African country criminalises homosexuality. Some countries have either decriminalised same sex relationships or no longer enforce old anti gay laws.

For people searching which African countries allow homosexuality, the answer depends on both written law and actual enforcement. In some places, homosexuality may not be illegal on paper, but LGBTQ people can still face strong social stigma or state pressure.

FAQ: African Countries Where Homosexuality Is Illegal

Is homosexuality illegal in Africa?

Yes, homosexuality is still illegal in many African countries, although the laws and punishments differ from one country to another.

Which African country has the harshest anti homosexuality law?

Uganda is widely seen as having one of the harshest anti homosexuality laws in Africa, with the death penalty applying in certain cases.

Is homosexuality illegal in Nigeria?

Yes. Same sex relationships are illegal in Nigeria and can attract prison sentences of up to 14 years.

No. Some African countries have decriminalised homosexuality, but many still have laws against same sex relationships.

Leave a Reply

Check Also

5 African Football Stars Who Could Retire After the 2026 World Cup

The 2026 FIFA World Cup is getting closer, and while many players will be appearing at the…