Infrastructure · Africa ranking
Electricity Access by African country
Algeria has the highest share of the population with access to electricity of any African country, at 100%, ahead of Egypt and Mauritius.
Share of the population with access to electricity. 54 of 54 countries, ranked · World Bank — World Development Indicators, 2024.
By region
Full ranking
| # | Country | Electricity Access | |
|---|---|---|---|
| 1 | Algeria | 100% | |
| 2 | Egypt | 100% | |
| 3 | Mauritius | 100% | |
| 4 | Morocco | 100% | |
| 5 | Seychelles | 100% | |
| 6 | Tunisia | 100% | |
| 7 | Cabo Verde | 98.4% | |
| 8 | Gabon | 95.1% | |
| 9 | Ghana | 91.9% | |
| 10 | Comoros | 91.7% | |
| 11 | South Africa | 90.2% | |
| 12 | Eswatini | 89.3% | |
| 13 | Senegal | 82.9% | |
| 14 | Botswana | 80.2% | |
| 15 | Sao Tome and Principe | 77.7% | |
| 16 | Libya | 77.4% | |
| 17 | Kenya | 77% | |
| 18 | Cote d'Ivoire | 72.9% | |
| 19 | Cameroon | 72% | |
| 20 | Rwanda | 72% | |
| 21 | Djibouti | 69.2% | |
| 22 | Gambia | 69% | |
| 23 | Sudan | 66% | |
| 24 | Equatorial Guinea | 65.1% | |
| 25 | Nigeria | 62.5% | |
| 26 | Zimbabwe | 62% | |
| 27 | Togo | 61.1% | |
| 28 | Lesotho | 60.6% | |
| 29 | Namibia | 59.3% | |
| 30 | Benin | 59% | |
| 31 | Ethiopia | 56.6% | |
| 32 | Angola | 55.5% | |
| 33 | Eritrea | 55.3% | |
| 34 | Uganda | 55.3% | |
| 35 | Somalia | 54.4% | |
| 36 | Guinea | 53.8% | |
| 37 | Zambia | 53.6% | |
| 38 | Republic of the Congo | 53% | |
| 39 | Tanzania | 52.4% | |
| 40 | Mauritania | 52.2% | |
| 41 | Mali | 49.5% | |
| 42 | Guinea-Bissau | 43.7% | |
| 43 | Madagascar | 42.5% | |
| 44 | Sierra Leone | 39.2% | |
| 45 | Mozambique | 36.9% | |
| 46 | Liberia | 34.9% | |
| 47 | Burkina Faso | 34% | |
| 48 | Democratic Republic of the Congo | 22.5% | |
| 49 | Niger | 21.3% | |
| 50 | Burundi | 20.1% | |
| 51 | Central African Republic | 18.2% | |
| 52 | Malawi | 15.6% | |
| 53 | Chad | 13.4% | |
| 54 | South Sudan | 5.4% |
Get this ranking via API
One call to /v1/data returns the latest Electricity Access figure for every country you pass — JSON, with source metadata on each observation.
curl "https://api.africa-api.com/v1/data?metric_key=electricity_access_pct&latest=true&country_codes=NG,KE,ZA,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Cite or republish this ranking
Data: Africa API — World Bank — World Development Indicators, 2024. Free to republish with a link to this page. Pull the live figures via the API above so your version never goes stale.
Embed this ranking
Drop this chart into your article or site — it stays live as the data updates. Paste the snippet anywhere HTML is allowed (a citation link is included).
Frequently asked questions
Which African country has the highest share of the population with access to electricity?
Algeria has the highest share of the population with access to electricity in Africa at 100% (2024), followed by Egypt and Mauritius.
Which African country has the lowest share of the population with access to electricity?
South Sudan has the lowest share of the population with access to electricity of the 54 African countries with data, at 5.4% (2024).
How many African countries report Electricity Access data?
54 of 54 African countries have a Electricity Access figure in the Africa API, each from the latest year available for that country (which can differ between countries). Every value links to its full series with source and history.
How do I get this ranking via API?
Call GET /v1/data?metric_key=electricity_access_pct&latest=true with the country codes you need and a free Africa API key — the response returns the latest value per country as JSON.
More infrastructure rankings