Energy · Africa ranking
Electricity Demand by African country
Egypt has the highest total electricity demand of any African country, at 244 TWh, ahead of South Africa and Algeria.
Total electricity demand, in terawatt-hours (Ember via Our World in Data). 54 of 54 countries, ranked · OWID ENERGY, 2025.
By region
The top 5 countries account for 67% of Africa's total total electricity demand.
Full ranking
| # | Country | Electricity Demand | |
|---|---|---|---|
| 1 | Egypt | 244 TWh | |
| 2 | South Africa | 237 TWh | |
| 3 | Algeria | 94 TWh | |
| 4 | Morocco | 48 TWh | |
| 5 | Nigeria | 39 TWh | |
| 6 | Libya | 35 TWh | |
| 7 | Ethiopia | 31 TWh | |
| 8 | Tunisia | 25 TWh | |
| 9 | Ghana | 22 TWh | |
| 10 | Democratic Republic of the Congo | 17 TWh | |
| 11 | Zambia | 17 TWh | |
| 12 | Mozambique | 16 TWh | |
| 13 | Angola | 16 TWh | |
| 14 | Kenya | 16 TWh | |
| 15 | Sudan | 16 TWh | |
| 16 | Zimbabwe | 12 TWh | |
| 17 | Cote d'Ivoire | 10 TWh | |
| 18 | Tanzania | 9 TWh | |
| 19 | Senegal | 8.1 TWh | |
| 20 | Cameroon | 7.3 TWh | |
| 21 | Mali | 5.5 TWh | |
| 22 | Republic of the Congo | 5.4 TWh | |
| 23 | Uganda | 5.4 TWh | |
| 24 | Botswana | 4.7 TWh | |
| 25 | Namibia | 4 TWh | |
| 26 | Guinea | 4 TWh | |
| 27 | Mauritius | 3.4 TWh | |
| 28 | Burkina Faso | 3.2 TWh | |
| 29 | Gabon | 3.2 TWh | |
| 30 | Madagascar | 2.4 TWh | |
| 31 | Mauritania | 2.4 TWh | |
| 32 | Benin | 2.3 TWh | |
| 33 | Togo | 2.2 TWh | |
| 34 | Niger | 2.2 TWh | |
| 35 | Malawi | 1.8 TWh | |
| 36 | Eswatini | 1.7 TWh | |
| 37 | Equatorial Guinea | 1.5 TWh | |
| 38 | Rwanda | 1.2 TWh | |
| 39 | Djibouti | 0.8 TWh | |
| 40 | Seychelles | 0.6 TWh | |
| 41 | Lesotho | 0.6 TWh | |
| 42 | Burundi | 0.6 TWh | |
| 43 | Liberia | 0.6 TWh | |
| 44 | South Sudan | 0.6 TWh | |
| 45 | Cabo Verde | 0.5 TWh | |
| 46 | Gambia | 0.5 TWh | |
| 47 | Eritrea | 0.5 TWh | |
| 48 | Somalia | 0.4 TWh | |
| 49 | Chad | 0.4 TWh | |
| 50 | Sierra Leone | 0.2 TWh | |
| 51 | Central African Republic | 0.1 TWh | |
| 52 | Comoros | 0.1 TWh | |
| 53 | Sao Tome and Principe | 0.1 TWh | |
| 54 | Guinea-Bissau | 0.1 TWh |
Get this ranking via API
One call to /v1/data returns the latest Electricity Demand figure for every country you pass — JSON, with source metadata on each observation.
curl "https://api.africa-api.com/v1/data?metric_key=electricity_demand_twh&latest=true&country_codes=NG,KE,ZA,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Cite or republish this ranking
Data: Africa API — OWID ENERGY, 2025. 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 total electricity demand?
Egypt has the highest total electricity demand in Africa at 244 TWh (2025), followed by South Africa and Algeria.
Which African country has the lowest total electricity demand?
Guinea-Bissau has the lowest total electricity demand of the 54 African countries with data, at 0.1 TWh (2024).
How many African countries report Electricity Demand data?
54 of 54 African countries have a recent Electricity Demand figure in the Africa API. Each value links to the country's full series with source and history.
How do I get this ranking via API?
Call GET /v1/data?metric_key=electricity_demand_twh&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 energy rankings