Built 2026-09-23 (23 September 2026)

Electricity in Africa

Africa generated 645 TWh of electricity in 2025 across 57 countries with Ember data, led by gas at 38.8% of generation. Egypt was the largest single generator, at 246 TWh. Figures are Ember annual statistics, not real time; most countries report 2025 or 2024. This total is our own sum of the 57 Africa countries in the table below (Ember does not publish one aggregate that matches this exact country list), so it always agrees with that table; see the note under it.

Key Facts

  • Africa generated 645 TWh of electricity in 2025 across 57 countries with Ember data.
  • Gas was Africa's largest source in 2025, at 38.8%.

Africa's Generation Mix, 2025

SourceGenerationShare
Gas 250 TWh 38.8%
Coal 225 TWh 34.9%
Hydro 66.4 TWh 10.3%
Solar 31.1 TWh 4.8%
Wind 31.0 TWh 4.8%
Other fossil 23.3 TWh 3.6%
Nuclear 10.2 TWh 1.6%
Other renewables 6.47 TWh 1.0%
Bioenergy 860 GWh 0.1%

Source: Ember (ember-energy.org), licensed under CC BY 4.0. Data as of 2025.

Year by Year

Ember annual statistics, 1985 to 2025
Electricity generation in Africa by source, 1985 to 2025 Electricity generation in Africa by main source from 1985 to 2025, in TWh. In 2025 the largest sources were gas at 250 TWh, coal at 225 TWh, hydro at 66.4 TWh, solar at 31.1 TWh, wind at 31.0 TWh. 0 125 250 375 500 198519901995200020052010201520202025
Electricity generation in Africa by main source from 1985 to 2025, in TWh. In 2025 the largest sources were gas at 250 TWh, coal at 225 TWh, hydro at 66.4 TWh, solar at 31.1 TWh, wind at 31.0 TWh.
Annual statistics through 2025, TWh
Electricity generation in Africa by source, 1985 to 2025
YearGasCoalHydroSolarWind
19859.24 TWh0 TWh9.15 TWhn/a0 TWh
198610.3 TWh0 TWh8.97 TWhn/a0 TWh
198711.7 TWh0 TWh8.97 TWhn/a0 TWh
198813.2 TWh0 TWh8.83 TWhn/a0 TWh
198913.7 TWh0 TWh9.49 TWhn/a0 TWh
199016.5 TWh0 TWh9.95 TWh0 TWh0 TWh
199120.4 TWh0 TWh9.92 TWh0 TWh0 TWh
199222.9 TWh0 TWh9.80 TWh0 TWh0 TWh
199326.2 TWh0 TWh10.1 TWh0 TWh0 TWh
199429.3 TWh0 TWh10.7 TWh0 TWh0 TWh
199530.5 TWh0 TWh11.2 TWh0 TWh0 TWh
199631.5 TWh0 TWh11.5 TWh0 TWh0 TWh
199732.7 TWh0 TWh11.8 TWh0 TWh0 TWh
199832.5 TWh0 TWh12.1 TWh0 TWh0 TWh
199937.2 TWh0 TWh13.4 TWh0 TWh10.0 GWh
200091.9 TWh212 TWh74.9 TWh0 TWh170 GWh
2001101 TWh217 TWh80.3 TWh0 TWh420 GWh
2002116 TWh225 TWh84.6 TWh20.0 GWh440 GWh
2003124 TWh238 TWh82.0 TWh20.0 GWh530 GWh
2004141 TWh249 TWh86.5 TWh20.0 GWh760 GWh
2005151 TWh251 TWh89.5 TWh20.0 GWh780 GWh
2006164 TWh258 TWh92.6 TWh30.0 GWh840 GWh
2007175 TWh265 TWh95.6 TWh30.0 GWh1.01 TWh
2008184 TWh260 TWh96.9 TWh40.0 GWh1.31 TWh
2009188 TWh250 TWh101 TWh70.0 GWh1.60 TWh
2010219 TWh260 TWh109 TWh200 GWh2.28 TWh
2011237 TWh263 TWh112 TWh510 GWh2.42 TWh
2012264 TWh258 TWh115 TWh890 GWh2.59 TWh
2013268 TWh254 TWh118 TWh550 GWh3.83 TWh
2014277 TWh255 TWh124 TWh1.86 TWh5.17 TWh
2015289 TWh255 TWh122 TWh3.25 TWh8.99 TWh
2016309 TWh257 TWh121 TWh4.72 TWh11.2 TWh
2017325 TWh257 TWh126 TWh6.78 TWh13.4 TWh
2018346 TWh265 TWh137 TWh8.45 TWh14.9 TWh
2019362 TWh264 TWh141 TWh11.6 TWh19.5 TWh
2020358 TWh252 TWh148 TWh16.6 TWh19.1 TWh
2021387 TWh249 TWh156 TWh19.9 TWh23.2 TWh
2022394 TWh241 TWh163 TWh24.4 TWh24.7 TWh
2023398 TWh232 TWh160 TWh29.9 TWh27.7 TWh
2024401 TWh245 TWh166 TWh35.8 TWh28.4 TWh
2025250 TWh225 TWh66.4 TWh31.1 TWh31.0 TWh

