Electricity generation from solar and wind compared to coal in Spain
Spain: Electricity generation from solar and wind compared to coal was 121.66 terawatt-hours in 2025. ◆ Volatile
Electricity generation from solar and wind compared to coal in Spain, 1965–2025
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
In 2025, electricity generation from solar and wind compared to coal in Spain stood at 121.66 terawatt-hours. That is the highest value across all 61 years on record.
That represents a change of up 1.0% on the previous year and up 92.6% over ten years.
Over the whole period, electricity generation from solar and wind compared to coal in Spain peaked at 121.66 terawatt-hours in 2025 and was at its lowest, 0 terawatt-hours, in 1965.
Spain ranks 6th of 212 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 and wind compared to coal in Spain, year by year
| 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.0191 terawatt-hours | — |
| 1990 | 0.02 terawatt-hours | +4.9% |
| 1991 | 0.02 terawatt-hours | +0.0% |
| 1992 | 0.11 terawatt-hours | +450.0% |
| 1993 | 0.13 terawatt-hours | +18.2% |
| 1994 | 0.18 terawatt-hours | +38.5% |
| 1995 | 0.29 terawatt-hours | +61.1% |
| 1996 | 0.38 terawatt-hours | +31.0% |
| 1997 | 0.76 terawatt-hours | +100.0% |
| 1998 | 1.37 terawatt-hours | +80.3% |
| 1999 | 2.77 terawatt-hours | +102.2% |
| 2000 | 4.74 terawatt-hours | +71.1% |
| 2001 | 6.78 terawatt-hours | +43.0% |
| 2002 | 9.36 terawatt-hours | +38.1% |
| 2003 | 12.09 terawatt-hours | +29.2% |
| 2004 | 15.72 terawatt-hours | +30.0% |
| 2005 | 21.23 terawatt-hours | +35.1% |
| 2006 | 23.42 terawatt-hours | +10.3% |
| 2007 | 28.09 terawatt-hours | +19.9% |
| 2008 | 35.53 terawatt-hours | +26.5% |
| 2009 | 44.18 terawatt-hours | +24.3% |
| 2010 | 51.46 terawatt-hours | +16.5% |
| 2011 | 52.32 terawatt-hours | +1.7% |
| 2012 | 61.44 terawatt-hours | +17.4% |
| 2013 | 68.74 terawatt-hours | +11.9% |
| 2014 | 65.68 terawatt-hours | -4.5% |
| 2015 | 63.18 terawatt-hours | -3.8% |
| 2016 | 62.54 terawatt-hours | -1.0% |
| 2017 | 63.53 terawatt-hours | +1.6% |
| 2018 | 63.63 terawatt-hours | +0.2% |
| 2019 | 70.75 terawatt-hours | +11.2% |
| 2020 | 77.11 terawatt-hours | +9.0% |
| 2021 | 89.16 terawatt-hours | +15.6% |
| 2022 | 98.5 terawatt-hours | +10.5% |
| 2023 | 112.87 terawatt-hours | +14.6% |
| 2024 | 120.49 terawatt-hours | +6.8% |
| 2025 | 121.66 terawatt-hours | +1.0% |
Spain compared with similar countries
- Spain's 121.66 terawatt-hours is above the median for high income countries, which is 2.15 terawatt-hours, 56.6× the median. (75 countries reporting)
- Spain's 121.66 terawatt-hours is above the median for Europe & Central Asia, which is 5.66 terawatt-hours, 21.5× the median. (51 countries reporting)
Biggest year-on-year movements
Years where Electricity generation from solar and wind compared to coal 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.
| Year | Change | From | To |
|---|---|---|---|
| 1992 | +450.0% | 0.02 terawatt-hours | 0.11 terawatt-hours |
Averages by decade
| Decade | Average | Lowest | Highest | 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.0019 terawatt-hours | 0 terawatt-hours | 0.0191 terawatt-hours | 10 |
| 1990s | 0.603 terawatt-hours | 0.02 terawatt-hours | 2.77 terawatt-hours | 10 |
| 2000s | 20.11 terawatt-hours | 4.74 terawatt-hours | 44.18 terawatt-hours | 10 |
| 2010s | 62.33 terawatt-hours | 51.46 terawatt-hours | 70.75 terawatt-hours | 10 |
| 2020s | 103.3 terawatt-hours | 77.11 terawatt-hours | 121.66 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 solar and wind compared to coal in Spain?
- Electricity generation from solar and wind compared to coal in Spain was 121.66 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 and wind compared to coal recorded in Spain?
- The highest recorded value was 121.66 terawatt-hours in 2025.
- What is the lowest electricity generation from solar and wind compared to coal recorded in Spain?
- The lowest recorded value was 0 terawatt-hours in 1965.
- How does Spain rank for electricity generation from solar and wind compared to coal?
- Spain ranks 6th out of 212 countries with data for 2025.
- Is electricity generation from solar and wind compared to coal rising or falling in Spain?
- Over the last ten years it is up 92.6%. 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 and wind compared to coal. 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).
About this data
Measured in terawatt-hours.