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
49
56
41
Central Africa 9 countries
29
34
21
Eastern Africa 17 countries
22
22
24
Western Africa 16 countries
19
22
16
Northern Africa 7 countries
12
8
17

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. Cape Verde
4980+31
2. Uganda
118+18
3. Algeria
419+16
4. Seychelles
5166*+15
5. Mauritania
316+14
6. Libya
719+11
7. Egypt
515+10
8. Sudan
1019+9
9. Cameroon
311+8
10. Morocco
815+7

Legal Progress Ahead of Public Opinion

CountryLegal IndexPublic Opinion IndexDifference
1. Democratic Republic of the Congo
388*-30
2. Niger
4212-29
3. Republic of the Congo
4417-27
4. Gabon
4013-26
5. Benin
4216-26
6. Guinea-Bissau
5024*-26
7. Lesotho
5832-25
8. South Africa
8459-25
9. Namibia
5433-20
10. Burkina Faso
2910-19

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 Africa
718459
2. Cape Verde
654980
3. Seychelles
595166*
4. Botswana
555951
5. Mauritius
535552
6. Mozambique
484947
7. Sao Tome and Principe
474944
8. Lesotho
455832
9. Angola
455040
10. Namibia
445433
11. Equatorial Guinea
3838
12. Djibouti
3737
13. Guinea-Bissau
375024*
14. Rwanda
364032
15. Madagascar
314022
16. Republic of the Congo
304417
17. Central African Republic
3030
18. Benin
294216
19. Eswatini
282827
20. Niger
274212
21. Gabon
264013
22. Democratic Republic of the Congo
23388*
23. Côte d’Ivoire
233214
24. Burkina Faso
202910
25. Kenya
202119
26. Ghana
192018
27. Liberia
18279
28. Guinea
161714
29. Comoros
161219*
30. Sierra Leone
14226
31. Chad
141514
32. Sudan
141019
33. Libya
13719
34. Zimbabwe
131610
35. Tunisia
131115
36. Tanzania
121014
37. Algeria
12419
38. Morocco
11815
39. Burundi
101010*
40. Egypt
10515
41. Ethiopia
10713
42. Mauritania
10316
43. Uganda
9118
44. South Sudan
99
45. Togo
9612
46. Nigeria
879
47. Zambia
878
48. Cameroon
7311
49. Malawi
795
50. Mali
749
51. Eritrea
55
52. Senegal
563
53. Gambia
324
54. Somalia
11
* Region's public opinion data is based on less than three surveys

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
Unrecognized×0.10
Banned×0.00
Censorship of LGBT issues40No censorship×1.00
State-enforced×0.30
Fine as punishment×0.20
Other punishment×0.10
Imprisonment as punishment×0.05
Death penalty 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
Illegal×0.00
Gender-affirming care20Legal×1.00
Legal, but restricted for minors×0.70
Legal, but banned for minors×0.50
Restricted×0.30
Banned×0.00
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
Second parent adoption only×0.40
Single only×0.20
Illegal×0.00
Intersex infant surgery20Full ban×1.00
Parental approval required×0.30
Not banned×0.00
Serving openly in military20Legal×1.00
Lesbians, gays, bisexuals permitted, transgender people banned×0.70
Don't Ask, Don't Tell×0.50
Illegal×0.00
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
Female equal, male unequal×0.50
Unequal×0.00

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
2025 (current year)0.7501
20240.7501
20230.7510.75
20220.7520.5625
20210.7530.421875
20200.7540.31640625
20190.7550.2373046875
20180.7560.177978515625
20170.7570.13348388671875
20160.7580.10011291503906
20150.7590.075084686279297
(etc.)

Notes

  • 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.
  • Regions are ranked based on their raw, unrounded Equality Index scores, but rounded values are used for simplicity.
  • 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.