Electricity generation from fossil fuels in Spain
Spain: Electricity generation from fossil fuels was 73.01 terawatt-hours in 2025. ▲ Rising
Electricity generation from fossil fuels in Spain, 1985–2025
Source: Ember (2026) and other sources – with major processing by Our World in Data. Measured in terawatt-hours.
Analysis
In 2025, electricity generation from fossil fuels in Spain stood at 73.01 terawatt-hours.
That represents a change of up 11.8% on the previous year and down 40.6% over ten years.
Over the whole period, electricity generation from fossil fuels in Spain peaked at 189.65 terawatt-hours in 2005 and was at its lowest, 51.37 terawatt-hours, in 1988.
That places Spain 34th out of 214 countries with data for 2025, putting it in the top quarter.
The long-run direction has been consistently rising across the 41 years of available data.
Electricity generation from fossil fuels in Spain, year by year
| Year | terawatt-hours | Change |
|---|---|---|
| 1985 | 64.87 terawatt-hours | — |
| 1986 | 63.11 terawatt-hours | -2.7% |
| 1987 | 62.66 terawatt-hours | -0.7% |
| 1988 | 51.37 terawatt-hours | -18.0% |
| 1989 | 70.16 terawatt-hours | +36.6% |
| 1990 | 70.86 terawatt-hours | +1.0% |
| 1991 | 71.32 terawatt-hours | +0.6% |
| 1992 | 81.27 terawatt-hours | +14.0% |
| 1993 | 73.93 terawatt-hours | -9.0% |
| 1994 | 75.82 terawatt-hours | +2.6% |
| 1995 | 85.23 terawatt-hours | +12.4% |
| 1996 | 75.63 terawatt-hours | -11.3% |
| 1997 | 96.86 terawatt-hours | +28.1% |
| 1998 | 97.51 terawatt-hours | +0.7% |
| 1999 | 119.57 terawatt-hours | +22.6% |
| 2000 | 124.22 terawatt-hours | +3.9% |
| 2001 | 120.06 terawatt-hours | -3.3% |
| 2002 | 143.72 terawatt-hours | +19.7% |
| 2003 | 139.67 terawatt-hours | -2.8% |
| 2004 | 162.87 terawatt-hours | +16.6% |
| 2005 | 189.65 terawatt-hours | +16.4% |
| 2006 | 183.31 terawatt-hours | -3.3% |
| 2007 | 188.46 terawatt-hours | +2.8% |
| 2008 | 188.67 terawatt-hours | +0.1% |
| 2009 | 163.88 terawatt-hours | -13.1% |
| 2010 | 138.04 terawatt-hours | -15.8% |
| 2011 | 146.29 terawatt-hours | +6.0% |
| 2012 | 145.51 terawatt-hours | -0.5% |
| 2013 | 113.32 terawatt-hours | -22.1% |
| 2014 | 106.87 terawatt-hours | -5.7% |
| 2015 | 122.89 terawatt-hours | +15.0% |
| 2016 | 107.44 terawatt-hours | -12.6% |
| 2017 | 126.41 terawatt-hours | +17.7% |
| 2018 | 111.76 terawatt-hours | -11.6% |
| 2019 | 111.18 terawatt-hours | -0.5% |
| 2020 | 87.38 terawatt-hours | -21.4% |
| 2021 | 88.44 terawatt-hours | +1.2% |
| 2022 | 105.65 terawatt-hours | +19.5% |
| 2023 | 78.46 terawatt-hours | -25.7% |
| 2024 | 65.33 terawatt-hours | -16.7% |
| 2025 | 73.01 terawatt-hours | +11.8% |
Spain compared with similar countries
- Spain's 73.01 terawatt-hours is above the median for high income countries, which is 4.3 terawatt-hours, 17.0× the median. (75 countries reporting)
- Spain's 73.01 terawatt-hours is above the median for Europe & Central Asia, which is 8.15 terawatt-hours, 9.0× the median. (51 countries reporting)
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 1980s | 62.43 terawatt-hours | 51.37 terawatt-hours | 70.16 terawatt-hours | 5 |
| 1990s | 84.8 terawatt-hours | 70.86 terawatt-hours | 119.57 terawatt-hours | 10 |
| 2000s | 160.45 terawatt-hours | 120.06 terawatt-hours | 189.65 terawatt-hours | 10 |
| 2010s | 122.97 terawatt-hours | 106.87 terawatt-hours | 146.29 terawatt-hours | 10 |
| 2020s | 83.05 terawatt-hours | 65.33 terawatt-hours | 105.65 terawatt-hours | 6 |
Countries ranked near Spain
More energy & mining data for Spain
- Fossil fuel consumption by fuel, per unit of GDP 0 terawatt-hours per US$ of GDP (2025)
- Primary energy use, annual growth rate 2.17 % change on previous year (2025)
- Coal consumption, per capita 0 terawatt-hours per person (2025)
- Coal consumption, per unit of GDP 0 terawatt-hours per US$ of GDP (2025)
- Primary energy use, per unit of GDP 0 terawatt-hours per US$ of GDP (2025)
- Primary energy use, per capita 0 terawatt-hours per person (2025)
- Coal production, per capita 0 terawatt-hours per person (2025)
- Coal production, per unit of GDP 0 terawatt-hours per US$ of GDP (2025)
- Fossil fuel consumption by fuel, per capita 0 terawatt-hours per person (2025)
- Fuel imports 13.4% (2024)
Frequently asked questions
- What is electricity generation from fossil fuels in Spain?
- Electricity generation from fossil fuels in Spain was 73.01 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 from fossil fuels recorded in Spain?
- The highest recorded value was 189.65 terawatt-hours in 2005.
- What is the lowest electricity generation from fossil fuels recorded in Spain?
- The lowest recorded value was 51.37 terawatt-hours in 1988.
- How does Spain rank for electricity generation from fossil fuels?
- Spain ranks 34th out of 214 countries with data for 2025.
- Is electricity generation from fossil fuels rising or falling in Spain?
- Over the last ten years it is down 40.6%. 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 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
Electricity generation from coal, oil, and gas, measured in terawatt-hours.