Source: Ember (ember-energy.org), licensed under CC BY 4.0. Data as of 2025.

Countries in Africa

Search or sort; each country's own latest Ember year
Every country with electricity data, newest Ember year each. Column headings sort the table; the search box filters by name.
Country Continent Generation Change Low carbon Change Main source
Egypt Africa 246 TWh +3.7% 13.0% +1.2 pts Gas
South Africa Africa 243 TWh -1.9% 17.8% +2.2 pts Coal
Algeria Africa 96.4 TWh +0.5% 1.1% +0.1 pts Gas
Morocco Africa 44.2 TWh +4.1% 23.2% -1.2 pts Coal
Nigeria Africa 42.5 TWh +13.2% 32.0% +7.0 pts Gas
Libya Africa 34.6 TWh +2.5% 0.0% 0.0 pts Gas
Ethiopia Africa 33.4 TWh +32.4% 100.0% 0.0 pts Hydro
Ghana Africa 24.3 TWh -0.1% 36.2% -2.3 pts Gas
Tunisia Africa 22.3 TWh +4.3% 3.9% -0.5 pts Gas
Mozambique Africa 19.8 TWh -0.9% 83.4% -0.1 pts Hydro
Zambia Africa 19.7 TWh +1.3% 87.5% -1.5 pts Hydro
Democratic Republic of the Congo Africa 15.9 TWh +1.9% 100.0% 0.0 pts Hydro
Angola Africa 15.6 TWh -1.0% 73.7% -0.3 pts Hydro
Sudan Africa 14.8 TWh +1.8% 79.7% -1.3 pts Hydro
Kenya Africa 14.1 TWh +6.0% 90.1% -1.4 pts Other renewables
Cote d'Ivoire Africa 10.8 TWh -1.7% 28.9% -1.2 pts Gas
Zimbabwe Africa 10.3 TWh +2.7% 57.1% +1.0 pts Hydro
Tanzania Africa 8.84 TWh -16.4% 32.9% +6.4 pts Gas
Senegal Africa 7.63 TWh -7.0% 19.8% +2.8 pts Other fossil
Cameroon Africa 7.26 TWh +0.6% 73.1% -0.1 pts Hydro
Mali Africa 5.96 TWh -0.8% 19.5% -0.3 pts Other fossil
Uganda Africa 5.81 TWh +0.7% 97.1% +0.0 pts Hydro
Republic of the Congo Africa 5.46 TWh +1.9% 20.9% -2.6 pts Gas
Guinea Africa 4.03 TWh +0.8% 75.2% +0.7 pts Hydro
Botswana Africa 3.43 TWh +6.2% 0.3% -0.0 pts Coal
Mauritius Africa 3.41 TWh +4.3% 17.9% +0.5 pts Other fossil
Reunion Africa 3.07 TWh +0.3% 56.7% +19.1 pts Bioenergy
Gabon Africa 2.60 TWh +0.4% 35.4% -0.1 pts Gas
Madagascar Africa 2.43 TWh -2.0% 42.4% -1.6 pts Hydro
Mauritania Africa 2.07 TWh -1.0% 22.7% +1.2 pts Other fossil
Malawi Africa 1.83 TWh 0.0% 95.6% 0.0 pts Hydro
Burkina Faso Africa 1.69 TWh 0.0% 17.2% +1.2 pts Other fossil
Namibia Africa 1.64 TWh -13.2% 97.6% -0.3 pts Hydro
Equatorial Guinea Africa 1.49 TWh +4.2% 26.9% +2.4 pts Gas
Rwanda Africa 1.13 TWh +2.7% 49.6% +0.5 pts Hydro
Benin Africa 1.01 TWh +1.0% 4.0% +1.0 pts Gas
Niger Africa 950 GWh -2.1% 3.2% +1.1 pts Other fossil
Togo Africa 710 GWh 0.0% 29.6% +2.8 pts Gas
Seychelles Africa 630 GWh +1.6% 15.9% +1.4 pts Other fossil
Eswatini Africa 610 GWh -7.6% 96.7% -0.2 pts Hydro
Liberia Africa 570 GWh -6.6% 54.4% -3.0 pts Hydro
South Sudan Africa 560 GWh 0.0% 1.8% 0.0 pts Other fossil
Cabo Verde Africa 520 GWh +4.0% 30.8% +2.8 pts Other fossil
Gambia Africa 510 GWh 0.0% 0.0% 0.0 pts Other fossil
Burundi Africa 490 GWh -2.0% 75.5% -0.5 pts Hydro
Eritrea Africa 450 GWh -8.2% 11.1% +0.9 pts Other fossil
Somalia Africa 430 GWh +2.4% 20.9% +1.9 pts Other fossil
Chad Africa 370 GWh +2.8% 5.4% -0.2 pts Other fossil
Sierra Leone Africa 210 GWh 0.0% 95.2% 0.0 pts Hydro
Djibouti Africa 200 GWh 0.0% 35.0% 0.0 pts Other fossil
Central African Republic Africa 140 GWh 0.0% 100.0% 0.0 pts Hydro
Comoros Africa 140 GWh 0.0% 0.0% 0.0 pts Other fossil
Sao Tome and Principe Africa 90.0 GWh 0.0% 11.1% 0.0 pts Other fossil
Western Sahara Africa 90.0 GWh 0.0% 0.0% 0.0 pts Other fossil
Guinea-Bissau Africa 80.0 GWh 0.0% 0.0% 0.0 pts Other fossil
Saint Helena, Ascension and Tristan da Cunha Africa 10.0 GWh 0.0% 0.0% 0.0 pts Other fossil
Lesotho Africa 0 TWh n/a 0.0% 0.0 pts n/a

