54 countries · 127 indicators · 45 sourcesLiveGet API key

Energy · Africa ranking

Solar Capacity by African country

11.3K MWSouth Africa leads · 2025

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.

#1 vs #541125522×South Africa vs Equatorial Guinea
Median45.9 MWSomalia
Lowest0 MWEquatorial Guinea

By region

regional total

The top 5 countries account for 78% of Africa's total installed solar electricity capacity.

Southern Africa12.3K MW
7 countries · led by South Africa
North Africa5.9K MW
6 countries · led by Egypt
West Africa1.6K MW
16 countries · led by Senegal
East Africa1.3K MW
16 countries · led by Kenya
Central Africa668.4 MW
9 countries · led by Angola

Full ranking

54 of 54 countries
#CountrySolar CapacityPeriod
1South Africa
11.3K MW2025
2Egypt
3.3K MW2025
3Morocco
1.1K MW2025
4Tunisia
894.9 MW2025
5Kenya
551.1 MW2025
6Algeria
461.8 MW2025
7Namibia
388.9 MW2025
8Angola
384.6 MW2025
9Zambia
328.1 MW2025
10Senegal
289.9 MW2025
11Nigeria
284.5 MW2025
12Burkina Faso
205.6 MW2025
13Sudan
190.3 MW2025
14Ghana
185.5 MW2025
15Mozambique
175.4 MW2025
16Mauritania
169 MW2025
17Botswana
168.9 MW2025
18Mauritius
155.1 MW2025
19Mali
136.5 MW2025
20Chad
111 MW2025
21Malawi
104.9 MW2025
22Zimbabwe
104.8 MW2025
23Uganda
95.8 MW2025
24Cameroon
89.6 MW2025
25Togo
86.6 MW2025
26Niger
82.9 MW2025
27Madagascar
63.2 MW2025
28Somalia
45.9 MW2025
29South Sudan
44.7 MW2025
30Central African Republic
40.5 MW2025
31Cote d'Ivoire
39.1 MW2025
32Benin
35.3 MW2025
33Cabo Verde
32.7 MW2025
34Lesotho
28.8 MW2025
35Democratic Republic of the Congo
28.8 MW2025
36Eswatini
27.9 MW2025
37Eritrea
25.1 MW2025
38Gambia
24.7 MW2025
39Ethiopia
21.6 MW2025
40Seychelles
18.9 MW2025
41Sierra Leone
17.4 MW2025
42Guinea
17.3 MW2025
43Rwanda
15.2 MW2025
44Tanzania
12.2 MW2025
45Gabon
11.5 MW2025
46Burundi
10 MW2025
47Libya
9.5 MW2025
48Comoros
9.4 MW2025
49Liberia
3.7 MW2025
50Guinea-Bissau
2.8 MW2025
51Sao Tome and Principe
1.7 MW2025
52Republic of the Congo
0.8 MW2025
53Djibouti
0.7 MW2025
54Equatorial Guinea
0 MW2025

Get this ranking via API

GET /v1/data

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 APIIRENA 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

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/solar-capacity" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Solar Capacity 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/solar-capacity">Solar Capacity by African country — Africa API</a></p>

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