Solar power · Europe · 2025

Spain: electricity from solar power

In 2025, Spain generated 62.9 TWh of electricity from solar power, 7th worldwide, which amounts to 2.3% of all solar power electricity.

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

Analysis

Solar power accounted for 21.8% of the power mix, while the global average is 8.7%. A decade earlier the figure was 5%. Measured by share of generation, it comes 7th among 123 countries producing at least 5 TWh of electricity per year.

Output is up 354% since 2015, averaging 16.3% per year. 2025 was the record year. Per head, this is about 1,313 kWh annually, against a global average of 338 kWh. On a primary-energy basis, using the substitution method, solar power met 8.6% of everything consumed in Spain.

IRENA reports 47.2 GW of solar power capacity installed at the end of 2025, 7th worldwide. Dividing output by capacity yields an average capacity factor near 15%; capacity added during the year pulls the figure down slightly.

Values above zero first appear in 1989 (6 GWh). The most recent year saw a 7.9% increase over 2024. Australia (56.1 TWh) is the next country down the world ranking, and Brazil (88.6 TWh) the one above. For comparison, nearby values: Portugal 8.86 TWh, France 31.8 TWh, Morocco 2.57 TWh, Switzerland 7.89 TWh, and Tunisia 560 GWh. In 2025, electricity generation in Spain totalled 288 TWh.

Spain records the highest solar electricity among the 6 neighbouring countries with data. Spain makes up 16% of the total for Europe. The Global Power Plant Database counts 243 solar plants in Spain, with 4.9 GW of combined capacity. The biggest is SOLABEN 3 (200 MW). Electricity values are generation in TWh, where 1 TWh equals a billion kWh.

Trends since 1985

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

Compared with neighbours

Neighbouring countries with solar power figures for the latest year, shown with Europe and world totals for scale.

CountrySolar electricity
TWh
Solar as a share of electricity
%
Solar PV capacity in place
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

Where it stands in the global ranking

Solar electricity for the latest year, showing the countries immediately ahead of and behind 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

The WRI Global Power Plant Database (2021 edition) lists 243 plants here, adding up to 4.9 GW.

#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—

Go to the power plant mapSolar & wind farm map

More energy data

Frequently asked questions

How much of Spain's electricity is generated from solar power?
That is 62.9 TWh in 2025, 21.8% of all electricity produced in Spain, placing it 7th globally.
What portion of electricity in Spain is supplied by solar power?
21.8% in 2025, against 8.7% for the world. A decade earlier it stood at 5%.
What solar power capacity is installed in Spain?
As of the end of 2025, IRENA records 47.2 GW, the 7th largest in the world.
What is the origin of these numbers?
The Energy Institute's Statistical Review of World Energy supplies output and consumption, and Ember supplies electricity; both are accessed via Our World in Data (CC BY 4.0). U.S. EIA provides reserves, IRENA provides capacity, and the WRI Global Power Plant Database provides plant data.

Sources & references

  1. Energy dataset from Our World in Data (built on the Energy Institute Statistical Review of World Energy and Ember), licence CC BY 4.0
  2. Statistical Review of World Energy, published by the Energy Institute
  3. Yearly Electricity Data from Ember
  4. Renewable Capacity Statistics from IRENA (as relayed by Our World in Data)
  5. Global Power Plant Database v1.3 from WRI (CC BY 4.0)

For Spain, each number is the newest year the relevant dataset holds. TWh figures for output and consumption measure energy content; reserves are from the U.S. EIA and capacity is from IRENA.