Africa's total above is the sum of these 57 countries, so it always matches this table. Countries are grouped the same way as the Africa section of /countries/. Ember also publishes its own regional aggregates, but its groupings do not line up with this continent list (for example its "North America" aggregate holds only 3 countries, and it has no aggregate at all for South America), so we sum the countries ourselves instead of using them here.

Source: Ember (ember-energy.org), licensed under CC BY 4.0. Data as of 2025.

Cleanest Grids in Africa

Among countries generating at least 10 TWh, ranked by low carbon share
RankCountryGenerationLow carbon share
1 Democratic Republic of the Congo (2024) 15.9 TWh 100.0%
2 Ethiopia (2025) 33.4 TWh 100.0%
3 Kenya (2025) 14.1 TWh 90.1%
4 Zambia (2024) 19.7 TWh 87.5%
5 Mozambique (2024) 19.8 TWh 83.4%
6 Sudan (2024) 14.8 TWh 79.7%
7 Angola (2024) 15.6 TWh 73.7%
8 Zimbabwe (2024) 10.3 TWh 57.1%
9 Ghana (2024) 24.3 TWh 36.2%
10 Nigeria (2025) 42.5 TWh 32.0%
11 Cote d'Ivoire (2024) 10.8 TWh 28.9%
12 Morocco (2025) 44.2 TWh 23.2%
13 South Africa (2025) 243 TWh 17.8%
14 Egypt (2025) 246 TWh 13.0%
15 Tunisia (2025) 22.3 TWh 3.9%

Low carbon sources are nuclear, hydro, wind, solar, bioenergy, geothermal and other renewables. Countries generating under 10 TWh in 2025 are left out, the same floor /records/ uses.

Source: Ember (ember-energy.org), licensed under CC BY 4.0. Data as of 2025.