54 countries · 127 indicators · 45 sourcesLiveGet API key

Infrastructure · Africa ranking

Electricity Access by African country

100%Algeria leads · 2024

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.

#1 vs #5419×Algeria vs South Sudan
Median60.6%Lesotho
Lowest5.4%South Sudan

By region

regional average
North Africa90.6%
6 countries · led by Algeria
Southern Africa70.7%
7 countries · led by South Africa
West Africa57.9%
16 countries · led by Cabo Verde
East Africa56.5%
16 countries · led by Mauritius
Central Africa52.5%
9 countries · led by Gabon

Full ranking

54 of 54 countries
#CountryElectricity AccessPeriod
1Algeria
100%2024
2Egypt
100%2024
3Mauritius
100%2024
4Morocco
100%2024
5Seychelles
100%2024
6Tunisia
100%2024
7Cabo Verde
98.4%2024
8Gabon
95.1%2024
9Ghana
91.9%2024
10Comoros
91.7%2024
11South Africa
90.2%2024
12Eswatini
89.3%2024
13Senegal
82.9%2024
14Botswana
80.2%2024
15Sao Tome and Principe
77.7%2024
16Libya
77.4%2024
17Kenya
77%2024
18Cote d'Ivoire
72.9%2024
19Cameroon
72%2024
20Rwanda
72%2024
21Djibouti
69.2%2024
22Gambia
69%2024
23Sudan
66%2024
24Equatorial Guinea
65.1%2024
25Nigeria
62.5%2024
26Zimbabwe
62%2024
27Togo
61.1%2024
28Lesotho
60.6%2024
29Namibia
59.3%2024
30Benin
59%2024
31Ethiopia
56.6%2024
32Angola
55.5%2024
33Eritrea
55.3%2024
34Uganda
55.3%2024
35Somalia
54.4%2024
36Guinea
53.8%2024
37Zambia
53.6%2024
38Republic of the Congo
53%2024
39Tanzania
52.4%2024
40Mauritania
52.2%2024
41Mali
49.5%2024
42Guinea-Bissau
43.7%2024
43Madagascar
42.5%2024
44Sierra Leone
39.2%2024
45Mozambique
36.9%2024
46Liberia
34.9%2024
47Burkina Faso
34%2024
48Democratic Republic of the Congo
22.5%2024
49Niger
21.3%2024
50Burundi
20.1%2024
51Central African Republic
18.2%2024
52Malawi
15.6%2024
53Chad
13.4%2024
54South Sudan
5.4%2024

Get this ranking via API

GET /v1/data

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 APIWorld 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

free · auto-updating

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).

<iframe src="https://africa-api.com/embed/electricity-access" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Electricity Access by African country — Africa API"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:.5rem 0"><a href="https://africa-api.com/data/electricity-access">Electricity Access by African country — Africa API</a></p>

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