Share of electricity generation from solar in Spain

Spain: Share of electricity generation from solar was 21.8% in 2025. ◆ Volatile

Latest (2025)
21.8%
Change on year
up 5.3%
World rank
12th
of 213 countries
All-time high
21.8%
in 2025
All-time low
0.0%
in 1985
Years of data
41
1985–2025

Share of electricity generation from solar in Spain, 1985–2025

051015201985200520251985: 0 %1986: 0 %1987: 0 %1988: 0 %1989: 0.004 %1990: 0.007 %1991: 0.006 %1992: 0.006 %1993: 0.006 %1994: 0.006 %1995: 0.012 %1996: 0.012 %1997: 0.011 %1998: 0.01 %1999: 0.015 %2000: 0.005 %2001: 0.009 %2002: 0.008 %2003: 0.008 %2004: 0.007 %2005: 0.017 %2006: 0.041 %2007: 0.172 %2008: 0.833 %2009: 2.1 %2010: 2.4 %2011: 3.2 %2012: 4.1 %2013: 4.7 %2014: 5 %2015: 5 %2016: 5 %2017: 5.3 %2018: 4.7 %2019: 5.6 %2020: 8 %2021: 10 %2022: 12.4 %2023: 17.4 %2024: 20.7 %2025: 21.8 %

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

Analysis

Spain recorded 21.8% for share of electricity generation from solar in 2025. That is the highest value across all 41 years on record.

That represents a change of up 5.3% on the previous year and up 336.9% over ten years.

Over the whole period, share of electricity generation from solar in Spain peaked at 21.8% in 2025 and was at its lowest, 0.0%, in 1985.

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

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

Share of electricity generation from solar in Spain, year by year

Annual values for Share of electricity generation from solar in Spain, 1985 to 2025.
Year % Change
1985 0.0%
1986 0.0%
1987 0.0%
1988 0.0%
1989 0.0%
1990 0.0% +60.5%
1991 0.0% -2.3%
1992 0.0% -1.2%
1993 0.0% +1.0%
1994 0.0% -3.2%
1995 0.0% +94.1%
1996 0.0% -4.7%
1997 0.0% -8.4%
1998 0.0% -2.2%
1999 0.0% +41.1%
2000 0.0% -69.0%
2001 0.0% +89.6%
2002 0.0% -2.9%
2003 0.0% -6.8%
2004 0.0% -7.0%
2005 0.0% +138.9%
2006 0.0% +135.0%
2007 0.2% +324.3%
2008 0.8% +383.5%
2009 2.1% +150.3%
2010 2.4% +15.8%
2011 3.2% +33.5%
2012 4.1% +26.3%
2013 4.7% +14.3%
2014 5.0% +7.0%
2015 5.0% +0.4%
2016 5.0% +0.8%
2017 5.3% +4.9%
2018 4.7% -11.2%
2019 5.6% +18.9%
2020 8.0% +42.7%
2021 10.0% +25.6%
2022 12.4% +24.3%
2023 17.4% +39.9%
2024 20.7% +19.2%
2025 21.8% +5.3%

Spain compared with similar countries

  • Spain's 21.8% is above the median for high income countries, which is 6.1%, 3.6× the median. (75 countries reporting)
  • Spain's 21.8% is above the median for Europe & Central Asia, which is 6.6%, 3.3× the median. (51 countries reporting)

Biggest year-on-year movements

Years where Share of 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 +383.5% 0.2% 0.8%
2007 +324.3% 0.0% 0.2%

Averages by decade

DecadeAverage LowestHighest Years
1980s 0.0% 0.0% 0.0% 5
1990s 0.0% 0.0% 0.0% 10
2000s 0.3% 0.0% 2.1% 10
2010s 4.5% 2.4% 5.6% 10
2020s 15.1% 8.0% 21.8% 6

Countries ranked near Spain

  1. 9 North Macedonia 23.8% compare
  2. 10 Cyprus 23.2% compare
  3. 11 Greece 22.2% compare
  4. 13 Netherlands 21.1% compare
  5. 14 El Salvador 20.3% compare
  6. 15 Nauru 20.0% compare

See the full ranking of 215 places →

More energy & mining data for Spain

All data for Spain →

Frequently asked questions

What is share of electricity generation from solar in Spain?
Share of electricity generation from solar in Spain was 21.8% in 2025, according to Ember (2026) and other sources – with major processing by Our World in Data.
What is the highest share of electricity generation from solar recorded in Spain?
The highest recorded value was 21.8% in 2025.
What is the lowest share of electricity generation from solar recorded in Spain?
The lowest recorded value was 0.0% in 1985.
How does Spain rank for share of electricity generation from solar?
Spain ranks 12th out of 213 countries with data for 2025.
Is share of electricity generation from solar rising or falling in Spain?
Over the last ten years it is up 336.9%. The long-run trend across the full record is volatile.
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 Share of electricity generation from solar. 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

Share of electricity generation from solar in Spain. Statizoid, drawing on Ember (2026) and other sources – with major processing by Our World in Data. Retrieved 23 September 2026, from https://energy.statizoid.com/stat/share-electricity-solar/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/share-electricity-solar/spain/">Share of electricity generation from solar in Spain</a> — Statizoid

About this data

Indicator
Share of electricity generation from solar
Unit
%
Source
Ember (2026) and other sources – with major processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
215 places, 6,480 data points, 1920–2025
Last refreshed

Measured as a percentage of total electricity produced in the country or region.