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.

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).

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.