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.
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
Compared with neighbours
Nearby countries with solar power data, latest year. Europe and world totals for scale.
| Country | Solar electricity TWh | Solar share of electricity % | Installed solar PV capacity GW |
|---|---|---|---|
| Spain | 62.9 | 21.8 | 47.2 |
| Portugal | 8.86 | 17.3 | 6.95 |
| France | 31.8 | 5.6 | 31.4 |
| Morocco | 2.57 | 5.8 | 1.09 |
| Switzerland | 7.89 | 12.1 | 8.8 |
| Tunisia | 0.56 | 2.5 | 0.89 |
| Luxembourg | 0.47 | 30.5 | 0.77 |
| Europe | 401 | 8.7 | 411 |
| World | 2,779 | 8.7 | 2,397 |
Place in the world ranking
Solar electricity, latest year. Countries just above and below Spain.
Solar power plants
243 plants with 4.9 GW listed in the WRI Global Power Plant Database (2021 vintage).
| # | Plant | Fuel | MW | Commissioned |
|---|---|---|---|---|
| 1 | SOLABEN 3 | Solar | 200 | 2012 |
| 2 | Don Rodrigo | Solar | 175 | — |
| 3 | PLANTA SOLAR TERMICA SOLNOVA 1 | Solar | 150 | 2010 |
| 4 | EXTRESOL-1 | Solar | 150 | 2009 |
| 5 | ANDASOL-3 | Solar | 150 | 2011 |
| 6 | PLANTA SOLAR TERMICA HELIOENERGY 1 | Solar | 100 | 2011 |
| 7 | PST SOLACOR 1 | Solar | 100 | 2012 |
| 8 | Palma del Rio CSP | Solar | 100 | — |
More energy data
Spain
Calculators
Guides
Frequently asked questions
How much electricity does Spain generate from solar power?
What share of electricity in Spain comes from solar power?
How much solar power capacity does Spain have?
Where do these figures come from?
Sources & references
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.