LGBT Equality Index in Africa

The most LGBT-Friendly Places in Africa

The Equality Index measures the current status of LGBT rights, laws, and freedoms as well as public attitudes towards LGBT people.
0 (Less Equal)
100 (More Equal)

Public Opinion vs. Legal Rights

Equality Index by Region

Australia and New Zealand, the Nordic countries, and parts of Europe rank highest in terms of the Equality Index while the Middle East and most of Africa (with the exception of South Africa) rank lowest — both in terms of legal protections and public opinion.

RegionEquality IndexLegal IndexPublic Opinion Index
Southern Africa 5 countries
Central Africa 9 countries
Eastern Africa 17 countries
Western Africa 16 countries
Northern Africa 7 countries

Largest Disparities

Regions where legal progress and public views don't align. Comparing the legal rights and the public opinion highlights regions where the public's support has advanced past (or fallen behind) legal progress. These may be potential areas for advocacy and change. (Countries without public opinion data are excluded.)

Public Opinion Ahead of Legal Progress

CountryLegal IndexPublic Opinion IndexDifference
1. Uganda025+25
2. Cape Verde5277+25
3. Algeria522+18
4. Mauritania016+16
5. Libya319+16
6. Sudan718+11
7. Tanzania718+11
8. Egypt616+11
9. Morocco616+10
10. Ethiopia614+9

Legal Progress Ahead of Public Opinion

CountryLegal IndexPublic Opinion IndexDifference
1. Burkina Faso517-44
2. Rwanda468-38
3. Mali4612-33
4. Gabon4714-33
5. South Africa8758-29
6. Botswana6535-29
7. Niger4113-28
8. Democratic Republic of the Congo3610-26
9. Benin4519-25
10. Republic of the Congo4520-25

Africa Equality Index

Which countries are the most LGBT-friendly?

The Legal Index scores the legal rights and freedoms LGBTQ+ people have while the Public Opinion Index scores how the general public feels in each region.

CountryEquality IndexLegal IndexPublic Opinion Index
1. South Africa728758
2. Cape Verde655277
3. Angola606951
4. Mozambique526242
5. Seychelles5252
6. Mauritius515449
7. Botswana506535
8. Sao Tome and Principe475243
9. Guinea-Bissau4747
10. Equatorial Guinea4747
11. Lesotho405030
12. Namibia384234
13. Madagascar354723
14. Djibouti3535
15. Republic of the Congo324520
16. Benin324519
17. Central African Republic3131
18. Gabon304714
19. Mali294612
20. Burkina Faso29517
21. Niger274113
22. Rwanda27468
23. Côte d’Ivoire243414
24. Democratic Republic of the Congo233610
25. Eswatini232322
26. Zimbabwe21339
27. Liberia202812
28. Kenya181817
29. South Sudan1717
30. Sierra Leone16267
31. Chad162012
32. Comoros161616
33. Togo161714
34. Guinea151713
35. Tunisia141217
36. Algeria13522
37. Malawi13224
38. Uganda13025
39. Zambia13196
40. Tanzania12718
41. Sudan12718
42. Egypt11616
43. Morocco11616
44. Senegal11174
45. Libya11319
46. Ethiopia10614
47. Burundi10910
48. Gambia9144
49. Cameroon9611
50. Mauritania8016
51. Eritrea88
52. Somalia77
53. Ghana759
54. Nigeria427

Equality Index Methodology

Equaldex's Equality Index is a rating from 0 to 100 (with 100 being the most equal) to help visualize the legal rights and public attitudes towards LGBTQ+ (lesbian, gay, bisexual, transgender, queer, questioning, intersex...) people in each region. The Equality Index is an average of two indexes: the legal index and the public opinion Index.

Equality Index

Average of Legal Index and Public Opinion Index

Legal Index

