Biggest Cities in Morocco: Ranked by Population

Biggest Cities in Morocco - aerial view of Jemaa el-Fnaa square in Marrakech at sunset, showing the Koutoubia Mosque minaret, crowded market stalls, and glowing food vendor lights against an orange sky

Morocco’s population map holds a few surprises, even for people who’ve already done some research before their trip. The city most tourists picture first, Marrakech, isn’t actually the biggest. Casablanca claims that title by a wide margin, while cities like Salé and Fez, which don’t always dominate the typical tourist itinerary, rank higher than you might expect. Understanding the actual size and character of Morocco’s biggest cities helps put the country’s geography, and your own trip planning, into better context.

This guide ranks Morocco’s largest cities by population, what defines each one, and how they fit into a wider Morocco itinerary, including how easily each connects to a Sahara Desert excursion.

Table of Contents

Morocco's Biggest Cities at a Glance

Rank City Population Region
1 Casablanca ~3.2 million Casablanca-Settat
2 Tangier ~1.27 million Tanger-Tetouan-Al Hoceima
3 Fez ~1.24 million Fès-Meknès
4 Marrakech ~1 million Marrakesh-Safi
5 Salé ~945,000 Rabat-Salé-Kénitra
6 Meknes ~696,000 Fès-Meknès
7 Rabat ~516,000 Rabat-Salé-Kénitra
8 Kenitra ~508,000 Rabat-Salé-Kénitra
9 Agadir ~422,000 Souss-Massa
10 Oujda ~480,000-494,000 Oriental

Figures are approximate and based on recent census data, since populations shift gradually year to year.

1. Casablanca: Morocco's Largest City by Far

Casablanca isn’t just Morocco’s biggest city, it’s more than double the size of the next one on the list. As the country’s economic and commercial capital, Casablanca is home to major businesses, the country’s busiest port, and the striking Hassan II Mosque, one of the largest mosques in the world, built dramatically over the Atlantic Ocean. Its size and modern character set it apart from Morocco’s more historic imperial cities, feeling closer to a major European or Middle Eastern metropolis than the medina-centered cities most travelers expect.

2. Tangier: The Fast-Growing Northern Gateway

Tangier holds the number two spot, and its population has grown substantially in recent years thanks to major infrastructure investment and its strategic position at the Strait of Gibraltar, just a short ferry ride from Spain. Beyond its size, Tangier’s international history as a former multi-power controlled zone gives it a genuinely cosmopolitan character, blending Moroccan, Spanish, and French influences in a way that few other Moroccan cities can match.

3. Fez: The Historic and Spiritual Heavyweight

Fez ranks as Morocco’s third-largest city, and it carries the country’s deepest historical and spiritual weight. Home to Fes el Bali, one of the largest car-free urban areas in the world, and the University of Al Quaraouiyine, recognized as the oldest continuously operating educational institution on the planet, Fez combines serious population size with an atmosphere that feels centuries removed from Casablanca’s modern skyline.

4. Marrakech: Famous, But Not the Biggest

This tends to surprise first-time visitors: despite being Morocco’s most internationally famous city, Marrakech only ranks fourth by population. Its red sandstone walls, sprawling souks, and the ever-lively Jemaa el-Fnaa square give it an outsized reputation relative to its actual size, and it remains the most common starting point for a Sahara Desert excursion thanks to its proximity to the Atlas Mountains.

5. Salé: Rabat's Overlooked Neighbor

Salé sits just across the Bou Regreg River from the capital, Rabat, and despite its size, it doesn’t get nearly the tourist attention its population would suggest. With roots tracing back to Berber settlements, Salé offers a genuinely historic medina and the impressive Great Mosque, largely without the crowds found in Morocco’s more famous destinations.

6. Meknes: The Underrated Imperial City

