Largest cities in Morocco by population
The 50 cities the United Nations Demographic Yearbook 2024 lists for Morocco: the capital and every city of 100,000 or more, with the latest figure the country reported. The largest is Casablanca with 3,566,020 people; the capital, Rabat, has 536,821.
Who runs cities in Morocco?
Prefectures (urban) and provinces (rural) (75): Council elected indirectly by commune councillors; governor appointed by the King. Social services, rural infrastructure and support to communes.
How local power works in Morocco · Level 3: local councils worldwide
| # | City | Population | Date |
|---|---|---|---|
| 1 | Casablanca | 3,566,020 | 1 July 2020 |
| 2 | Fès | 1,229,103 | 1 July 2020 |
| 3 | Tanger | 1,152,215 | 1 July 2020 |
| 4 | Marrakech | 1,044,494 | 1 July 2020 |
| 5 | Salé | 1,024,099 | 1 July 2020 |
| 6 | Meknès | 754,733 | 1 July 2020 |
| 7 | Kénitra | 696,345 | 1 July 2020 |
| 8 | Skhirate-Témara | 629,071 | 1 July 2020 |
| 9 | Inezgane ait Melloul | 600,399 | 1 July 2020 |
| 10 | Agadir | 599,292 | 1 July 2020 |
| 11 | Oujda | 586,196 | 1 July 2020 |
| 12 | Rabat (capital) | 536,821 | 1 July 2020 |
| 13 | Nador | 449,124 | 1 July 2020 |
| 14 | Tétouan | 420,599 | 1 July 2020 |
| 15 | Khouribga | 412,976 | 1 July 2020 |
| 16 | Nouaceur | 407,494 | 1 July 2020 |
| 17 | El-Jadida | 364,833 | 1 July 2020 |
| 18 | Safi | 359,785 | 1 July 2020 |
| 19 | Berrechid | 356,446 | 1 July 2020 |
| 20 | Béni-Mellal | 352,388 | 1 July 2020 |
| 21 | Mohammedia | 322,220 | 1 July 2020 |
| 22 | Khemisset | 306,939 | 1 July 2020 |
| 23 | Taroudannt | 286,572 | 1 July 2020 |
| 24 | Larache | 276,849 | 1 July 2020 |
| 25 | Laayoune | 258,879 | 1 July 2020 |
| 26 | Khénifra | 249,269 | 1 July 2020 |
| 27 | M'Diq-Fnideq | 241,530 | 1 July 2020 |
| 28 | Settat | 240,096 | 1 July 2020 |
| 29 | Fquih Ben Salah | 224,878 | 1 July 2020 |
| 30 | Taza | 216,363 | 1 July 2020 |
| 31 | Errachidia | 206,458 | 1 July 2020 |
| 32 | Berkane | 205,863 | 1 July 2020 |
| 33 | Médiouna | 181,971 | 1 July 2020 |
| 34 | El Kelâa des Sraghna | 181,170 | 1 July 2020 |
| 35 | Taourirt | 179,837 | 1 July 2020 |
| 36 | Sidi Kacem | 178,389 | 1 July 2020 |
| 37 | Sefrou | 171,951 | 1 July 2020 |
| 38 | Chtouka-Ait Baha | 156,908 | 1 July 2020 |
| 39 | Guelmim | 154,692 | 1 July 2020 |
| 40 | Oued Ed-Dahab | 143,141 | 1 July 2020 |
| 41 | Al Hoceima | 142,933 | 1 July 2020 |
| 42 | Sidi Slimane | 142,321 | 1 July 2020 |
| 43 | El Hajeb | 139,854 | 1 July 2020 |
| 44 | Midelt | 138,317 | 1 July 2020 |
| 45 | Benslimane | 132,989 | 1 July 2020 |
| 46 | Ouarzazate | 131,103 | 1 July 2020 |
| 47 | Rehamna | 123,834 | 1 July 2020 |
| 48 | Azilal | 112,622 | 1 July 2020 |
| 49 | Essaouira | 112,169 | 1 July 2020 |
| 50 | Youssoufia | 104,868 | 1 July 2020 |
Countries define a city in different ways (the city proper, or the wider urban area) and report in different years, so cities in different countries are not always comparable.
More on Morocco: official statistics · government and power
Sources
- United Nations Statistics Division: Demographic Yearbook 2024, Table 8: Population of capital cities and cities of 100 000 or more inhabitants, latest available year, 2005-2024, read 23 October 2026 · saved copy (SHA-256 0c6784df022e…)
Each saved copy is the file exactly as downloaded, kept so the figures can be checked even if the source changes. Report an error.