Number of people living in urban and rural areas in Morocco

Morocco: Number of people living in urban and rural areas was 24.26 million people in 2025. ◆ Volatile

Latest (2025)
24.26 million people
Change on year
up 1.4%
World rank
39th
of 236 countries
All-time high
24.26 million people
in 2025
All-time low
2.31 million people
in 1950
Years of data
76
1950–2025

Number of people living in urban and rural areas in Morocco, 1950–2025

05.0M10.0M15.0M20.0M25.0M195019872025

Source: United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data. Measured in people.

Analysis

The most recent figure for number of people living in urban and rural areas in Morocco is 24.26 million people, measured in 2025. That is the highest value across all 76 years on record.

Compared with earlier readings it is up 1.4% on the previous year and up 15.6% over ten years.

Over the whole period, number of people living in urban and rural areas in Morocco peaked at 24.26 million people in 2025 and was at its lowest, 2.31 million people, in 1950.

Morocco ranks 39th of 236 countries on this measure, in the top quarter.

The series is highly variable year to year, so single readings are best treated with caution.

Averages by decade

DecadeAverage LowestHighest Years
1950s 2.79 million people 2.31 million people 3.29 million people 10
1960s 4.15 million people 3.41 million people 5.00 million people 10
1970s 6.36 million people 5.22 million people 7.65 million people 10
1980s 9.70 million people 8.00 million people 11.42 million people 10
1990s 13.43 million people 11.81 million people 14.93 million people 10
2000s 16.74 million people 15.23 million people 18.49 million people 10
2010s 20.75 million people 18.94 million people 22.39 million people 10
2020s 23.48 million people 22.72 million people 24.26 million people 6

Countries ranked near Morocco

  1. 36 Ukraine 27.13 million people compare
  2. 37 Tanzania 26.02 million people compare
  3. 38 Venezuela 25.47 million people compare
  4. 40 Australia 23.66 million people compare
  5. 41 Poland 22.92 million people compare
  6. 42 Ghana 20.66 million people compare

See the full ranking of 237 places →

More population data for Morocco

All data for Morocco →

Frequently asked questions

What is number of people living in urban and rural areas in Morocco?
Number of people living in urban and rural areas in Morocco was 24.26 million people in 2025, according to United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data.
What is the highest number of people living in urban and rural areas recorded in Morocco?
The highest recorded value was 24.26 million people in 2025.
What is the lowest number of people living in urban and rural areas recorded in Morocco?
The lowest recorded value was 2.31 million people in 1950.
How does Morocco rank for number of people living in urban and rural areas?
Morocco ranks 39th out of 236 countries with data for 2025.
Is number of people living in urban and rural areas rising or falling in Morocco?
Over the last ten years it is up 15.6%. The long-run trend across the full record is volatile.
Where does this Morocco data come from?
The figures come from United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data, published as part of Number of people living in urban and rural areas. Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 76 observations, free to reuse under CC BY 4.0 (Our World in Data).

About this data

Indicator
Number of people living in urban and rural areas
Unit
people
Source
United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
237 places, 18,012 data points, 1950–2025
Last refreshed

Number of people living in urban areas, based on each country's national definition.