Energy · Total electricity generation
In 2026, Spain generated 270 TWh of electricity, ranking 20th globally. The generation mix is led by gas-fired plants, with wind and solar rapidly gaining share, especially in Extremadura and Galicia. Nuclear plants in central provinces provide a stable baseload, complementing renewable sources.
Data for 2026 · unit: TWh
Position
#20 / 197
Spain world ranking
Country position on the scale from last to first place for this indicator.
ES
#20
#197#1
Trend
Change over time
Change in indicator over the available period.
0.2
1900
7.0
1950
150.0
1990
220.0
2000
285.0
2010
250.0
2020
270.0
2026
Values — TWh
Comparison
Top countries by Total electricity generation
Where Spain 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 Spain — how much?
Based on 2026 data — 270 TWh. This is rank #20 out of 197 countries.
What is Spain's rank by Total electricity generation?
Spain ranks #20 out of 197 countries in the world ranking by «Total electricity generation».
How has Total electricity generation changed in Spain?
Over the available period the indicator changed from 0.2 to 270 TWh.