GENERATION 2024

Total electricity generation

Information based on provisional data as of January 2025

Browse the content
 
 
 
 
 

In 2024, Spain experienced a 0.5% decrease in electricity generation for the second consecutive year compared to the previous year, reaching a total of 262,247 GWh. This follows two consecutive years of growth, with a 3.5% increase in 2021 and a 5.9% increase in 2022.

In this context, electricity generation in the peninsular system, which represents around 95% of total national generation, decreased by 0.5% in 2024, standing at 248,478 GWh. The most significant variations with respect to the previous year were recorded by hydroelectric power generation and solar photovoltaic, which rose by 35.5% and 18.8%, respectively, while electricity generation from coal decreased by 24.4% and combined cycle by 27.0%.

Electricity generation in the non-peninsular systems (13,769 GWh) fell by 0.7% compared to the previous year, with a notable 29.8% increase in solar photovoltaic power. On the other hand, the decrease in electricity generation from cogeneration is worth noting. This technology was 5.6% lower than in the previous year.

Electricity generation decreased in the Balearic Islands

The electricity produced by the Balearic Islands electricity system decreased for the second consecutive year, reaching 4,483 GWh in 2024, a 3.0% decline compared to the previous year. This was the only decrease in electricity generation in the non-peninsular electricity systems in 2024.

On the other hand, electricity generation in the Canary Islands electricity system increased for the fourth consecutive year in 2024, with a growth of 0.5% over the previous year, reaching 8,896 GWh.

In contrast, Ceuta saw a 0.2% increase in electricity generation after five years of declines, while Melilla experienced a 0.5% rise for the second consecutive year.

National electricity generation

GWh - %

Allocation of generation units based on primary fuel. The net production of non-renewable and hydroelectric UGH installations has been adjusted to account for their own consumption. In these types of generation, negative generation indicates that the electricity consumed for the power plant’s uses exceeds its gross electricity generation.
Other renewables: Include biogas, biomass, marine hydro, and geothermal.
Pumped storage: Pure pumped storage + estimated mixed pumped storage.
Combined cycle: Includes operation in open-cycle mode. The Canary Islands electricity system uses diesel as its main fuel.

Annual evolution of renewable energy generation

In terms of electricity generation by type of energy in the national electricity system, renewable energies increased their electricity generation by 10.3% in 2024, achieving a record high of 148,999 GWh. This increase is mainly attributable to increased hydro and solar photovoltaic electricity generation, which grew by 35.5% and 18.9%, respectively. During 2024, the share of renewable electricity generation in the national mix was predominant for the first time in history, with a share of 56.8%, compared to 51.2% in 2023. Conversely, the share of non-renewable energy sources went down to 43.2% (48.8% in 2023).

 

Evolution of renewable and non-renewable generation

In 2024, national CO2 eq. emission-free generation increased by 6.2%, reaching a new all-time high of 201,389 GWh. Its share in the electricity generation mix reached 76.8%, compared to 72.0% in 2023.

Evolution of electricity generation with or without CO2 eq. emissions

The autonomous communities continue to make progress towards the goal of the ecological transition

