MakeYourChart

Largest cities in Morocco, 1975 to 2050

Casablanca leads Morocco with 4.46 million people in 2025, ahead of Rabat at 2.07 million in the UN city ranking.

Free to edit and export · No signup to start

What the data shows

  • In 2025, Casablanca ranks #1 with 4.46M, ahead of Rabat (2.07M) and Fez (1.36M).
  • By 2050, on the UN's projections, Casablanca is projected to rank #1 with 4.99M, ahead of Rabat (2.44M) and Fez (1.41M).
  • Casablanca holds #1 for the whole period, 1975 to 2025.
  • Biggest climber: Agadir, from #11 in 1980 to #6 in 2050.
  • Casablanca grew 2.6× between 1975 and 2025.

About this chart

Casablanca and Rabat head the 2025 ranking for Morocco, at 4.46 million and 2.07 million people. Casablanca also appears first in 1975, at 1.74 million, so the top position is unchanged between those two endpoints. Fez occupies third place in 2025 at 1.36 million. These are populations of urban areas defined consistently by the UN, rather than administrative city limits.

The UN projects Casablanca to lead in 2050 at 4.99 million people. The figures after 2025 are projections. The Degree of Urbanization identifies contiguous dense settlements, so these totals can differ from municipal and metropolitan statistics. The historical ranking is useful for comparing positions; changing settlement boundaries mean it should not be treated as a measure of growth within fixed city limits.

The data

Source: UN DESA, World Urbanization Prospects: The 2025 Revision (File 21), city population, millions, 1975–2050 (projected after 2025). Retrieved November 5, 2026. Cities as defined by the Degree of Urbanization (contiguous dense areas), so figures differ from city-proper or metro counts. Blank cells indicate that the source supplies no city value for that year, not zero population.