The LGBT legal index measures the current legal status of 13 different issues ranging from the legal status of homosexuality, same-sex marriage, transgender rights, LGBT discrimination protections, LGBT censorship laws, and more. Each topic is weighted differently (for example, if same-sex marriage is illegal in a region, it would have a much bigger impact on the score than not allowing LGBT people to serve in the military). Each topic is assigned a "total possible score" and a "score" is assigned based the status of the law using a rating scale that ranges from 0% to 100% (for example, if homosexuality is legal, it would would receive a score of 100, but if it's illegal, it would receve a score of 0.)

If the status of an issue is unknown, not applicable, or no data has not been added to Equaldex, the issue's score is completely discarded and not included in the ranking. In cases where a law varies throughout a region (for example, a country where same-sex marriage is legal in some states or provinces but not others), the score is averaged among all states or provinces, weighted equally.

Past laws that are no longer in effect do not impact the region's current score. New laws that have not gone into effect yet will not impact the region's score until the day it goes into effect.

Legal Index

(Total Possible Score for each issue × Factor of Status of Issue) / Sum of all Total Possible Scores

IssueTotal Possible ScoreStatusFactor
Homosexual activity100Legal×1.00
Male illegal, female legal×0.20
Male illegal, female uncertain×0.20
Illegal (other penalty)×0.15
Illegal (imprisonment as punishment)×0.10
Illegal (up to life in prison as punishment)×0.05
Illegal (death penalty as punishment)×0.00
Same-sex marriage60Legal×1.00
Civil unions (marriage rights)×0.80
Civil unions (limited rights)×0.70
Other type of partnership×0.50
Foreign same-sex marriages recognized only×0.40
Unregistered cohabitation×0.30
Censorship of LGBT Issues40No censorship×1.00
Fine as punishment×0.20
Other punishment×0.10
Imprisonment as punishment×0.00
Right to change legal gender40Legal, no restrictions×1.00
Legal, but requires medical diagnosis×0.70
Legal, but requires surgery×0.40
Legal recognition of non-binary gender30Recognized×1.00
Intersex only×0.70
Not legally recognized×0.00
LGBT discrimination20Illegal×1.00
Illegal in some contexts×0.50
No protections×0.00
LGBT employment discrimination20Sexual orientation and gender identity×1.00
Gender identity only×0.50
Sexual orientation only×0.50
No protections×0.00
LGBT housing discrimination20Sexual orientation and gender identity×1.00
Gender identity only×0.50
Sexual orientation only×0.50
No protections×0.00
Same-sex adoption20Legal×1.00
Married couples only×0.50
Single only×0.40
Step-child adoption only×0.20
Serving openly in military20Legal×1.00
Lesbians, gays, bisexuals permitted, transgender people banned×0.70
Don't Ask, Don't Tell×0.50
Blood donations by MSMs10Legal×1.00
Legal with restrictions×0.80
Banned (less than 6-month deferral)×0.30
Banned (6-month deferral)×0.20
Banned (1-year deferral)×0.15
Banned (5-year deferral)×0.10
Banned (indefinite deferral)×0.00
Conversion therapy10Banned×1.00
Sexual orientation only×0.50
Not banned×0.00
Equal age of consent10Equal×1.00
Female equal, male N/A×0.75

Public Opinion Index

The LGBT public opinion index measures the public attitudes towards LGBT people using surveys and polls from reputable organizations. This index is scored based on averaging the results of all surveys in a given region. Generally, the value averaged is usually the most “equal” response in the poll. For example, if a poll asked “Do you support same-sex marriage?” and 56% of people said “yes”, the value “56” would be used. In some cases, a survey may be weighted less if the survey is very specific or includes a specific group of people (such as Christians) and might not be a full representation of the overall attitudes of the region.

To better represent current attitudes, surveys are scored using a time-decay weighting method based on the date published. This means that the most recent surveys carry more weight in the public opinion index. Surveys from the current year and the previous year receive full weight. However, for surveys older than two years, an exponential decay of 75% applies each year. This weight decay ensures that the public opinion index is always most influenced by the most recent data, reflecting evolving public attitudes, while still taking into account older surveys to maintain a comprehensive overview. This change went into effect on July 21, 2023.

Note that public opinion data is not available in every region. In these cases, the Equality Index will only be a representation of the legal rights of LGBT people in the region. Additionally, some regions have no recent public opinion data available, so older data is used to score the region.

Public Opinion Index

(Survey Results Value × Survey Weight × Time Decay Factor) / (Survey Weight × Time Decay Factor)

Year Survey Published Time Decay Factor
2024 (current year)0.7501


  • Equaldex's Equality Index is constantly being improved and tracking it over time may not represent changes in equality over time. As more data is contributed to Equaldex, the index becomes more accurate. For example, adding survey results to a region will likely change the region's Equality Index — even more so if there is limited data on the region. In this case, the change in score could represent a change in attitudes in the region, but it may also just be an increase in the index's accuracy.
  • Global opinion surveys rarely include transgender topics. Especially in more conservative regions, surveys are usually limited to homosexuality or same-sex marriage. Equaldex continues to seek more international transgender public opinion data to make the Equality Index more inclusive.
  • The model for the Equality Index is evolving, and adjustments to weights and other parameters are likely as we continue to improve its accuracy and relevance.
  • The Equality Index is updated automatically as data is added to Equaldex and as new laws go into effect. When a new law or survey is added to Equaldex, the index will recalculate within a few hours.