Andorra Thermal Power Station (Teruel).

Primary energy consumption in Spain in 2015 was mainly composed of fossil fuels. The largest sources are petroleum (42.3%), natural gas (19.8%) and coal (11.6%). The remaining 26.3% is accounted for by nuclear energy (12%) and different renewable energy sources (14.3%).[1] Domestic production of primary energy includes nuclear (44,8%), solar, wind and geothermal (22,4%), biomass and waste (21,1%), hydropower (7,2%) and fossil (4,5%).

Energy statistics

2020 energy statistics[2]
Production capacities for electricity
(billion kWh)
Type Amount
Fossil fuel 328.77
Wind power 224.26
Nuclear 222.23
Hydro 132.93
Solar 82.19
Biomass 26.38
Total 1,016.76
(billion kWh)
Category Amount
Consumption 233.27
Production 253.99
Import 17.93
Export 14.65
Natural Gas
(billion m3)
Consumption 32.03
Production 0.01
Import 32.49
Export 1.19
Crude Oil
(barrels per day)
Consumption 1,330,000
Production 47,200
Import 1,360,000

CO2 emissions:
202.71 million tons

Energy plan

By 2030 the government plan is to have 62 GW of wind power installed, 76 GW of photovoltaic power, 4.8 GW of solar thermal power, 1.4 GW of biomass power, and 22 GW of storage. This should give a 32% decrease in greenhouse gasses compared to 1990. The long term plan is to achieve carbon neutrality before 2050.[3]

Energy Sources

Fossil fuels


In December 2021 Spain had capacity of 4.1 GW using coal as the energy source, in 2022 consumption was 6.5Mt,[4] although the plan is to phase coal out by 2030.[5]

Natural gas

Algeria is Spain's largest natural gas supplier. Amid the deterioration of relations with Morocco, Algeria decided not to renew the contract of the Maghreb–Europe Gas Pipeline (GME), which expired at midnight on 31 October 2021. From November 1 on, natural gas exports to Spain are primarily transported through the Medgaz pipeline (with the short-term possibility of covering further demand either by expanding the Medgaz or by shipping LNG).[6][7][8]

The demand for natural gas in Spain in 2022 was 364.3 TWh. Gas used for power generation increased 52% from 2021, with household, commercial and industrial demand for gas falling 21% to 226.4 TWh.[9]

Renewable energy

Main article: Renewable energy in Spain

Wind turbines in Galicia, the fourth largest producer of wind power in Spain.[10]
PS10 solar power plant
Years in which the last three renewable power levels achieved
Achievement Year Achievement Year Achievement Year
10% 2009 15% 2012 20% 2020 [4]

Renewable energy includes wind, hydro and solar power, biomass and geothermal energy sources.

Spain has long been a leader in renewable energy, and has recently become the first country in the world to have relied on wind as its top energy source for an entire year. The country is attempting to use wind power to supply 40 percent of its electricity consumption by 2020.[11] At the same time, Spain is also developing other renewable sources of energy, particularly solar photovoltaic.

Renewable based power in Spain reached 46.7% of total power consumption in 2021.[12]

Solar power

Main article: Solar power in Spain

In 2013, solar accounted for 3.1 percent of Spain's total electricity when capacity was 4,638 MW. By 2022 Spain had increased the solar capacity to 19,113 MW.[13]

Wind power

Main article: Wind power in Spain

In 2021, wind power provided 24% of Spain’s total installed power generation capacity and 23% of total power generation.[14] In 2023 it will reach 30 GW of capacity.


Biomass provides around 2% of electricity generation capacity.

Nuclear energy

Main article: Nuclear power in Spain

Trillo Nuclear Power Plant

Spain has seven operating nuclear reactors and in 2022 they generated 20.25% of the country’s electricity.[15]

The government’s energy and climate plan specifies that installed nuclear capacity will remain at current levels of about 7,100 MW until at least 2025, and will then reduce to just over 3,000 MW from 2030 onwards.[15]

Hydro energy

In Spain in 2021 hydro power provided 17% of Spain’s total installed power generation capacity and 11% of total power generation.[16]

Draught impacts electricity production from hydro in the summer months.

Global warming

Main article: Global warming

According to Energy Information Administration the CO2 emissions from energy consumption of Spain were in 2009 360 Mt, below Italy 450 Mt and France 429 Mt and above Poland 295 Mt and the Netherlands 250 Mt.[17] The emissions tonnes per capita were in Spain 7.13, Italy 7.01 France 6.3 Poland 7.43, and the Netherlands 14.89.[18]

See also


  1. ^ "La Energía en España 2015 - Energia_2015.pdf" (PDF) (in Spanish). Gobierno de España, Ministerio de Industria, Energía y Turismo.
  2. ^ "Energy consumption in Spain". 2020.
  3. ^ "Spain presents the new National Integrated Energy and Climate Plan (PNIEC) 2023-2030". 29 June 2023.
  4. ^ a b "Spain Energy Information". 2021.
  5. ^ "Spain approves the closure of a 1.4 GW coal-fired plant, with conditions". 20 September 2022.
  6. ^ "Argelia cierra el gasoducto del Magreb y abre una gran incógnita sobre el futuro del surtido de gas a España". La Voz de Galicia. 1 November 2021.
  7. ^ "Europe's energy crisis: Spain presses Algeria to guarantee natural gas supply". Euronews. 28 October 2021.
  8. ^ "Algeria to halt gas exports to Spain via Morocco". Africanews. 1 November 2021.
  9. ^ "In 2022, demand for natural gas in Spain reached 364.3 TWh". 30 December 2022.
  10. ^ "Wind map | Asociación Empresarial Eólica". Archived from the original on September 17, 2017.
  11. ^ Johnston, Adam (2013-05-08). "Fifty-Four percent of Spain's Electricity Generation in April From Renewables". CleanTechnica.
  12. ^ "Wind Energy in Spain". Retrieved 13 August 2023.
  13. ^ "Cumulative solar photovoltaic power capacity in Spain from 2010 to 2022". Retrieved 13 August 2023.
  14. ^ "Wind power capacity in Spain and major projects". 20 June 2023.
  15. ^ a b "Spain / Nuclear Continues As Backbone Of Power Generation". 18 January 2023.
  16. ^ "Hydropower capacity in Spain and major projects". 20 June 2023.
  17. ^ World carbon dioxide emissions data by country: China speeds ahead of the rest Guardian 31 January 2011
  18. ^ world carbon dioxide emissions country data co2 Guardian 31 January 2011