54 country profiles · 207 indicator definitionsAPI dataGet API key

Energy · Africa ranking

Solar Capacity by African country

11.3K MWSouth Africa · highest shown · 2025

South Africa has the highest reported installed solar electricity capacity among the 54 countries shown, at 11.3K MW (2025).

Installed solar electricity capacity, in megawatts (IRENA). 54 of 54 countries are shown. Open a country to see its source details and available history.

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

By region

total of countries shown

The 5 largest values account for 78% of the total across the countries shown.

Southern Africa12.3K MW
7 countries shown · highest value: South Africa
North Africa5.9K MW
6 countries shown · highest value: Egypt
West Africa1.6K MW
16 countries shown · highest value: Senegal
East Africa1.3K MW
16 countries shown · highest value: Kenya
Central Africa668.4 MW
9 countries shown · highest value: 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

Request the latest available Solar Capacity values for the selected countries as JSON. The response includes source metadata; check reporting periods before comparing values.

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

Check the original source's reuse conditions before republishing. Keep each observation's source and reporting period with the value, and link to this page. See the terms and source metadata reference.

Embed this ranking

iframe snippet

Paste this snippet into a page that supports iframes. The chart loads the available ranking observations and includes their reporting periods. A link to this page 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>

About this ranking

Which observations are included?

The table includes 54 of 54 countries with available observations for 2023 or later and within 2 years of the freshest result. Each row shows its reporting period. Countries without an eligible observation are omitted.

Does a higher value mean a better result?

The table is sorted by value, from highest to lowest. The order does not rate a country's performance. Interpretation depends on the indicator and its definition.

More energy rankings