Largest cities in Morocco, Population in millions, 1975–2050; projected after 2025, 1975–2050
Date🇲🇦 Casablanca🇲🇦 Rabat🇲🇦 Fez🇲🇦 Meknes🇲🇦 Marrakesh🇲🇦 Tangier🇲🇦 Oujda🇲🇦 Tétouan🇲🇦 Kenitra🇲🇦 Safi🇲🇦 Agadir
19751.74M0.60M0.44M0.32M0.31M0.25M0.25M0.17M0.15M0.14M
19761.81M0.64M0.46M0.33M0.32M0.27M0.25M0.18M0.15M0.15M
19771.87M0.67M0.47M0.33M0.32M0.28M0.26M0.18M0.16M0.16M
19781.94M0.70M0.49M0.34M0.33M0.29M0.27M0.19M0.16M0.16M
19792.01M0.73M0.50M0.35M0.34M0.31M0.28M0.20M0.17M0.17M
19802.07M0.77M0.52M0.36M0.35M0.32M0.29M0.20M0.17M0.17M0.07M
19812.13M0.80M0.54M0.36M0.36M0.33M0.30M0.21M0.18M0.18M0.10M
19822.19M0.83M0.55M0.37M0.37M0.35M0.31M0.22M0.19M0.18M0.13M
19832.26M0.86M0.57M0.38M0.38M0.36M0.31M0.22M0.19M0.19M0.16M
19842.32M0.90M0.59M0.39M0.39M0.37M0.32M0.23M0.20M0.20M0.19M
19852.38M0.93M0.61M0.40M0.40M0.39M0.33M0.24M0.20M0.20M0.22M
19862.44M0.96M0.63M0.40M0.42M0.40M0.34M0.24M0.21M0.21M0.23M
19872.49M1.00M0.65M0.41M0.44M0.42M0.35M0.25M0.22M0.21M0.25M
19882.55M1.03M0.67M0.42M0.46M0.43M0.35M0.26M0.23M0.22M0.27M
19892.61M1.07M0.69M0.43M0.48M0.45M0.36M0.26M0.24M0.22M0.28M
19902.67M1.11M0.70M0.43M0.50M0.46M0.37M0.27M0.25M0.23M0.30M
19912.73M1.15M0.73M0.44M0.51M0.48M0.38M0.27M0.25M0.23M0.33M
19922.78M1.20M0.75M0.45M0.53M0.50M0.38M0.28M0.26M0.24M0.35M
19932.84M1.25M0.77M0.46M0.55M0.52M0.39M0.29M0.27M0.24M0.38M
19942.90M1.30M0.79M0.47M0.57M0.53M0.40M0.29M0.28M0.25M0.41M
19952.96M1.34M0.81M0.47M0.59M0.55M0.41M0.30M0.29M0.25M0.44M
19963.00M1.37M0.83M0.48M0.60M0.56M0.41M0.30M0.30M0.26M0.45M
19973.04M1.40M0.85M0.49M0.61M0.58M0.41M0.31M0.31M0.26M0.46M
19983.09M1.42M0.87M0.50M0.63M0.59M0.42M0.31M0.32M0.26M0.48M
19993.13M1.45M0.89M0.51M0.64M0.61M0.42M0.32M0.32M0.27M0.49M
20003.17M1.47M0.91M0.52M0.66M0.63M0.42M0.32M0.33M0.27M0.51M
20013.23M1.50M0.93M0.53M0.67M0.64M0.43M0.33M0.35M0.27M0.52M
20023.28M1.54M0.94M0.54M0.69M0.66M0.43M0.33M0.36M0.27M0.53M
20033.34M1.57M0.96M0.55M0.71M0.68M0.44M0.34M0.37M0.28M0.55M
20043.39M1.60M0.98M0.56M0.73M0.70M0.44M0.34M0.39M0.28M0.56M
20053.45M1.63M1.00M0.57M0.74M0.71M0.45M0.35M0.40M0.28M0.58M
20063.51M1.65M1.02M0.58M0.76M0.74M0.45M0.36M0.41M0.29M0.60M
20073.57M1.67M1.04M0.59M0.78M0.76M0.46M0.36M0.42M0.29M0.62M
20083.64M1.70M1.06M0.60M0.80M0.79M0.47M0.37M0.42M0.29M0.64M
20093.70M1.72M1.08M0.61M0.82M0.81M0.48M0.37M0.43M0.30M0.66M
20103.76M1.74M1.10M0.62M0.84M0.84M0.48M0.38M0.44M0.30M0.68M
20113.82M1.76M1.12M0.63M0.86M0.86M0.49M0.39M0.45M0.30M0.70M
20123.88M1.79M1.14M0.64M0.87M0.89M0.50M0.39M0.46M0.31M0.71M
20133.93M1.81M1.16M0.65M0.89M0.92M0.51M0.40M0.47M0.31M0.73M
20143.99M1.83M1.18M0.66M0.91M0.95M0.52M0.40M0.47M0.31M0.75M
20154.05M1.86M1.20M0.66M0.93M0.97M0.52M0.41M0.48M0.31M0.76M
20164.09M1.88M1.22M0.67M0.94M1.01M0.53M0.42M0.49M0.32M0.78M
20174.14M1.90M1.25M0.68M0.95M1.04M0.54M0.42M0.50M0.32M0.79M
20184.19M1.92M1.28M0.69M0.97M1.08M0.55M0.43M0.51M0.32M0.81M
20194.23M1.94M1.30M0.70M0.98M1.11M0.56M0.44M0.52M0.33M0.83M
20204.28M1.97M1.33M0.70M0.99M1.15M0.57M0.44M0.53M0.33M0.84M
20214.31M1.99M1.33M0.71M1.00M1.16M0.57M0.45M0.54M0.33M0.85M
20224.35M2.01M1.34M0.71M1.00M1.17M0.58M0.45M0.54M0.34M0.85M
20234.39M2.03M1.35M0.72M1.01M1.19M0.58M0.46M0.55M0.34M0.86M
20244.42M2.05M1.35M0.72M1.02M1.20M0.58M0.46M0.56M0.34M0.86M
20254.46M2.07M1.36M0.72M1.02M1.22M0.58M0.47M0.57M0.35M0.87M
20264.49M2.09M1.36M0.73M1.03M1.23M0.58M0.47M0.57M0.35M0.87M
20274.52M2.11M1.37M0.73M1.04M1.24M0.58M0.48M0.58M0.35M0.88M
20284.55M2.13M1.37M0.73M1.04M1.25M0.59M0.48M0.58M0.35M0.88M
20294.58M2.16M1.38M0.73M1.05M1.26M0.59M0.49M0.58M0.35M0.89M
20304.61M2.18M1.38M0.73M1.06M1.27M0.59M0.49M0.59M0.36M0.89M
20314.63M2.19M1.38M0.74M1.06M1.27M0.59M0.50M0.59M0.36M0.89M
20324.66M2.21M1.39M0.74M1.07M1.28M0.59M0.50M0.60M0.36M0.90M
20334.69M2.23M1.39M0.74M1.07M1.29M0.59M0.50M0.60M0.36M0.90M
20344.72M2.25M1.39M0.74M1.08M1.30M0.59M0.51M0.61M0.36M0.90M
20354.75M2.27M1.40M0.74M1.08M1.31M0.60M0.51M0.61M0.37M0.91M
20364.77M2.28M1.40M0.74M1.09M1.32M0.60M0.52M0.62M0.37M0.92M
20374.79M2.29M1.40M0.74M1.09M1.32M0.60M0.52M0.62M0.38M0.93M
20384.81M2.31M1.40M0.75M1.10M1.33M0.60M0.52M0.63M0.39M0.93M
20394.83M2.32M1.40M0.75M1.10M1.34M0.60M0.53M0.63M0.39M0.94M
20404.85M2.34M1.40M0.75M1.11M1.34M0.60M0.53M0.63M0.40M0.95M
20414.86M2.35M1.41M0.75M1.11M1.35M0.60M0.53M0.64M0.40M0.95M
20424.88M2.36M1.41M0.75M1.12M1.36M0.60M0.54M0.64M0.40M0.96M
20434.90M2.37M1.41M0.75M1.12M1.36M0.60M0.54M0.64M0.40M0.96M
20444.91M2.38M1.41M0.75M1.12M1.37M0.60M0.55M0.65M0.40M0.96M
20454.93M2.39M1.41M0.75M1.13M1.37M0.60M0.55M0.65M0.40M0.96M
20464.94M2.40M1.41M0.75M1.13M1.38M0.60M0.55M0.65M0.41M0.96M
20474.95M2.41M1.41M0.75M1.13M1.38M0.60M0.55M0.65M0.41M0.97M
20484.97M2.42M1.41M0.75M1.13M1.39M0.60M0.56M0.66M0.41M0.97M
20494.98M2.43M1.41M0.75M1.13M1.39M0.60M0.56M0.66M0.41M0.97M
20504.99M2.44M1.41M0.75M1.14M1.39M0.60M0.56M0.66M0.41M0.97M

