Morocco vs Spain: Share of electricity generation from oil

Morocco
3.6%
in 2025
Spain
3.5%
in 2025
Morocco rank
118th
Spain rank
121st

Share of electricity generation from oil over time

  • Morocco
  • Spain
0510152025198520052025

How they compare

Morocco currently reports 3.6% against 3.5% in Spain, a difference of 0.1%.

The two have swapped places 4 times across 26 shared years of data; in 2000 it was Morocco ahead.

Morocco ranks 118th and Spain ranks 121st of 208 countries.

Morocco has averaged higher in every one of the 3 decades both report.

Head to head by decade

Decade Morocco Spain Difference Ahead
2000s 18.9% 9.5% 9.3% Morocco
2010s 13.4% 6.0% 7.4% Morocco
2020s 4.5% 4.0% 0.4% Morocco

Averages of every year both report within each decade.

Frequently asked questions

Which has higher share of electricity generation from oil, Morocco or Spain?
Morocco, at 3.6% against 3.5% in Spain as of 2025.
What is the difference in share of electricity generation from oil between Morocco and Spain?
0.1%, with Morocco ahead.
How many years of comparable data are there for Morocco and Spain?
26 years are reported by both, from 2000 to 2025.
How do Morocco and Spain rank globally for share of electricity generation from oil?
Morocco ranks 118th and Spain ranks 121st of 208 countries.
Where does this data come from?
Ember (2026) and other sources – with major processing by Our World in Data, published as Share of electricity generation from oil. Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

About this data

Indicator
Share of electricity generation from oil
Unit
%
Source
Ember (2026) and other sources – with major processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
215 places, 6,212 data points, 1920–2025
Last refreshed

Measured as a percentage of total electricity produced in the country or region.