54 countries · 127 indicators · 45 sourcesLiveGet API key

Energy · Africa ranking

Fossil Share of Electricity by African country

100%Comoros leads · 2023

Comoros has the highest fossil fuels' share of electricity generation of any African country, at 100%, ahead of Gambia and Guinea-Bissau.

Share of electricity generation from fossil fuels — coal, gas and oil (Ember via Our World in Data). 54 of 54 countries, ranked · OWID ENERGY, 2023.

#1 vs #54Comoros vs Lesotho
Median69.2%Cabo Verde
Lowest0%Lesotho

By region

regional average
North Africa79.7%
6 countries · led by Libya
West Africa70.8%
16 countries · led by Gambia
East Africa51.9%
16 countries · led by Comoros
Central Africa50.4%
9 countries · led by Chad
Southern Africa34.7%
7 countries · led by Botswana

Full ranking

54 of 54 countries
#CountryFossil Share of ElectricityPeriod
1Comoros
100%2023
2Gambia
100%2024
3Guinea-Bissau
100%2024
4Libya
100%2024
5Botswana
99.7%2024
6Algeria
98.9%2024
7South Sudan
98.2%2024
8Niger
96.8%2024
9Benin
96%2024
10Tunisia
96%2025
11Chad
94.6%2024
12Eritrea
88.9%2024
13Sao Tome and Principe
88.9%2023
14Egypt
87%2025
15Seychelles
84.1%2024
16Burkina Faso
82.8%2024
17South Africa
82.2%2025
18Mauritius
82.1%2024
19Mali
80.5%2024
20Senegal
80.2%2024
21Republic of the Congo
79.1%2024
22Somalia
79.1%2024
23Mauritania
77.3%2024
24Morocco
76%2025
25Equatorial Guinea
73.2%2024
26Cote d'Ivoire
71.1%2024
27Togo
70.4%2024
28Cabo Verde
69.2%2024
29Nigeria
68.7%2025
30Tanzania
67.1%2024
31Djibouti
65%2024
32Gabon
64.6%2024
33Ghana
63.8%2024
34Madagascar
57.6%2024
35Rwanda
50.4%2024
36Liberia
45.6%2024
37Zimbabwe
42.9%2024
38Cameroon
26.9%2024
39Angola
26.3%2024
40Guinea
24.8%2024
41Burundi
24.5%2024
42Sudan
20.3%2024
43Mozambique
16.6%2024
44Zambia
12.5%2024
45Kenya
10%2025
46Sierra Leone
4.8%2024
47Malawi
4.4%2024
48Eswatini
3.3%2024
49Uganda
2.9%2024
50Namibia
2.4%2024
51Central African Republic
0%2023
52Democratic Republic of the Congo
0%2024
53Ethiopia
0%2025
54Lesotho
0%2022

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest Fossil Share of Electricity figure for every country you pass — JSON, with source metadata on each observation.

curl "https://api.africa-api.com/v1/data?metric_key=fossil_electricity_share_pct&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Data: Africa APIOWID ENERGY, 2023. 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/fossil-electricity-share" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Fossil Share of Electricity 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/fossil-electricity-share">Fossil Share of Electricity by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest fossil fuels' share of electricity generation?

Comoros has the highest fossil fuels' share of electricity generation in Africa at 100% (2023), followed by Gambia and Guinea-Bissau.

Which African country has the lowest fossil fuels' share of electricity generation?

Lesotho has the lowest fossil fuels' share of electricity generation of the 54 African countries with data, at 0% (2022).

How many African countries report Fossil Share of Electricity data?

54 of 54 African countries have a recent Fossil Share of Electricity 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=fossil_electricity_share_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 energy rankings