Meknes, one of Morocco’s four Imperial Cities, ranks sixth in population but often gets overshadowed by its more famous neighbor, Fez, just an hour away. Built up dramatically under Sultan Moulay Ismail, Meknes features the monumental Bab Mansour gate and extensive former royal stables, along with easy access to the impressively preserved Roman ruins of Volubilis nearby.

7. Rabat: The Capital That Isn't the Biggest

It surprises a lot of travelers that Rabat, Morocco’s political capital, doesn’t crack the top five in population. What it lacks in size, it makes up for in calm, orderly charm, the Kasbah des Oudayas, the Hassan Tower, and a noticeably more relaxed pace than Casablanca or Marrakech make it a worthwhile, if often overlooked, addition to a Morocco itinerary.

8. Kenitra: A Growing Northern Hub

Kenitra, formerly known as Port Lyautey, has grown steadily thanks to its port and proximity to Rabat. While it doesn’t feature heavily on most tourist routes, its size reflects Morocco’s ongoing urban growth along the Atlantic corridor north of the capital.

9. Agadir: Morocco's Biggest Beach City

Agadir ranks ninth in population and stands out as Morocco’s primary beach resort destination. Rebuilt in a modern style after a major earthquake in the 1960s, Agadir offers wide sandy beaches and a straightforward, sun-and-sand style of tourism that contrasts sharply with the medina-focused cities further north.

10. Oujda: The Eastern Gateway

Oujda, Morocco’s largest city in the east, sits close to the Algerian border and blends Moroccan and Algerian cultural influences in a way that’s genuinely distinct from the rest of the country. It remains well off the typical tourist path, which gives it an authenticity that busier, more touristic cities have gradually lost.

Population Size vs Tourist Popularity: An Important Distinction

One of the more interesting patterns in this list is how disconnected population size is from tourist popularity in Morocco. Marrakech, the country’s most visited city by international tourists, ranks only fourth in population. Rabat, the capital, doesn’t even crack the top five. Meanwhile, cities like Casablanca and Tangier, both genuinely massive, don’t always get the multi-day stays that smaller, more historically dense cities like Fez or Marrakech receive. This is worth keeping in mind when planning: a bigger city doesn’t necessarily mean more to see as a tourist, it often just means a larger, more modern, more commercially focused urban area.

How Morocco's Biggest Cities Connect to a Sahara Desert Trip

Despite their size, most of Morocco’s biggest cities sit a fair distance from the Sahara, which shapes how a desert excursion typically gets built into a trip. Marrakech remains the shortest, most direct route to the dunes, despite ranking only fourth in population, thanks to its proximity to the High Atlas Mountains. Casablanca, Tangier, and Fez all require a longer journey south, generally treated as either an arrival point or the start of a multi-day route toward the desert rather than a direct, same-day connection.

If a Sahara excursion is part of your plans, Marrakech desert tours and Ouarzazate desert tours offer the shortest routes to the dunes, while Fes desert tours and Tangier desert tours work well if your trip starts in one of Morocco’s larger northern cities. Our full Morocco desert tours page covers every route and starting point available, and our Morocco itineraries page can help you plan a route that balances the country’s biggest cities with a proper desert experience.

Which Big Moroccan City Has the Best Airport?

If you’re flying into Morocco, airport size and flight options matter just as much as city population. Here’s a simple breakdown:

  • Casablanca (Mohammed V Airport): Morocco’s busiest airport by far, with the most international flights from North America, Europe, and the Middle East.
  • Marrakech (Menara Airport): Despite being the fourth-biggest city, Marrakech has one of the busiest airports for tourists, with lots of direct flights from Europe.
  • Tangier (Ibn Battouta Airport): Smaller than Casablanca’s airport, but convenient if you’re coming from Spain or planning to start your trip in the north.
  • Fez (Fes-Saïss Airport): Handles a decent number of flights, mostly from France, and works well if Fez is your starting point.

For most travelers, Casablanca or Marrakech will be your entry point, simply because they have the most flight options.

