Electricity production from oil, gas and coal sources (% of total) in Spain

Spain: Electricity production from oil, gas and coal sources (% of total) was 24.4% in 2025. ▼ Falling

Latest (2025)
24.4%
Change on year
up 8.3%
World rank
162nd
of 210 countries
All-time high
62.6%
in 2005
All-time low
22.5%
in 2024
Years of data
36
1990–2025

Electricity production from oil, gas and coal sources in Spain, 1990–2025

02040601990200720251990: 46.6 % of total1991: 45.7 % of total1992: 51.1 % of total1993: 47.3 % of total1994: 47.2 % of total1995: 51.1 % of total1996: 43.2 % of total1997: 50.6 % of total1998: 49.6 % of total1999: 57.1 % of total2000: 55.1 % of total2001: 50.7 % of total2002: 58.6 % of total2003: 53.4 % of total2004: 57 % of total2005: 62.6 % of total2006: 60.9 % of total2007: 61.4 % of total2008: 60.2 % of total2009: 55.6 % of total2010: 45.7 % of total2011: 49.5 % of total2012: 48.6 % of total2013: 39.4 % of total2014: 38.3 % of total2015: 43.6 % of total2016: 39 % of total2017: 45.8 % of total2018: 40.5 % of total2019: 40.5 % of total2020: 32.9 % of total2021: 31.9 % of total2022: 36 % of total2023: 27.3 % of total2024: 22.5 % of total2025: 24.4 % of total

Source: IEA Energy Statistics Data Browser, International Energy Agency (IEA). Measured in % of total.

Analysis

Spain recorded 24.4% for electricity production from oil, gas and coal sources in 2025.

Compared with earlier readings it is up 8.3% on the previous year and down 44.0% over ten years.

Over the whole period, electricity production from oil, gas and coal sources in Spain peaked at 62.6% in 2005 and was at its lowest, 22.5%, in 2024.

That places Spain 162nd out of 210 countries with data for 2025, putting it in the bottom quarter.

The long-run direction has been consistently falling across the 36 years of available data.

Electricity production from oil, gas and coal sources (% of total) in Spain, year by year

Annual values for Electricity production from oil, gas and coal sources (% of total) in Spain, 1990 to 2025.
Year % of total Change
1990 46.6% —
1991 45.7% -1.9%
1992 51.1% +11.9%
1993 47.3% -7.6%
1994 47.2% -0.2%
1995 51.1% +8.4%
1996 43.2% -15.5%
1997 50.6% +17.0%
1998 49.6% -1.8%
1999 57.1% +15.1%
2000 55.1% -3.6%
2001 50.7% -7.9%
2002 58.6% +15.4%
2003 53.4% -8.7%
2004 57.0% +6.7%
2005 62.6% +9.9%
2006 60.9% -2.8%
2007 61.4% +0.9%
2008 60.2% -2.1%
2009 55.6% -7.5%
2010 45.7% -17.9%
2011 49.5% +8.3%
2012 48.6% -1.7%
2013 39.4% -18.9%
2014 38.3% -2.9%
2015 43.6% +13.9%
2016 39.0% -10.5%
2017 45.8% +17.3%
2018 40.5% -11.4%
2019 40.5% -0.1%
2020 32.9% -18.7%
2021 31.9% -2.9%
2022 36.0% +12.8%
2023 27.3% -24.2%
2024 22.5% -17.4%
2025 24.4% +8.3%

Spain compared with similar countries

  • Spain's 24.4% is below the median for high income countries, which is 61.0%, 40% of the median. (78 countries reporting)
  • Spain's 24.4% is below the median for Europe & Central Asia, which is 32.2%, 76% of the median. (53 countries reporting)

Averages by decade

DecadeAverage LowestHighest Years
1990s 49.0% 43.2% 57.1% 10
2000s 57.6% 50.7% 62.6% 10
2010s 43.1% 38.3% 49.5% 10
2020s 29.2% 22.5% 36.0% 6

Countries ranked near Spain

  1. 159 Latvia 25.6% compare
  2. 160 Belgium 24.7% compare
  3. 161 Sierra Leone 24.7% compare
  4. 163 Laos 24.2% compare
  5. 164 Angola 23.3% compare
  6. 165 Hungary 23.3% compare

See the full ranking of 257 places →

More energy & mining data for Spain

All data for Spain →

Frequently asked questions

What is electricity production from oil, gas and coal sources in Spain?
Electricity production from oil, gas and coal sources in Spain was 24.4% in 2025, according to IEA Energy Statistics Data Browser, International Energy Agency (IEA).
What is the highest electricity production from oil, gas and coal sources recorded in Spain?
The highest recorded value was 62.6% in 2005.
What is the lowest electricity production from oil, gas and coal sources recorded in Spain?
The lowest recorded value was 22.5% in 2024.
How does Spain rank for electricity production from oil, gas and coal sources?
Spain ranks 162nd out of 210 countries with data for 2025.
Is electricity production from oil, gas and coal sources rising or falling in Spain?
Over the last ten years it is down 44.0%. The long-run trend across the full record is falling.
Where does this Spain data come from?
The figures come from IEA Energy Statistics Data Browser, International Energy Agency (IEA), published as part of Electricity production from oil, gas and coal sources (% of total). Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 36 observations, free to reuse under CC BY 4.0 (World Bank Open Data).

Share, cite or embed this page

Cite this page

Electricity production from oil, gas and coal sources in Spain. Statizoid, drawing on IEA Energy Statistics Data Browser, International Energy Agency (IEA). Retrieved 12 November 2026, from https://energy.statizoid.com/stat/electricity-production-from-oil-gas-and-coal-sources-percent-of-total/spain/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (World Bank Open Data); please keep the attribution.

<a href="https://energy.statizoid.com/stat/electricity-production-from-oil-gas-and-coal-sources-percent-of-total/spain/">Electricity production from oil, gas and coal sources in Spain</a> — Statizoid

About this data

Indicator
Electricity production from oil, gas and coal sources (% of total)
Unit
% of total
Source
IEA Energy Statistics Data Browser, International Energy Agency (IEA)
Licence
CC BY 4.0 (World Bank Open Data)
Coverage
257 places, 8,053 data points, 1990–2025
Last refreshed

The share of electricity production from oil, gas and coal sources of total electricity production. Sources of electricity refer to the inputs used to generate electricity. Oil refers to crude oil and petroleum products. Gas refers to natural gas but excludes natural gas liquids. Coal refers to all coal and brown coal, both primary (including hard coal and lignite-brown coal) and derived fuels (including patent fuel, coke oven coke, gas coke, coke oven gas, and blast furnace gas). Peat is also included in this category.