Energy · Africa ranking
Solar Share of Electricity by African country
Namibia has the highest solar's share of electricity generation of any African country, at 35.4% — 1.9× Somalia's 18.6%.
Share of electricity generation that comes from solar (Ember via Our World in Data). 54 of 54 countries, ranked · OWID ENERGY, 2024.
By region
Full ranking
| # | Country | Solar Share of Electricity | |
|---|---|---|---|
| 1 | Namibia | 35.4% | |
| 2 | Somalia | 18.6% | |
| 3 | Togo | 18.3% | |
| 4 | Democratic Republic of the Congo | 15.8% | |
| 5 | Cabo Verde | 15.4% | |
| 6 | Seychelles | 14.3% | |
| 7 | Eritrea | 11.1% | |
| 8 | Sierra Leone | 9.5% | |
| 9 | Senegal | 8.9% | |
| 10 | South Africa | 8% | |
| 11 | Mauritania | 7.7% | |
| 12 | Burkina Faso | 6.5% | |
| 13 | Morocco | 5.8% | |
| 14 | Mauritius | 5% | |
| 15 | Eswatini | 4.9% | |
| 16 | Kenya | 4.6% | |
| 17 | Madagascar | 4.1% | |
| 18 | Benin | 4% | |
| 19 | Rwanda | 3.5% | |
| 20 | Niger | 3.2% | |
| 21 | Egypt | 3.1% | |
| 22 | Uganda | 2.9% | |
| 23 | Mali | 2.9% | |
| 24 | Angola | 2.8% | |
| 25 | Tunisia | 2.5% | |
| 26 | South Sudan | 1.8% | |
| 27 | Liberia | 1.8% | |
| 28 | Sudan | 1.1% | |
| 29 | Algeria | 1% | |
| 30 | Zambia | 0.9% | |
| 31 | Guinea | 0.7% | |
| 32 | Ghana | 0.7% | |
| 33 | Cameroon | 0.6% | |
| 34 | Malawi | 0.5% | |
| 35 | Tanzania | 0.5% | |
| 36 | Mozambique | 0.4% | |
| 37 | Zimbabwe | 0.4% | |
| 38 | Nigeria | 0.3% | |
| 39 | Botswana | 0.3% | |
| 40 | Cote d'Ivoire | 0.2% | |
| 41 | Republic of the Congo | 0.2% | |
| 42 | Ethiopia | 0.1% | |
| 43 | Libya | 0% | |
| 44 | Burundi | 0% | |
| 45 | Central African Republic | 0% | |
| 46 | Chad | 0% | |
| 47 | Comoros | 0% | |
| 48 | Djibouti | 0% | |
| 49 | Equatorial Guinea | 0% | |
| 50 | Gabon | 0% | |
| 51 | Gambia | 0% | |
| 52 | Guinea-Bissau | 0% | |
| 53 | Lesotho | 0% | |
| 54 | Sao Tome and Principe | 0% |
Get this ranking via API
One call to /v1/data returns the latest Solar 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=solar_electricity_share_pct&latest=true&country_codes=NG,KE,ZA,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Cite or republish this ranking
Data: Africa API — OWID ENERGY, 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 solar's share of electricity generation?
Namibia has the highest solar's share of electricity generation in Africa at 35.4% (2024), followed by Somalia and Togo.
Which African country has the lowest solar's share of electricity generation?
Sao Tome and Principe has the lowest solar's share of electricity generation of the 54 African countries with data, at 0% (2023).
How many African countries report Solar Share of Electricity data?
54 of 54 African countries have a recent Solar 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=solar_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