THE GLOBAL EDITION 01

Electricity generation in Spain

Annual electricity production, fuel mix and historical observations for Spain, with links to its grid operators, electricity market and power stations.

Reference year: 2024. Published snapshot, not live output. Energy is reported in terawatt-hours (TWh).

How much electricity does Spain produce?

Spain reported 280.9 TWh of domestic electricity generation in 2024. Among the reported source categories, wind produced the most electricity: 62.2 TWh.

Electricity generated280.9 TWh
Renewable share57.3%
Low-carbon share76.8%
Carbon intensity146.2 gCO₂e/kWh

Source: Ember (2026), processed by Our World in Data · CC BY 4.0 · Snapshot 24 April 2026. Method & download details.

Electricity mix 2024

Annual generation by source · terawatt-hours (TWh)

Hydro34.4 TWh
Wind62.2 TWh
Solar58.3 TWh
Bioenergy6.2 TWh
Other renewables0.01 TWh
Nuclear54.5 TWh
Coal2.6 TWh
Gas52.3 TWh
Other fossil10.4 TWh

Missing categories are labelled “No data”. Rounding can cause small differences from the reported total.

Renewable share uses domestic generation as its denominator. Low-carbon generation includes renewables and nuclear; nuclear is not renewable. Missing fuel categories remain “No data”, and rounded source values need not sum exactly to the reported total.

Generation is not consumption or installed capacity

The source separately reports electricity demand of 270.7 TWh for 2024. Domestic generation is not electricity consumed after trade and losses. The demand series is a separate source measure, not a calculated import balance. Power-plant ratings in megawatts (MW) measure capacity; annual production in TWh measures energy.

Searching for “energy production in Spain”? This profile answers the electricity part of that question. Transport fuels, heat and total primary-energy production are outside this dataset.

Annual electricity generation in Spain

Every row retains its own reporting year. 2024 remains the common-year comparison even where a newer observation exists. Missing observations are not interpolated.

Spain: reported annual electricity generation, shares and demand
YearGeneration (TWh)Renewable (%)Low-carbon (%)Demand (TWh)
2025287.955.974.6275.1
2024280.957.376.8270.7
2023279.151.571.9265.2
2022287.242.863.2267.4
2021270.846.567.3271.6
2020259.543.966.3262.8
2019270.537.358.9277.4
2018271.438.358.8282.5
2017272.432.353.6281.6
2016270.738.760.3278.4
2015277.23555.7277
2014274.440.261.1271
2013281.539.659.7274.7
201229429.650.5282.8
2011291.53049.8285.5
2010297.832.853.7289.5
2009290.725.543.6282.6
2008309.820.139.1298.8
2007301.919.337.6296.1
2006295.617.638292.3
2005289.514.634.5288.1
2004276.618.141.1273.6
2003257.321.745.7258.6
2002239.913.840.1245.2
2001233.121.248.5236.5
2000220.915.643.8225.4

Interactive Spain trends and country rankings

Source: Ember (2026), processed by Our World in Data · CC BY 4.0 · Snapshot 24 April 2026. Method & download details.

Compare Spain with its region

These are geographic country groupings, not one connected electrical grid. Country totals are not divided across continents for transcontinental countries.

Understand the numbers and equipment