Share of electricity generation from fossil fuels in Spain

Spain: Share of electricity generation from fossil fuels was 25.4% in 2025. ▼ Falling

Latest (2025)
25.4%
Change on year
up 9.1%
World rank
162nd
of 213 countries
All-time high
65.5%
in 2005
All-time low
23.3%
in 2024
Years of data
41
1985–2025

Share of electricity generation from fossil fuels in Spain, 1985–2025

02040601985200520251985: 51.3 %1986: 49.1 %1987: 47.2 %1988: 37 %1989: 47.7 %1990: 46.9 %1991: 46.1 %1992: 51.9 %1993: 47.7 %1994: 47.3 %1995: 51.6 %1996: 43.7 %1997: 51.2 %1998: 50.4 %1999: 58.1 %2000: 56.2 %2001: 51.5 %2002: 59.9 %2003: 54.3 %2004: 58.9 %2005: 65.5 %2006: 62 %2007: 62.4 %2008: 60.9 %2009: 56.4 %2010: 46.4 %2011: 50.2 %2012: 49.5 %2013: 40.3 %2014: 38.9 %2015: 44.3 %2016: 39.7 %2017: 46.4 %2018: 41.2 %2019: 41.1 %2020: 33.7 %2021: 32.7 %2022: 36.8 %2023: 28.1 %2024: 23.3 %2025: 25.4 %

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

Analysis

In 2025, share of electricity generation from fossil fuels in Spain stood at 25.4%.

That represents a change of up 9.1% on the previous year and down 42.8% over ten years.

Over the whole period, share of electricity generation from fossil fuels in Spain peaked at 65.5% in 2005 and was at its lowest, 23.3%, in 2024.

Spain ranks 162nd of 213 countries on this measure, in the bottom quarter.

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

Averages by decade

DecadeAverage LowestHighest Years
1980s 46.5% 37.0% 51.3% 5
1990s 49.5% 43.7% 58.1% 10
2000s 58.8% 51.5% 65.5% 10
2010s 43.8% 38.9% 50.2% 10
2020s 30.0% 23.3% 36.8% 6

Countries ranked near Spain

  1. 159 Latvia 27.0% compare
  2. 160 Cameroon 26.9% compare
  3. 161 Angola 26.3% compare
  4. 163 Guinea 24.8% compare
  5. 164 Hungary 24.7% compare
  6. 165 Burundi 24.5% 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 fossil fuels in Spain?
Share of electricity generation from fossil fuels in Spain was 25.4% 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 fossil fuels recorded in Spain?
The highest recorded value was 65.5% in 2005.
What is the lowest share of electricity generation from fossil fuels recorded in Spain?
The lowest recorded value was 23.3% in 2024.
How does Spain rank for share of electricity generation from fossil fuels?
Spain ranks 162nd out of 213 countries with data for 2025.
Is share of electricity generation from fossil fuels rising or falling in Spain?
Over the last ten years it is down 42.8%. The long-run trend across the full record is falling.
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 fossil fuels. 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 fossil fuels
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,213 data points, 1920–2025
Last refreshed

Electricity generation from coal, oil, and gas, measured as a percentage of total electricity produced in the country or region.