Among the most relevant aspects of electricity generation by autonomous communities in 2024, the following should be highlighted:

  • In 2024, Andalusia was the third region with the highest renewable generation in the national electricity system, representing 13.9% of the total. In this region, electricity generation from renewable technologies reached its historical peak, accounting for 68.1% of the energy mix (up from 57.7% in 2023). Key contributors to these strong renewable results in Andalusia in 2024 include hydroelectric power, which saw a 133.3% increase in electricity generation—the highest nationwide—and solar photovoltaic, which became the leading technology in the Andalusian energy mix for the first time in history, with a share of 33.9%.
  • Renewable electricity generation in Aragon in 2024 accounted for 88.8% of the total, marking the highest participation on record and positioning the region as the second in Spain in terms of share of renewable energy. Aragon was the region with the highest proportion of wind power in its generation mix in 2024, with a share of 52.3%, and it was the second-highest producer of wind energy in Spain, generating 11,458 GWh.
  • In Asturias, renewable electricity generation in 2024 represented 43.5% of the energy mix, the highest value on record, compared to 37.2% in the previous year. This increase was primarily driven by a 6.7% rise in hydroelectric power generation, which accounted for 23.6% of the Asturian energy mix.
  • The Balearic Islands continued to advance in renewable energy generation in 2024, producing 24.3% more than in 2023. It reached a historical high of 655 GWh of green energy and achieved a record 14.6% share of the total energy mix. Solar photovoltaic was the renewable technology with the highest growth in generation, increasing by 29.8% compared to the previous year and setting a new annual electricity generation record with 507 GWh. It also represented the largest share in the Balearic generation mix at 11.3%.
  • In the Canary Islands, renewable energy generation in 2024 increased by 8.6% compared to 2023, reaching a historic high of 1,849 GWh and achieving a record share of 20.8% in the Canary Islands' energy mix. These new renewable highs occurred because wind power and solar photovoltaic recorded historic annual electricity generation peaks in 2024, with 1,409 GWh and 405 GWh, respectively. This allowed solar technology to reach its highest share in the Canary Islands' energy mix, accounting for 4.5%.
  • Castile-La Mancha is the second region in Spain in terms of renewable energy generation, with 21,488 GWh produced in 2024 (14.4% of the national total from renewable sources). Solar photovoltaic, which increased its electricity generation by 26.7%, was for the first time the technology that contributed the most GWh to Castile-La Mancha's generation structure, with a share of 35.2% of the total, followed by wind power, which accounted for 29.2% of the total. Additionally, Castile-La Mancha was the region with the highest solar photovoltaic electricity generation, representing 24.3% of the national total.
  • In Castile and Leon, renewable electricity generation increased by 7.6% in 2024 to a total of 25,142 GWh, reaffirming its leadership in national renewable energy generation with 16.9% of the total. Renewable technologies accounted for 92.8% of the region's generation structure, the highest historical value for the region and the highest in Spain in 2024. In 2024, wind power was the leading generation technology in Castile and Leon for the eighth consecutive year, with a share of 46.2%. This positioned the region as the highest producer of wind energy, contributing 20.5% of the national total.
  • Catalonia continued to be the region with the highest electricity generation in 2024, totalling 37,510 GWh, which represents 14.3% of the national total. It also ranked second in emissions-free generation, which accounted for 78.2% of the Catalan energy mix. Additionally, it increased its renewable energy generation by 18.6%, which now accounts for 19.1% of Catalonia's total electricity generation.
  • In the Valencian Community, hydroelectric power generation increased by 26.1%, and solar photovoltaic by 3.0%, contributing to renewable energy generation making up 22.4% of the regional electricity generation in 2024. In 2024, 74.7% of the Valencian Community's electricity generation was emissions-free.
  • Extremadura was the second largest producer of electricity in the national electricity system in 2024, representing 11.9% of the total. Renewable sources in Extremadura produced 18.4% more in 2024 than the previous year, accounting for 51.2% of its electricity generation. This autonomous community remains a leader in emissions-free generation, with 99.9% of its electricity generation coming from CO2-free technologies in 2024.
  • Galicia increased its renewable electricity generation y 8.0% in 2024, which made up 84.6% of the regional mix. Hydropower was the main source of generation, with a historic record of 43.9% participation in the Galician energy mix. Galicia was the autonomous community with the highest electricity generation from hydropower (10,131 GWh), accounting for 29.0% of the national hydroelectric generation.
  • In La Rioja, 45.7% of the electricity generated in 2024 came from renewable sources, with wind power, which accounted for 32.1%, being the most prominent renewable technology in the generation mix.
  • Madrid is the autonomous community where renewable energy generation experienced the highest growth in 2024. Following a 24.6% increase compared to the previous year, it accounted for 46.3% of Madrid's energy mix.
  • In Murcia, renewable electricity generation increased by 10.5%, accounting for 39% of the total in the region. Murcia's solar photovoltaic generation grew by 14.8% in 2024 compared to the previous year, contributing 32.8% to the total generation mix.
  • In Navarre, electricity produced using renewable technologies accounted for 67.5% of the total in 2024, increasing by 13.3 percentage points compared to 2023. Wind power once again was the leading source in the region's electricity mix, generating 3,265 GWh in 2024, which represented a 50.5% share.
  • Renewable energies generated 17.3% of all electricity in the Basque Country in 2024.

Map of generation by autonomous communities

Hydroelectric: 34,908 GWh.
Nuclear: 52,391 GWh.
Coal: 2,972 GWh.
Fuel + Gas: 0 GWh.
Combined cycle: 29,107 GWh.
Wind power: 59,512 GWh.
Solar photovoltaic: 43,609 GWh.
Solar thermal: 4,127 GWh.
Other renewables: 3,679 GWh.
Cogeneration: 16,324 GWh.
Non-renewable waste: 1,195 GWh.
Renewable waste: 654 GWh.
Total generation: 248,478 GWh.

Generation structure by type of power plant and autonomous community

Pumped storage: Pure pumped storage + estimated mixed pumped storage.
Solar: Includes solar photovoltaic and solar thermal.

Percentage of renewable and non-renewable generation by autonomous community

Renewables: hydroelectric, hydro-wind, wind power, solar photovoltaic, solar thermal, other renewables, and renewable waste.
Non-renewables: pumped storage, nuclear, coal, fuel/gas, combined cycle, cogeneration, and non-renewable waste.

Related contents