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.
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
Compared with neighbours
Neighbouring countries with solar power figures for the latest year, shown with Europe and world totals for scale.
| Country | Solar electricity TWh | Solar as a share of electricity % | Solar PV capacity in place 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 |
Where it stands in the global ranking
Solar electricity for the latest year, showing the countries immediately ahead of and behind Spain.
Solar power plants
The WRI Global Power Plant Database (2021 edition) lists 243 plants here, adding up to 4.9 GW.
| # | 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 of Spain's electricity is generated from solar power?
What portion of electricity in Spain is supplied by solar power?
What solar power capacity is installed in Spain?
What is the origin of these numbers?
Sources & references
- Energy dataset from Our World in Data (built on the Energy Institute Statistical Review of World Energy and Ember), licence CC BY 4.0
- Statistical Review of World Energy, published by the Energy Institute
- Yearly Electricity Data from Ember
- Renewable Capacity Statistics from IRENA (as relayed by Our World in Data)
- 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.