Skip to content

Largest Cities in Morocco, 1975–2025 — Bar Chart Race

This bar chart race ranks 64 cities in Morocco by population (people), year by year from 1975 to 2025. The data comes from UN World Urbanization Prospects 2025.

Loading chart…

Customise this chart & export videoDownload the data (CSV)

Key facts

  • Casablanca leads in 2025 with 4,457,471 people, followed by Rabat (2,069,287).
  • In 1975 the leader was Casablanca with 1,743,210 people.
  • Among today’s top ten, Tangier grew the most: 4.8× since 1975.
  • The animation covers 51 time steps from 1975 to 2025 across 64 cities.

How the ranking changed

Casablanca held first place in every period from 1975 to 2025; the closest challenger in 2025 is Rabat at 2.1M people.

The biggest climbers into the 2025 top ten were Agadir (25th in 1980, now 6th).

Agadir was not in the top ten in 1975 but is in it by 2025.

Top 10 in 2025

Largest Cities in Morocco, 2025
RankNameValue (people)
1Casablanca4,457,471
2Rabat2,069,287
3Fez1,359,989
4Tangier1,217,976
5Marrakesh1,021,530
6Agadir869,990
7Meknes722,852
8Oujda583,116
9Kenitra566,802
10Tétouan469,642

Top 10 in 1975

Largest Cities in Morocco, 1975
RankNameValue (people)
1Casablanca1,743,210
2Rabat603,192
3Fez439,279
4Meknes318,246
5Marrakesh307,643
6Tangier254,013
7Oujda246,161
8Tétouan172,224
9Kenitra149,011
10Safi143,728

Top 5 over time

Largest Cities in Morocco: top 5 at each point
Period#1#2#3#4#5
1975Casablanca1.7M peopleRabat603.2K peopleFez439.3K peopleMeknes318.2K peopleMarrakesh307.6K people
1980Casablanca2.1M peopleRabat767.7K peopleFez518.1K peopleMeknes356.7K peopleMarrakesh347.7K people
1990Casablanca2.7M peopleRabat1.1M peopleFez704.7K peopleMarrakesh497K peopleTangier464.7K people
2000Casablanca3.2M peopleRabat1.5M peopleFez906.7K peopleMarrakesh655.1K peopleTangier625.3K people
2010Casablanca3.8M peopleRabat1.7M peopleFez1.1M peopleMarrakesh837.4K peopleTangier837K people
2020Casablanca4.3M peopleRabat2M peopleFez1.3M peopleTangier1.1M peopleMarrakesh992.4K people
2025Casablanca4.5M peopleRabat2.1M peopleFez1.4M peopleTangier1.2M peopleMarrakesh1M people

About the data

Cities are delineated with the Degree of Urbanisation method: contiguous grid cells of at least 1,500 inhabitants per km² with a total population of at least 50,000, so figures describe the whole urban area rather than the administrative city.

Source: UN World Urbanization Prospects 2025, licensed CC BY 3.0 IGO. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.

Questions

Which city ranks first for population in Morocco in 2025?

Casablanca, with 4.5M people. Rabat is second with 2.1M people and Fez third.

Which city was first in 1975?

Casablanca, with 1.7M people. It is still first in 2025.

What were the top 5 cities in 2000?

1. Casablanca (3.2M people), 2. Rabat (1.5M people), 3. Fez (906.7K people), 4. Marrakesh (655.1K people) and 5. Tangier (625.3K people).

Where does the data come from?

UN World Urbanization Prospects 2025, published under CC BY 3.0 IGO. The chart covers 51 time steps from 1975 to 2025 for 64 cities.

Can I export the bar chart race as a video?

Yes. The chart is rendered frame by frame in your browser and saved as an MP4 (H.264) file at up to 4K and 60 frames per second. Nothing is uploaded, so your data stays on your device.

More bar chart races