Electricity generation in Spain

Spain: Electricity generation was 287.89 terawatt-hours in 2025. ▲ Rising

Latest (2025)
287.89 terawatt-hours
Change on year
up 2.5%
World rank
19th
of 214 countries
All-time high
309.79 terawatt-hours
in 2008
All-time low
126.56 terawatt-hours
in 1985
Years of data
41
1985–2025

Electricity generation in Spain, 1985–2025

01002003001985200520251985: 126.6 terawatt-hours1986: 128.5 terawatt-hours1987: 132.7 terawatt-hours1988: 138.8 terawatt-hours1989: 147.1 terawatt-hours1990: 151.2 terawatt-hours1991: 154.7 terawatt-hours1992: 156.7 terawatt-hours1993: 155.1 terawatt-hours1994: 160.2 terawatt-hours1995: 165.1 terawatt-hours1996: 173.2 terawatt-hours1997: 189.1 terawatt-hours1998: 193.4 terawatt-hours1999: 205.6 terawatt-hours2000: 220.9 terawatt-hours2001: 233.1 terawatt-hours2002: 239.9 terawatt-hours2003: 257.3 terawatt-hours2004: 276.6 terawatt-hours2005: 289.5 terawatt-hours2006: 295.6 terawatt-hours2007: 301.9 terawatt-hours2008: 309.8 terawatt-hours2009: 290.7 terawatt-hours2010: 297.8 terawatt-hours2011: 291.5 terawatt-hours2012: 293.9 terawatt-hours2013: 281.5 terawatt-hours2014: 274.4 terawatt-hours2015: 277.2 terawatt-hours2016: 270.7 terawatt-hours2017: 272.4 terawatt-hours2018: 271.4 terawatt-hours2019: 270.5 terawatt-hours2020: 259.5 terawatt-hours2021: 270.8 terawatt-hours2022: 287.1 terawatt-hours2023: 279.1 terawatt-hours2024: 280.9 terawatt-hours2025: 287.9 terawatt-hours

Source: Ember (2026) and other sources – with major processing by Our World in Data. Measured in terawatt-hours.

Analysis

Spain recorded 287.89 terawatt-hours for electricity generation in 2025.

Compared with earlier readings it is up 2.5% on the previous year and up 3.9% over ten years.

Over the whole period, electricity generation in Spain peaked at 309.79 terawatt-hours in 2008 and was at its lowest, 126.56 terawatt-hours, in 1985.

That places Spain 19th out of 214 countries with data for 2025, putting it in the top 10%.

The long-run direction has been consistently rising across the 41 years of available data.

Electricity generation in Spain, year by year

Annual values for Electricity generation in Spain, 1985 to 2025.
Year terawatt-hours Change
1985 126.56 terawatt-hours
1986 128.54 terawatt-hours +1.6%
1987 132.66 terawatt-hours +3.2%
1988 138.76 terawatt-hours +4.6%
1989 147.06 terawatt-hours +6.0%
1990 151.16 terawatt-hours +2.8%
1991 154.71 terawatt-hours +2.3%
1992 156.65 terawatt-hours +1.3%
1993 155.12 terawatt-hours -1.0%
1994 160.19 terawatt-hours +3.3%
1995 165.07 terawatt-hours +3.0%
1996 173.21 terawatt-hours +4.9%
1997 189.13 terawatt-hours +9.2%
1998 193.39 terawatt-hours +2.3%
1999 205.63 terawatt-hours +6.3%
2000 220.92 terawatt-hours +7.4%
2001 233.07 terawatt-hours +5.5%
2002 239.91 terawatt-hours +2.9%
2003 257.3 terawatt-hours +7.2%
2004 276.61 terawatt-hours +7.5%
2005 289.46 terawatt-hours +4.6%
2006 295.59 terawatt-hours +2.1%
2007 301.86 terawatt-hours +2.1%
2008 309.79 terawatt-hours +2.6%
2009 290.72 terawatt-hours -6.2%
2010 297.8 terawatt-hours +2.4%
2011 291.54 terawatt-hours -2.1%
2012 293.95 terawatt-hours +0.8%
2013 281.46 terawatt-hours -4.2%
2014 274.44 terawatt-hours -2.5%
2015 277.17 terawatt-hours +1.0%
2016 270.7 terawatt-hours -2.3%
2017 272.38 terawatt-hours +0.6%
2018 271.4 terawatt-hours -0.4%
2019 270.52 terawatt-hours -0.3%
2020 259.47 terawatt-hours -4.1%
2021 270.75 terawatt-hours +4.3%
2022 287.15 terawatt-hours +6.1%
2023 279.11 terawatt-hours -2.8%
2024 280.94 terawatt-hours +0.7%
2025 287.89 terawatt-hours +2.5%

Spain compared with similar countries

  • Spain's 287.89 terawatt-hours is above the median for high income countries, which is 30.95 terawatt-hours, 9.3× the median. (75 countries reporting)
  • Spain's 287.89 terawatt-hours is above the median for Europe & Central Asia, which is 36.62 terawatt-hours, 7.9× the median. (51 countries reporting)

Averages by decade

DecadeAverage LowestHighest Years
1980s 134.72 terawatt-hours 126.56 terawatt-hours 147.06 terawatt-hours 5
1990s 170.43 terawatt-hours 151.16 terawatt-hours 205.63 terawatt-hours 10
2000s 271.52 terawatt-hours 220.92 terawatt-hours 309.79 terawatt-hours 10
2010s 280.14 terawatt-hours 270.52 terawatt-hours 297.8 terawatt-hours 10
2020s 277.55 terawatt-hours 259.47 terawatt-hours 287.89 terawatt-hours 6

Countries ranked near Spain

  1. 16 Vietnam 309.99 terawatt-hours compare
  2. 17 United Kingdom 292.31 terawatt-hours compare
  3. 18 Taiwan 288.39 terawatt-hours compare
  4. 20 Australia 286.34 terawatt-hours compare
  5. 21 Italy 264.7 terawatt-hours compare
  6. 22 Egypt 245.71 terawatt-hours compare

See the full ranking of 216 places →

More energy & mining data for Spain

All data for Spain →

Frequently asked questions

What is electricity generation in Spain?
Electricity generation in Spain was 287.89 terawatt-hours in 2025, according to Ember (2026) and other sources – with major processing by Our World in Data.
What is the highest electricity generation recorded in Spain?
The highest recorded value was 309.79 terawatt-hours in 2008.
What is the lowest electricity generation recorded in Spain?
The lowest recorded value was 126.56 terawatt-hours in 1985.
How does Spain rank for electricity generation?
Spain ranks 19th out of 214 countries with data for 2025.
Is electricity generation rising or falling in Spain?
Over the last ten years it is up 3.9%. The long-run trend across the full record is rising.
Where does this Spain data come from?
The figures come from Ember (2026) and other sources – with major processing by Our World in Data, published as part of Electricity generation. Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 41 observations, free to reuse under CC BY 4.0 (Our World in Data).

Share, cite or embed this page

Cite this page

Electricity generation in Spain. Statizoid, drawing on Ember (2026) and other sources – with major processing by Our World in Data. Retrieved 22 September 2026, from https://energy.statizoid.com/stat/electricity-generation/spain/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://energy.statizoid.com/stat/electricity-generation/spain/">Electricity generation in Spain</a> — Statizoid

About this data

Indicator
Electricity generation
Unit
terawatt-hours
Source
Ember (2026) and other sources – with major processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
216 places, 6,724 data points, 1920–2025
Last refreshed

Total electricity generated in each country or region, measured in terawatt-hours.