Energy · Africa ranking
Solar Capacity by African country
South Africa has the highest installed solar electricity capacity of any African country, at 11.3K MW — 3.4× Egypt's 3.3K MW.
Installed solar electricity capacity, in megawatts (IRENA). 54 of 54 countries, ranked · IRENA RENEWABLES, 2025.
By region
The top 5 countries account for 78% of Africa's total installed solar electricity capacity.
Full ranking
| # | Country | Solar Capacity | |
|---|---|---|---|
| 1 | South Africa | 11.3K MW | |
| 2 | Egypt | 3.3K MW | |
| 3 | Morocco | 1.1K MW | |
| 4 | Tunisia | 894.9 MW | |
| 5 | Kenya | 551.1 MW | |
| 6 | Algeria | 461.8 MW | |
| 7 | Namibia | 388.9 MW | |
| 8 | Angola | 384.6 MW | |
| 9 | Zambia | 328.1 MW | |
| 10 | Senegal | 289.9 MW | |
| 11 | Nigeria | 284.5 MW | |
| 12 | Burkina Faso | 205.6 MW | |
| 13 | Sudan | 190.3 MW | |
| 14 | Ghana | 185.5 MW | |
| 15 | Mozambique | 175.4 MW | |
| 16 | Mauritania | 169 MW | |
| 17 | Botswana | 168.9 MW | |
| 18 | Mauritius | 155.1 MW | |
| 19 | Mali | 136.5 MW | |
| 20 | Chad | 111 MW | |
| 21 | Malawi | 104.9 MW | |
| 22 | Zimbabwe | 104.8 MW | |
| 23 | Uganda | 95.8 MW | |
| 24 | Cameroon | 89.6 MW | |
| 25 | Togo | 86.6 MW | |
| 26 | Niger | 82.9 MW | |
| 27 | Madagascar | 63.2 MW | |
| 28 | Somalia | 45.9 MW | |
| 29 | South Sudan | 44.7 MW | |
| 30 | Central African Republic | 40.5 MW | |
| 31 | Cote d'Ivoire | 39.1 MW | |
| 32 | Benin | 35.3 MW | |
| 33 | Cabo Verde | 32.7 MW | |
| 34 | Lesotho | 28.8 MW | |
| 35 | Democratic Republic of the Congo | 28.8 MW | |
| 36 | Eswatini | 27.9 MW | |
| 37 | Eritrea | 25.1 MW | |
| 38 | Gambia | 24.7 MW | |
| 39 | Ethiopia | 21.6 MW | |
| 40 | Seychelles | 18.9 MW | |
| 41 | Sierra Leone | 17.4 MW | |
| 42 | Guinea | 17.3 MW | |
| 43 | Rwanda | 15.2 MW | |
| 44 | Tanzania | 12.2 MW | |
| 45 | Gabon | 11.5 MW | |
| 46 | Burundi | 10 MW | |
| 47 | Libya | 9.5 MW | |
| 48 | Comoros | 9.4 MW | |
| 49 | Liberia | 3.7 MW | |
| 50 | Guinea-Bissau | 2.8 MW | |
| 51 | Sao Tome and Principe | 1.7 MW | |
| 52 | Republic of the Congo | 0.8 MW | |
| 53 | Djibouti | 0.7 MW | |
| 54 | Equatorial Guinea | 0 MW |
Get this ranking via API
One call to /v1/data returns the latest Solar Capacity figure for every country you pass — JSON, with source metadata on each observation.
curl "https://api.africa-api.com/v1/data?metric_key=solar_capacity_mw&latest=true&country_codes=NG,KE,ZA,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Cite or republish this ranking
Data: Africa API — IRENA RENEWABLES, 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 installed solar electricity capacity?
South Africa has the highest installed solar electricity capacity in Africa at 11.3K MW (2025), followed by Egypt and Morocco.
Which African country has the lowest installed solar electricity capacity?
Equatorial Guinea has the lowest installed solar electricity capacity of the 54 African countries with data, at 0 MW (2025).
How many African countries report Solar Capacity data?
54 of 54 African countries have a recent Solar Capacity 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_capacity_mw&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