Solar power · Europe · 2025

Spain: electricity from solar power

Spain generated 62.9 TWh of electricity from solar power in 2025. It ranks 7th in the world by output and produces 2.3% of global solar power electricity.

Solar electricity 2025
62.9 TWh
2.3% of world · +354% since 2015
world rank 7 of 180
Solar share of electricity 2025
21.8%
+16.9 pp since 2015
world rank 7 of 123
Installed solar PV capacity 2025
47.2 GW
2% of world · +570% since 2015
world rank 7 of 208
Solar share of primary energy 2024
8.6%
+6.3 pp since 2014
world rank 3 of 74

Analysis

Solar power made up 21.8% of the electricity mix, against a world average of 8.7%. Ten years earlier the share was 5%. By share of generation it ranks 7th of 123 countries that produce at least 5 TWh of power a year.

Output has grown by 354% since 2015 (16.3% a year on average). 2025 was the record year. Per person that is about 1,313 kWh a year, compared with a world average of 338 kWh. Counted as primary energy with the substitution method, solar power supplied 8.6% of all energy used in Spain.

IRENA counts 47.2 GW of installed solar power capacity at the end of 2025, 7th in the world. Dividing generation by capacity gives an average capacity factor of roughly 15%; new capacity added during the year lowers this figure a little.

The first year with a recorded value above zero is 1989 (6 GWh). In the latest year alone it rose by 7.9% compared with 2024. In the world ranking it sits between Brazil (88.6 TWh) and Australia (56.1 TWh). Neighbouring figures for comparison: Portugal 8.86 TWh, France 31.8 TWh, Morocco 2.57 TWh, Switzerland 7.89 TWh, and Tunisia 560 GWh. Total electricity generation in Spain was 288 TWh in 2025.

Among 6 nearby countries with data, Spain has the largest solar electricity. Spain accounts for 16% of the Europe total. The Global Power Plant Database lists 243 solar plants with 4.9 GW of capacity in Spain; the largest is SOLABEN 3 (200 MW). Electricity figures are generation in TWh; 1 TWh is one billion kWh.

Trends since 1985

Solar electricity, 1985–2025
Solar share of electricity: Share compared with Europe and the world
Installed capacity (GW)
Solar electricity · Neighbours

Compared with neighbours

Nearby countries with solar power data, latest year. Europe and world totals for scale.

CountrySolar electricity
TWh
Solar share of electricity
%
Installed solar PV capacity
GW
Spain 62.921.847.2
Portugal 8.8617.36.95
France 31.85.631.4
Morocco 2.575.81.09
Switzerland 7.8912.18.8
Tunisia 0.562.50.89
Luxembourg 0.4730.50.77
Europe4018.7411
World2,7798.72,397

Place in the world ranking

Solar electricity, latest year. Countries just above and below Spain.

#Country TWhWorld shareYear
5 Germany 89.63.2%2025
6 Brazil 88.63.2%2025
7 Spain 62.92.3%2025
8 Australia 56.12%2025
9 Italy 44.61.6%2025

World solar power dashboard →

Solar power plants

243 plants with 4.9 GW listed in the WRI Global Power Plant Database (2021 vintage).

#PlantFuelMWCommissioned
1SOLABEN 3Solar2002012
2Don RodrigoSolar175—
3PLANTA SOLAR TERMICA SOLNOVA 1Solar1502010
4EXTRESOL-1Solar1502009
5ANDASOL-3Solar1502011
6PLANTA SOLAR TERMICA HELIOENERGY 1Solar1002011
7PST SOLACOR 1Solar1002012
8Palma del Rio CSPSolar100—

Open the power plant mapSolar & wind farm map

More energy data

Frequently asked questions

How much electricity does Spain generate from solar power?
62.9 TWh in 2025, which was 21.8% of all electricity generated in Spain. That ranks 7th in the world.
What share of electricity in Spain comes from solar power?
21.8% in 2025, compared with 8.7% worldwide. Ten years earlier it was 5%.
How much solar power capacity does Spain have?
47.2 GW at the end of 2025 according to IRENA, 7th in the world.
Where do these figures come from?
Production and consumption come from the Energy Institute Statistical Review of World Energy and electricity from Ember, both via Our World in Data (CC BY 4.0). Reserves are from the U.S. EIA, capacity from IRENA and power plants from the WRI Global Power Plant Database.

Sources & references

  1. Our World in Data, Energy dataset (Energy Institute Statistical Review of World Energy; Ember), CC BY 4.0
  2. Energy Institute, Statistical Review of World Energy
  3. Ember, Yearly Electricity Data
  4. IRENA, Renewable Capacity Statistics (via Our World in Data)
  5. WRI Global Power Plant Database v1.3 (CC BY 4.0)

Figures are the latest year available for Spain in each dataset. Production and consumption are energy content in TWh; reserves are from the U.S. EIA; capacity from IRENA.