The largest city in Morocco is Casablanca, the big Atlantic port that many travelers see first when they land in Morocco. It is the country’s economic and business center, but it is not the capital. This guide explains the facts about the largest city in Morocco, how it compares with Rabat, Marrakech and Fes, and what is worth seeing if you spend a day there.
The largest city in Morocco: Casablanca
Casablanca had 3,218,036 people in the 2024 census, which makes it the largest city in Morocco, and the wider Greater Casablanca area is much bigger, at over 4.27 million. The city sits on the Atlantic coast, and a hot-summer Mediterranean climate moderated by the Canary Current moderates the temperatures.
Is the largest city in Morocco also the capital?
No. The capital of Morocco is Rabat, which became the administrative capital, while Casablanca became the economic capital. Many visitors mix this up, in the same way that they ask whether Morocco is in Africa before they plan a trip. Knowing the difference helps you plan your route.
Why the largest city in Morocco Matters for the Economy
Casablanca is a major financial center. The Casablanca Stock Exchange was Africa’s third-largest by market capitalization as of December 2022, and the Port of Casablanca is one of the largest artificial ports in Africa. The city also hosts the main base of the Royal Moroccan Navy. For travelers, it also means an international airport right on the edge of the city.
Arriving at Mohammed V Airport
Many international visitors arrive at Mohammed V Airport. From there you can continue by train, bus or car, and our guide to airport transfers in Morocco explains the options. If you compare transport choices, see train vs bus vs rental car in Morocco.
The Hassan II Mosque: The Landmark of the largest city in Morocco
The main sight is the Hassan II Mosque, inaugurated in 1993. Its minaret is 210 m tall, the second-tallest in the world, and the building extends over the Atlantic Ocean. The mosque can hold up to 105,000 worshippers, with about 25,000 in the prayer hall and 80,000 on the grounds outside. It was designed by the French architect Michel Pinseau.


Visiting the Mosque as a Traveler
The mosque is known as one of the few in Morocco open to non-Muslim visitors, and you can enter the interior only on a guided tour that you book at the mosque. Dress modestly, keep your voice low, and do not eat or smoke inside. Tour times change between seasons and during Ramadan, so confirm them before you go.


The Largest City in Morocco vs Other Famous Cities
Marrakech, Fes, Rabat and Tangier are all big names in Moroccan travel, but Casablanca is the one at the top of the population list. Each city has a different role. Rabat is the administrative capital, Marrakech is the Red City with its famous medina, and Fes is known for its old town. Our guides to Marrakech and Fes help you choose where to spend your nights, and the Chefchaouen guide covers the blue city in the north.
Is the largest city in Morocco Worth Visiting?
Casablanca is modern and busy, and it feels less like a postcard than Marrakech does. Some travelers stay one night, see the Hassan II Mosque, and then continue to other cities. If you wonder how it compares, read whether Marrakech is worth visiting and our guide to Fes vs Marrakech. Our team has a base in Casablanca as well, so we can meet you here.
How to Add Casablanca to Your Morocco Trip
Casablanca fits well at the start or end of a trip. For a first visit, our 7 days in Morocco itinerary and the 8 day itinerary for limited vacation time show how to use your days. Decide how long to stay with our guide to how many days you need in Morocco, and pick your season with the best time to visit Morocco.
From the coast you can head to the mountains or the Sahara. Our Sahara vs Atlantic coast guide compares the two, and a 3 or 4 day desert tour is a classic way to reach the dunes. For the desert itself, see Erg Chebbi vs Erg Chigaga.
Before you go, learn the basics in our Darija phrases guide, and read how cash in Morocco and tipping in Morocco work.
FAQ: The largest city in Morocco
What is the largest city in Morocco?
Casablanca is the largest city in Morocco, with 3,218,036 people in the 2024 census.
Is Casablanca the capital of Morocco?
No. Rabat is the administrative capital, and Casablanca is the economic capital.
Can non-Muslims visit the Hassan II Mosque?
Yes, on a guided tour that you book at the mosque. Dress modestly and confirm the times before you go.
How tall is the Hassan II Mosque minaret?
The minaret is 210 m tall, the second-tallest in the world.
Landing in Casablanca and want a driver-guide to take you onward? Message us your dates.
Message us on WhatsAppNavigate Morocco is a team from the Sahara desert who work as a family. We will be glad to help you plan your Casablanca arrival and the rest of your Morocco trip.
More Navigate Morocco guides: Is Morocco in Africa, Is Marrakech worth visiting, Morocco desert tour cost, things to do in Merzouga.
