Electricity generation from solar in Spain

Spain: Electricity generation from solar was 62.9 terawatt-hours in 2025. ◆ Volatile

Latest (2025)
62.9 terawatt-hours
Change on year
up 7.9%
World rank
7th
of 214 countries
All-time high
62.9 terawatt-hours
in 2025
All-time low
0 terawatt-hours
in 1965
Years of data
61
1965–2025

Electricity generation from solar in Spain, 1965–2025

0204060196519952025

Source: Ember (2026); Energy Institute – Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data. Measured in terawatt-hours.

Analysis

Spain recorded 62.9 terawatt-hours for electricity generation from solar in 2025. That is the highest value across all 61 years on record.

The figure is up 7.9% on the previous year and up 353.8% over ten years.

Over the whole period, electricity generation from solar in Spain peaked at 62.9 terawatt-hours in 2025 and was at its lowest, 0 terawatt-hours, in 1965.

Spain ranks 7th of 214 countries on this measure, in the top 10%.

The series is highly variable year to year, so single readings are best treated with caution.

Electricity generation from solar in Spain, year by year

Annual values for Electricity generation from solar in Spain, 1965 to 2025.
Year terawatt-hours Change
1965 0 terawatt-hours
1966 0 terawatt-hours
1967 0 terawatt-hours
1968 0 terawatt-hours
1969 0 terawatt-hours
1970 0 terawatt-hours
1971 0 terawatt-hours
1972 0 terawatt-hours
1973 0 terawatt-hours
1974 0 terawatt-hours
1975 0 terawatt-hours
1976 0 terawatt-hours
1977 0 terawatt-hours
1978 0 terawatt-hours
1979 0 terawatt-hours
1980 0 terawatt-hours
1981 0 terawatt-hours
1982 0 terawatt-hours
1983 0 terawatt-hours
1984 0 terawatt-hours
1985 0 terawatt-hours
1986 0 terawatt-hours
1987 0 terawatt-hours
1988 0 terawatt-hours
1989 0.0061 terawatt-hours
1990 0.01 terawatt-hours +65.0%
1991 0.01 terawatt-hours +0.0%
1992 0.01 terawatt-hours +0.0%
1993 0.01 terawatt-hours +0.0%
1994 0.01 terawatt-hours +0.0%
1995 0.02 terawatt-hours +100.0%
1996 0.02 terawatt-hours +0.0%
1997 0.02 terawatt-hours +0.0%
1998 0.02 terawatt-hours +0.0%
1999 0.03 terawatt-hours +50.0%
2000 0.01 terawatt-hours -66.7%
2001 0.02 terawatt-hours +100.0%
2002 0.02 terawatt-hours +0.0%
2003 0.02 terawatt-hours +0.0%
2004 0.02 terawatt-hours +0.0%
2005 0.05 terawatt-hours +150.0%
2006 0.12 terawatt-hours +140.0%
2007 0.52 terawatt-hours +333.3%
2008 2.58 terawatt-hours +396.2%
2009 6.06 terawatt-hours +134.9%
2010 7.19 terawatt-hours +18.6%
2011 9.4 terawatt-hours +30.7%
2012 11.97 terawatt-hours +27.3%
2013 13.1 terawatt-hours +9.4%
2014 13.67 terawatt-hours +4.4%
2015 13.86 terawatt-hours +1.4%
2016 13.64 terawatt-hours -1.6%
2017 14.4 terawatt-hours +5.6%
2018 12.74 terawatt-hours -11.5%
2019 15.1 terawatt-hours +18.5%
2020 20.67 terawatt-hours +36.9%
2021 27.1 terawatt-hours +31.1%
2022 35.72 terawatt-hours +31.8%
2023 48.59 terawatt-hours +36.0%
2024 58.29 terawatt-hours +20.0%
2025 62.9 terawatt-hours +7.9%

Spain compared with similar countries

  • Spain's 62.9 terawatt-hours is above the median for high income countries, which is 1 terawatt-hours, 62.9× the median. (75 countries reporting)
  • Spain's 62.9 terawatt-hours is above the median for Europe & Central Asia, which is 1.54 terawatt-hours, 40.8× the median. (51 countries reporting)

Biggest year-on-year movements

Years where Electricity generation from solar in Spain changed far more than this series normally does. A large move can be a real event or a change in how the figure was measured — the source note below says who published it.

YearChange FromTo
2008 +396.2% 0.52 terawatt-hours 2.58 terawatt-hours
2007 +333.3% 0.12 terawatt-hours 0.52 terawatt-hours
2005 +150.0% 0.02 terawatt-hours 0.05 terawatt-hours
2006 +140.0% 0.05 terawatt-hours 0.12 terawatt-hours

Averages by decade

DecadeAverage LowestHighest Years
1960s 0 terawatt-hours 0 terawatt-hours 0 terawatt-hours 5
1970s 0 terawatt-hours 0 terawatt-hours 0 terawatt-hours 10
1980s 0.0006 terawatt-hours 0 terawatt-hours 0.0061 terawatt-hours 10
1990s 0.016 terawatt-hours 0.01 terawatt-hours 0.03 terawatt-hours 10
2000s 0.942 terawatt-hours 0.01 terawatt-hours 6.06 terawatt-hours 10
2010s 12.51 terawatt-hours 7.19 terawatt-hours 15.1 terawatt-hours 10
2020s 42.21 terawatt-hours 20.67 terawatt-hours 62.9 terawatt-hours 6

Countries ranked near Spain

  1. 4 Japan 101.06 terawatt-hours compare
  2. 5 Germany 89.62 terawatt-hours compare
  3. 6 Brazil 88.64 terawatt-hours compare
  4. 8 Australia 56.09 terawatt-hours compare
  5. 9 Italy 44.63 terawatt-hours compare
  6. 10 South Korea 37.8 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 from solar in Spain?
Electricity generation from solar in Spain was 62.9 terawatt-hours in 2025, according to Ember (2026); Energy Institute – Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data.
What is the highest electricity generation from solar recorded in Spain?
The highest recorded value was 62.9 terawatt-hours in 2025.
What is the lowest electricity generation from solar recorded in Spain?
The lowest recorded value was 0 terawatt-hours in 1965.
How does Spain rank for electricity generation from solar?
Spain ranks 7th out of 214 countries with data for 2025.
Is electricity generation from solar rising or falling in Spain?
Over the last ten years it is up 353.8%. The long-run trend across the full record is volatile.
Where does this Spain data come from?
The figures come from Ember (2026); Energy Institute – Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data, published as part of Electricity generation from solar. Statizoid updates them automatically from the source API.

Download this data

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

Share, cite or embed this page

Cite this page

Electricity generation from solar in Spain. Statizoid, drawing on Ember (2026); Energy Institute – Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data. Retrieved 22 September 2026, from https://energy.statizoid.com/stat/solar-energy-consumption/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/solar-energy-consumption/spain/">Electricity generation from solar in Spain</a> — Statizoid

About this data

Indicator
Electricity generation from solar
Unit
terawatt-hours
Source
Ember (2026); Energy Institute – Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
216 places, 7,116 data points, 1920–2025
Last refreshed

Measured in terawatt-hours.