Energy · Total electricity generation
In 2026, Morocco generated 45 TWh of electricity, ranking 57 globally. The backbone of generation remains gas and coal thermal plants near major ports like Casablanca and Mohammedia, but the share of wind and solar is steadily increasing. With the launch of the Noor complex in Ouarzazate, the country has become one of Africa's leaders in solar energy, gradually reshaping its generation mix.
Data for 2026 · unit: TWh
Position
#57 / 197
Morocco world ranking
Country position on the scale from last to first place for this indicator.
MA
#57
#197#1
Trend
Change over time
Change in indicator over the available period.
0.0
1900
0.3
1950
12.0
1990
18.0
2000
25.0
2010
38.0
2020
45.0
2026
Values — TWh
Comparison
Top countries by Total electricity generation
Where Morocco stands in the world ranking.
1
CNChina
9.5 K
2
USUSA
4.4 K
3
INIndia
1.9 K
4
RURussia
1.1 K
5
JPJapan
1.0 K
6
BRBrazil
680.0
7
CACanada
640.0
8
KRSouth Korea
600.0
Full world rankingarrow_forward
People also search for
Other pages of the reference by this indicator.
Frequently asked questions
Total electricity generation in Morocco — how much?
Based on 2026 data — 45 TWh. This is rank #57 out of 197 countries.
What is Morocco's rank by Total electricity generation?
Morocco ranks #57 out of 197 countries in the world ranking by «Total electricity generation».
How has Total electricity generation changed in Morocco?
Over the available period the indicator changed from 0 to 45 TWh.