Post it

Suggested caption: “Casablanca: 4.46 million people, 2.15 times Rabat.” Credit the source in your caption; it heads off the 'source?' comments.

Make it yours

  • Switch between bar, line, column and donut races with one click.
  • Pick 9:16 for Reels and TikTok, 4:5 for the feed or 16:9 for YouTube.
  • Change the theme, font, colors and race length, and add your own captions.
  • Paste your own numbers from Excel or Google Sheets. See the bar chart race maker for tips.

Frequently asked questions

What is the largest city in Morocco?

Casablanca is the largest city in Morocco in the UN 2025 series, with about 4.46 million people. Rabat follows at 2.07 million. These figures use the UN Degree of Urbanization definition, not municipal boundaries.

Which city is projected to be largest in Morocco in 2050?

The UN projects Casablanca to rank first in 2050, with about 4.99 million people. This is a projection, not an observed population count.

Was Casablanca also the largest city in 1975?

The 1975 ranking was led by Casablanca, with 1.74 million people. The table preserves every city that reached the top ten in any year shown, including cities outside the top ten today.

Where does this data come from?

UN DESA, World Urbanization Prospects: The 2025 Revision (File 21), city population, millions, 1975–2050 (projected after 2025). Retrieved November 5, 2026. Cities as defined by the Degree of Urbanization (contiguous dense areas), so figures differ from city-proper or metro counts. Blank cells indicate that the source supplies no city value for that year, not zero population. You can download the full table as a CSV from this page.

Can I turn this chart into a video?

Yes. Open it in the editor, change the title, theme, colors or format (9:16 for Reels and TikTok, 16:9 for YouTube), and export an MP4. Free exports are 720p with a small watermark; Pro ($11.99/month) removes it and adds 1080p, 4K and 60 fps.

Related data

All cities charts