Electricity sector in Spain
Electricity consumption increased over many years until 2008. However, in 2023 Spain consumed 244,686 gigawatt hours (GWh) of electricity, a 2.3% decline from 2022.
In 2008, Spain consumed 88% of the average electricity consumption for a European Union 15 country. In 2009, Spain exported about 3% of the electricity it produced. The volume of renewable electricity produced in 2009 was 5% greater than in 2004, and accounted for about 26% of the electricity consumption.
In 2023, renewable energy sources accounted for a record share of the electricity generated in Spain at 50.4%. In the same year, wind farms overtook gas plants as the main source of electricity generation. Gas plants experienced a decline in share from 24% in 2022 to 17% in 2023.