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.

Number of people living in urban and rural areas in Morocco, year by year

Annual values for Number of people living in urban and rural areas in Morocco, 1950 to 2025.
Year people Change
1950 2.31 million people
1951 2.41 million people +4.5%
1952 2.52 million people +4.3%
1953 2.62 million people +4.1%
1954 2.72 million people +4.0%
1955 2.83 million people +3.9%
1956 2.94 million people +3.8%
1957 3.05 million people +3.8%
1958 3.17 million people +3.8%
1959 3.29 million people +3.8%
1960 3.41 million people +3.8%
1961 3.54 million people +3.7%
1962 3.69 million people +4.4%
1963 3.86 million people +4.4%
1964 4.02 million people +4.3%
1965 4.20 million people +4.4%
1966 4.38 million people +4.5%
1967 4.58 million people +4.5%
1968 4.78 million people +4.5%
1969 5.00 million people +4.5%
1970 5.22 million people +4.4%
1971 5.44 million people +4.2%
1972 5.68 million people +4.6%
1973 5.93 million people +4.3%
1974 6.18 million people +4.3%
1975 6.45 million people +4.3%
1976 6.73 million people +4.3%
1977 7.02 million people +4.3%
1978 7.33 million people +4.4%
1979 7.65 million people +4.4%
1980 8.00 million people +4.5%
1981 8.36 million people +4.6%
1982 8.75 million people +4.6%
1983 9.12 million people +4.2%
1984 9.50 million people +4.2%
1985 9.89 million people +4.1%
1986 10.27 million people +3.8%
1987 10.64 million people +3.7%
1988 11.03 million people +3.7%
1989 11.42 million people +3.5%
1990 11.81 million people +3.4%
1991 12.19 million people +3.2%
1992 12.56 million people +3.0%
1993 12.92 million people +2.9%
1994 13.32 million people +3.1%
1995 13.66 million people +2.6%
1996 14.00 million people +2.4%
1997 14.32 million people +2.3%
1998 14.63 million people +2.2%
1999 14.93 million people +2.1%
2000 15.23 million people +2.0%
2001 15.53 million people +2.0%
2002 15.83 million people +1.9%
2003 16.14 million people +1.9%
2004 16.47 million people +2.0%
2005 16.83 million people +2.2%
2006 17.22 million people +2.3%
2007 17.63 million people +2.4%
2008 18.06 million people +2.4%
2009 18.49 million people +2.4%
2010 18.94 million people +2.4%
2011 19.39 million people +2.4%
2012 19.82 million people +2.3%
2013 20.24 million people +2.1%
2014 20.63 million people +1.9%
2015 20.99 million people +1.7%
2016 21.35 million people +1.7%
2017 21.72 million people +1.7%
2018 22.07 million people +1.6%
2019 22.39 million people +1.5%
2020 22.72 million people +1.4%
2021 23.03 million people +1.4%
2022 23.34 million people +1.3%
2023 23.64 million people +1.3%
2024 23.91 million people +1.2%
2025 24.26 million people +1.4%

Morocco compared with similar countries

  • Morocco's 24.26 million people is above the median for lower middle income countries, which is 6.62 million people, 3.7× the median. (47 countries reporting)
  • Morocco's 24.26 million people is above the median for Middle East, North Africa, Afghanistan & Pakistan, which is 9.75 million people, 2.5× the median. (23 countries reporting)

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).

Share, cite or embed this page

Cite this page

Number of people living in urban and rural areas in Morocco. Statizoid, drawing on United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data. Retrieved 23 September 2026, from https://population.statizoid.com/stat/urban-and-rural-population/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://population.statizoid.com/stat/urban-and-rural-population/morocco/">Number of people living in urban and rural areas in Morocco</a> — Statizoid

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.