Biggest Cities in Morocco by Region

Region Biggest City in the Region
Casablanca-Settat Casablanca
Tanger-Tetouan-Al Hoceima Tangier
Fès-Meknès Fez
Marrakesh-Safi Marrakech
Rabat-Salé-Kénitra Salé
Souss-Massa Agadir
Oriental Oujda

This table is handy if you’re trying to figure out which city acts as the main hub for a specific part of the country.

Which Moroccan City Is Growing the Fastest?

Tangier stands out as one of Morocco’s fastest-growing cities in recent years. Big investments in the port, new factories, and its location right across from Spain have brought more people and more jobs to the city. Casablanca also keeps growing steadily, simply because it’s the country’s main business center and a lot of people move there for work. Smaller cities like Kenitra are growing too, mostly because they sit close to bigger cities like Rabat and offer cheaper housing.

Big Cities vs Small Towns: What It Means for Travelers

Morocco’s biggest cities and its smaller towns offer very different experiences, and it helps to know the difference before you plan your trip:

  • Big cities (Casablanca, Tangier, Fez, Marrakech) — More hotels, more restaurants, easier transport, but also more traffic, noise, and tourist crowds.
  • Smaller towns (Chefchaouen, Essaouira, Ouarzazate) — Quieter, more relaxed, and often more affordable, but with fewer flight and transport options, so you will usually need to connect through a bigger city first.

A good Morocco trip usually mixes both, a couple of big cities for the classic experience, plus one or two smaller towns to slow down and see a different side of the country.

Best Big City in Morocco for Each Type of Traveler

Traveler Type Best Big City
First-time visitors Marrakech
Business travelers Casablanca
History lovers Fez
Beach lovers Agadir
Travelers coming from Spain Tangier
Budget travelers Meknes

Frequently Asked Questions About Biggest Cities in Morocco

What is the biggest city in Morocco?

Casablanca is by far the largest, with a population of roughly 3.2 million, more than double the size of the second-largest city, Tangier.

No. Despite being Morocco’s most famous tourist destination, Marrakech ranks fourth in population, behind Casablanca, Tangier, and Fez.

No, even though Rabat is the political capital, it ranks seventh in population, smaller than Casablanca, Tangier, Fez, Marrakech, Salé, and Meknes.

Tangier holds the second spot, with a population of roughly 1.27 million, thanks in part to its strategic location and recent growth.

Marrakech, despite ranking fourth by population, offers the shortest and most direct route to the Sahara compared to Morocco’s other largest cities.

Three cities currently exceed a million residents: Casablanca, Tangier, and Fez, with Marrakech sitting just under that mark.

Final Thoughts

Morocco’s biggest cities don’t always line up with the ones most travelers put at the top of their itinerary, and that’s exactly what makes this ranking interesting. Casablanca’s sheer size reflects its role as the country’s economic engine, while smaller-by-comparison cities like Marrakech and Fez continue to draw the bulk of international attention thanks to their history and atmosphere rather than their size. Understanding this distinction helps put together a smarter itinerary, one that balances the country’s largest urban centers with the historic, cultural stops that make a Morocco trip memorable.

If you are planning a Morocco trip and want help deciding which cities to prioritize, or building in a proper Sahara Desert excursion, feel free to get in touch with us. We help travelers piece together routes like this regularly and are happy to help you plan one that fits exactly what you’re looking for.

Your Local Experts

I’m Lahcen Saadi from the Exploring Morocco Trips team. We are local guides dedicated to crafting authentic and exceptional Moroccan experiences.

Whether you are planning your first trip to Morocco and need expert advice, or you are a travel professional looking to collaborate on unique itineraries, we are ready to help.

Plan Your Trip: Click any destination to see more
Marrakech Desert tours
Fes Desert tours
Tours from Casablanca
Special Morocco tours
Day Trips from Marrakech
Day Trips from Fes
Scroll to Top