Largest Cities in Morocco

🇲🇦 See all of this country’s rankings →

At a glance

2024: Casablanca has the highest value among the listed entries at 3,218,036. 60 entries; unit: people.

Reference: 2024 · Unit: people · 60 listed entries.

Source: High Commission for Planning (HCP), 2024 census (via Wikipedia) · CC BY-SA 4.0 (Wikipedia); underlying data © the cited publisher · fetched

Each tile’s area is its share of the combined total of 17,145,802 (60 entries). Stronger colour means a higher rank. The smallest 20 are merged into one grey tile.

Compare two entries

Same measure, same snapshot: 2024. Select two entries to see their values and the absolute gap.

Casablanca3,218,036Position 1 of 60

Tangier1,275,428Position 2 of 60

Absolute difference1,942,608Casablanca has the higher value

Calculated by AllRanks from the displayed values before rounding. Positions follow the table order; equal values are ordered by name. A gap does not establish a cause or an overall quality difference.

Largest Cities in Morocco — 2024. Values in people.
RankEntryRelative valueValue (people)
1CasablancaCasablanca-Settat
3,218,036
2TangierTanger-Tetouan-Al Hoceima
1,275,428
3FezFès-Meknès
1,239,315
4MarrakeshMarrakesh-Safi
1,014,813
5SaléRabat-Salé-Kénitra
945,101
6MeknesFès-Meknès
695,662
7RabatRabat-Salé-Kénitra
515,619
8KenitraRabat-Salé-Kénitra
507,736
9OujdaOriental
506,224
10AgadirSouss-Massa
504,768
11TetouanTanger-Tetouan-Al Hoceima
422,757
12SafiMarrakesh-Safi
323,888
13Dar Bouazza (Tamaris)Casablanca-Settat
302,970
14TemaraRabat-Salé-Kénitra
297,098
15El JadidaCasablanca-Settat
237,464
16Aït MelloulSouss-Massa
210,870
17Beni MellalBéni Mellal-Khénifra
209,594
18BouskouraCasablanca-Settat
200,359
19KhouribgaBéni Mellal-Khénifra
195,931
20MohammediaCasablanca-Settat
194,358
21SettatCasablanca-Settat
171,556
22BerrechidCasablanca-Settat
168,687
23NadorOriental
158,202
24TazaFès-Meknès
150,763
25InezganeSouss-Massa
137,512
26LaracheTanger-Tetouan-Al Hoceima
133,731
27GuelmimGuelmim-Oued Noun
126,729
28KhemissetRabat-Salé-Kénitra
125,834
29Ksar El KebirTanger-Tetouan-Al Hoceima
124,701
30KhenifraBéni Mellal-Khénifra
123,738
31SkhiratRabat-Salé-Kénitra
122,705
32BenguerirMarrakesh-Safi
114,872
33Dcheira El JihadiaSouss-Massa
113,041
34LqliaaSouss-Massa
107,133
35El Kelaa Des SraghnaMarrakesh-Safi
106,418
36TifeltRabat-Salé-Kénitra
103,850
37TaourirtOriental
100,402
38Oulad TeimaSouss-Massa
100,284
39BerkaneOriental
99,069
40ErrachidiaDrâa-Tafilalet
97,687
41Fquih Ben SalahBéni Mellal-Khénifra
97,380
42MartilTanger-Tetouan-Al Hoceima
95,896
43Sidi SlimaneRabat-Salé-Kénitra
95,114
44Oued ZemBéni Mellal-Khénifra
93,776
45Bni YakhlefCasablanca-Settat
89,531
46LahraouyineCasablanca-Settat
87,977
47SefrouFès-Meknès
86,903
48TiznitSouss-Massa
86,595
49TaroudantSouss-Massa
83,496
50EssaouiraMarrakesh-Safi
82,962
51GuercifOriental
80,703
52OuarzazateDrâa-Tafilalet
79,218
53DrarguaSouss-Massa
78,830
54FnideqTanger-Tetouan-Al Hoceima
77,250
55Tan-TanGuelmim-Oued Noun
76,134
56Sidi KacemRabat-Salé-Kénitra
75,037
57Souk El ArbaaRabat-Salé-Kénitra
70,894
58TamensourteMarrakesh-Safi
68,285
59M'diqTanger-Tetouan-Al Hoceima
67,599
60BenslimaneCasablanca-Settat
67,317

Which included cities or municipalities have the largest recorded populations?

Casablanca has the highest listed value, 3,218,036. This is a position within 60 included entries, not proof of leadership beyond this coverage. Read “Largest Cities in Morocco” as a comparison of the included entries within Morocco under the stated people measure. The useful conclusion depends on the definition, included entries and reference period.

What question does this measure answer?

The question here concerns “Largest Cities in Morocco” for the included entries within Morocco. Moroccan cities ranked by population at the 2024 census.

The printed unit is people; the displayed reference period is 2024. Population counts depend on the boundary being counted. A city proper, municipality, built-up area and metropolitan region may share a name while describing different groups of residents.

What the included observations show

Casablanca has the highest listed value, 3,218,036. This is a position within 60 included entries, not proof of leadership beyond this coverage.

To look beyond the leading entry, the middle half of listed observations lies between 87,977 and 237,464, using the stored values at the rounded-outward 25% and 75% index positions. The median is 123,222. These describe this list’s distribution, not an average weighted by population or economic size.

How to use the comparison

Check the source’s geographical definition and observation date before comparing this figure with another website. To estimate growth, use a time series with consistent boundaries rather than subtracting two differently defined city figures.

How this page was prepared

AllRanks retrieved this dataset on 2026-10-17. The table retains the stored values and sorts from highest to lowest; equal stored values are ordered by name. Formatting can round two different values to the same printed label.

Collection and validation checks concern the stored snapshot. They are not independent field measurements or an expert audit of every source observation.

Limits that matter for this dataset

A city’s absence is not a zero population. Geographical databases and compiled lists may combine census observations and estimates from different dates; a collection year does not make them contemporaneous.

The coverage for this page is exactly the 60 listed entries. It does not establish the size or completeness of the full eligible population.

Sources, provenance & corrections

Source URL last requested 2026-10-22. The source link responded during this check; that does not establish a review of every value.

Report a disputed value or interpretation with this page’s URL and a supporting source. Contact AllRanks →

About this ranking

Historical data · 2024
Source
High Commission for Planning (HCP), 2024 census (via Wikipedia) ↗
Reference period
2024Dataset updated Oct 17, 2026. The badge reflects the reference year, not the update date.
Definition
Moroccan cities ranked by population at the 2024 census.
Unit
people
Coverage & value range
Morocco · 60 listed entriesValues: 67,317 to 3,218,036
Ranking direction
Highest value first (descending)#1 is the highest listed value, not necessarily the best outcome.

Coverage describes this list, not necessarily the full population. Missing entries do not imply a value of zero. Collection & methodology →