Electricity generation from solar in Spain
Spain: Electricity generation from solar was 62.9 terawatt-hours in 2025. ◆ Volatile
Electricity generation from solar in Spain, 1965–2025
Source: Ember (2026); Energy Institute - Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data. Measured in terawatt-hours.
Analysis
Spain recorded 62.9 terawatt-hours for electricity generation from solar in 2025. That is the highest value across all 61 years on record.
The figure is up 7.9% on the previous year and up 353.8% over ten years.
Over the whole period, electricity generation from solar in Spain peaked at 62.9 terawatt-hours in 2025 and was at its lowest, 0 terawatt-hours, in 1965.
Spain ranks 7th of 214 countries on this measure, 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 |
|---|---|---|---|---|
| 1960s | 0 terawatt-hours | 0 terawatt-hours | 0 terawatt-hours | 5 |
| 1970s | 0 terawatt-hours | 0 terawatt-hours | 0 terawatt-hours | 10 |
| 1980s | 0.0006 terawatt-hours | 0 terawatt-hours | 0.0061 terawatt-hours | 10 |
| 1990s | 0.016 terawatt-hours | 0.01 terawatt-hours | 0.03 terawatt-hours | 10 |
| 2000s | 0.942 terawatt-hours | 0.01 terawatt-hours | 6.06 terawatt-hours | 10 |
| 2010s | 12.51 terawatt-hours | 7.19 terawatt-hours | 15.1 terawatt-hours | 10 |
| 2020s | 42.21 terawatt-hours | 20.67 terawatt-hours | 62.9 terawatt-hours | 6 |
Countries ranked near Spain
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 electricity generation from solar in Spain?
- Electricity generation from solar in Spain was 62.9 terawatt-hours in 2025, according to Ember (2026); Energy Institute - Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data.
- What is the highest electricity generation from solar recorded in Spain?
- The highest recorded value was 62.9 terawatt-hours in 2025.
- What is the lowest electricity generation from solar recorded in Spain?
- The lowest recorded value was 0 terawatt-hours in 1965.
- How does Spain rank for electricity generation from solar?
- Spain ranks 7th out of 214 countries with data for 2025.
- Is electricity generation from solar rising or falling in Spain?
- Over the last ten years it is up 353.8%. The long-run trend across the full record is volatile.
- Where does this Spain data come from?
- The figures come from Ember (2026); Energy Institute - Statistical Review of World Energy (2026); Pinto et al. (2023) – with major processing by Our World in Data, published as part of Electricity generation from solar. Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 61 observations, free to reuse under CC BY 4.0 (Our World in Data).
About this data
Measured in terawatt-hours.