Afghanistan vs Morocco: Number of people with and without electricity access

Afghanistan
37.44 million people
in 2024
Morocco
38.08 million people
in 2024
Afghanistan rank
35th
Morocco rank
33rd

Number of people with and without electricity access over time

  • Afghanistan
  • Morocco
010.0M20.0M30.0M40.0M199220082024

How they compare

Morocco currently reports 38.08 million people against 37.44 million people in Afghanistan, a difference of 636,700 people.

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

Afghanistan ranks 35th and Morocco ranks 33rd of 214 countries.

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

Head to head by decade

Decade Afghanistan Morocco Difference Ahead
2000s 6.57 million people 24.08 million people 17.51 million people Morocco
2010s 26.10 million people 33.56 million people 7.46 million people Morocco
2020s 36.93 million people 37.33 million people 398,280 people Morocco

Averages of every year both report within each decade.

Frequently asked questions

Which has higher number of people with and without electricity access, Afghanistan or Morocco?
Morocco, at 38.08 million people against 37.44 million people in Afghanistan as of 2024.
What is the difference in number of people with and without electricity access between Afghanistan and Morocco?
636,700 people, with Morocco ahead.
How many years of comparable data are there for Afghanistan and Morocco?
25 years are reported by both, from 2000 to 2024.
How do Afghanistan and Morocco rank globally for number of people with and without electricity access?
Afghanistan ranks 35th and Morocco ranks 33rd of 214 countries.
Where does this data come from?
Data compiled from multiple sources by the World Bank – with major processing by Our World in Data, published as Number of people with and without electricity access. Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

Share, cite or embed this page

Cite this page

Afghanistan vs Morocco: Number of people with and without electricity access. Statizoid, drawing on Data compiled from multiple sources by the World Bank – with major processing by Our World in Data. Retrieved 04 September 2026, from https://energy.statizoid.com/compare/number-of-people-with-and-without-electricity-access/afghanistan/morocco/

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 (Our World in Data); please keep the attribution.

<a href="https://energy.statizoid.com/compare/number-of-people-with-and-without-electricity-access/afghanistan/morocco/">Afghanistan vs Morocco: Number of people with and without electricity access</a> — Statizoid

About this data

Indicator
Number of people with and without electricity access
Unit
people
Source
Data compiled from multiple sources by the World Bank – with major processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
214 places, 6,702 data points, 1990–2024
Last refreshed

Access to electricity means having an electricity source that can provide very basic lighting, and charge a phone or power a radio for 4 hours per day.