Share of electricity generation from solar in Spain
Spain: Share of electricity generation from solar was 21.8% in 2025. ◆ Volatile
Share of electricity generation from solar in Spain, 1985–2025
Source: Ember (2026) and other sources – with major processing by Our World in Data. Measured in %.
Analysis
Spain recorded 21.8% for share of electricity generation from solar in 2025. That is the highest value across all 41 years on record.
That represents a change of up 5.3% on the previous year and up 336.9% over ten years.
Over the whole period, share of electricity generation from solar in Spain peaked at 21.8% in 2025 and was at its lowest, 0.0%, in 1985.
That places Spain 12th out of 213 countries with data for 2025, putting it in the top 10%.
The series is highly variable year to year, so single readings are best treated with caution.
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 1980s | 0.0% | 0.0% | 0.0% | 5 |
| 1990s | 0.0% | 0.0% | 0.0% | 10 |
| 2000s | 0.3% | 0.0% | 2.1% | 10 |
| 2010s | 4.5% | 2.4% | 5.6% | 10 |
| 2020s | 15.1% | 8.0% | 21.8% | 6 |
Countries ranked near Spain
- 9 North Macedonia 23.8% compare
- 10 Cyprus 23.2% compare
- 11 Greece 22.2% compare
- 13 Netherlands 21.1% compare
- 14 El Salvador 20.3% compare
- 15 Nauru 20.0% compare
More energy & mining data for Spain
- Fuel imports 13.4% (2024)
- Ores and metals imports 3.6% (2024)
- Ores and metals exports 3.4% (2024)
- Gas production 0.3324 terawatt-hours (2024)
- Fossil fuel production per person, by fuel 6.94 kilowatt-hours per person (2024)
- Fossil fuel production by fuel 0.3324 terawatt-hours (2024)
- Gas production per person 6.94 kilowatt-hours per person (2024)
- Fuel exports 5.8% (2024)
- Electric power transmission and distribution losses 8.3% (2024)
- Share of dietary energy supply from carbohydrates vs. GDP per capita 45.3% (2023)
Frequently asked questions
- What is share of electricity generation from solar in Spain?
- Share of electricity generation from solar in Spain was 21.8% in 2025, according to Ember (2026) and other sources – with major processing by Our World in Data.
- What is the highest share of electricity generation from solar recorded in Spain?
- The highest recorded value was 21.8% in 2025.
- What is the lowest share of electricity generation from solar recorded in Spain?
- The lowest recorded value was 0.0% in 1985.
- How does Spain rank for share of electricity generation from solar?
- Spain ranks 12th out of 213 countries with data for 2025.
- Is share of electricity generation from solar rising or falling in Spain?
- Over the last ten years it is up 336.9%. The long-run trend across the full record is volatile.
- Where does this Spain data come from?
- The figures come from Ember (2026) and other sources – with major processing by Our World in Data, published as part of Share of electricity generation from solar. Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 41 observations, free to reuse under CC BY 4.0 (Our World in Data).
About this data
Measured as a percentage of total electricity produced in the country or region.