Courts in India and in Trinidad and Tobago have recently struck down laws from the British colonial era criminalizing homosexuality, in which the law’s language describes the prohibition of “carnal knowledge against the order of nature.” Now, Kenya is the latest country to take up the issue. This court is expected to either retain a colonial-era law that criminalizes homosexuality, or scrap it, which would put Kenya in a small group of African nations that give LGBT people equal legal rights.

A ruling in the case was originally scheduled Friday, but the court in Nairobi postponed the decision until May 24, saying it needed more time because its judges were busy and were still working through voluminous files in the case.

Homosexuality is a major taboo across much of Africa, where most people adhere to either Christianity or Islam. But while legal processes are resulting in greater rights for LGBT people in some countries, others in Africa retain some of the harshest punishments in the world for homosexual conduct.

Below is a look at where some of Africa’s countries stand.

South Africa

Africa’s most liberal country was an early actor in favor of LGBT rights. When South Africa transitioned to democracy after the apartheid system was dismantled in 1994, it was the first country in the world to include sexual orientation in its anti-discrimination laws. In 2006, it legalized same-sex marriage. LGBT people from neighboring countries have long sought refuge in South Africa due to its legal protections.


Uganda provoked international outrage in 2014 with the passage of a law that said those convicted of “aggravated homosexuality” could be sentenced to life in prison. Western countries threatened to stop providing the Ugandan government economic assistance, and some followed through. Thousands of LGBT Ugandans became refugees in 2014 as the debate around the law sparked persecution and numerous murders. Eight months after it was passed, the law was annulled, reverting to the colonial-era one that still carries a possible seven-year sentence.


Just one month after Kenya’s ruling, a high court in Botswana will hear a similar case to strike down the “carnal knowledge” clause in its penal code. Some LGBT rights activists believe that a favorable ruling in Kenya could provide the legal foundation for rulings in Botswana, Malawi and other countries.


Nigeria is also a former British colony, but in its federal system, different states have different penal codes. In its southern, largely Christian states, the colonial-era law remains and carries the same possibility of a 14-year sentence as in Kenya. In some northern states that have adopted sharia law, homosexual conduct can warrant the death penalty.


Most of Africa’s former Portuguese colonies — including Angola, Mozambique and Sao Tome and Principe — have decriminalized homosexuality, though not through court rulings. Instead, anti-sodomy laws were expunged by way of penal code reform, a much quieter and less contentious process. Sexual orientation is not mentioned in their new penal codes; it is rather the removal of its mention that has paved the way for equal legal rights.


Some countries have done exactly the opposite kind of penal code reform, adding sexual orientation where before it was absent. Chad and Burundi both did that recently, joining the majority of African countries in explicitly banning homosexual conduct.

She was the first openly transgender person to address the DNC. Now she’s running for Delaware state Senate.

If she wins her 2020 race, Sarah McBride will be the state’s first elected transgender senator

When I came out as trans, I knew I needed a new name. But would I ever find one that felt right?

Your name needs to be something you can recognize and respond to — something you can feel

In Taiwan, a law legalizing same-sex marriage has become a symbol of national identity

Taiwan has promoted equality and human rights in an attempt to distinguish itself from the Chinese government