Quick Answer — Morocco’s Largest Cities (2024 census)

  1. Casablanca (~3.1 million; over 4 million in the metro) — economic capital, Hassan II Mosque
  2. Tangier (~1.3 million) — the fastest-growing city, Africa's largest port, the gateway to Europe
  3. Fes (~1.25 million) — the oldest medina, the spiritual heart
  4. Marrakech (~1 million) — the tourism capital and the best base for tours
  5. Meknes (~0.6 million) — the imperial city with Volubilis next door
  6. Oujda (~0.5 million) — the eastern gateway
  7. Rabat (~0.5 million; ~2 million with Salé and Témara) — the political capital
  8. Agadir (~0.5 million) — the beach resort

Best travel base: Marrakech, within reach of desert, mountains, and coast.

How Morocco Counts Its Cities

Morocco’s figures come from the national census of September 2024 — 36.8 million people, 63% of them in cities. For any large city the statistics office publishes three different numbers: the commune (the city proper), the prefecture or province (the city plus its administrative hinterland), and the agglomeration or metro (everything that functions as one urban area). Casablanca is about 3.1 million as a commune and about 4.3 million as Greater Casablanca; Rabat is half a million on its own and close to two million together with Salé and Témara across the river. That’s why the same city can be “3 million” on one site and “4 million” on another. This guide uses the commune figures — the only ones that compare like with like — and gives the metro figure where it changes the picture.

A note on Salé and Kenitra: Salé (~1 million) and Kenitra (~0.5 million) are larger than some cities on this list, but both are satellites of Rabat with almost nothing for a visitor; we cover them in Rabat’s entry rather than giving them their own.

Morocco’s 8 largest cities by the 2024 census — commune populations, rounded; verified November 2026
#CityPopulation (2024 census)RegionFrom MarrakechMDT Tour
1Casablanca~3.1M (metro 4.3M)Atlantic coast~3 h drive / 2h40 trainDay Trip from Marrakech to Casablanca
2Tangier~1.3MNorthern coast~5 h by train / 1 h flight—
3Fes~1.25MInterior north6 h direct / 3 days via the SaharaPrivate Fes to Marrakech Desert Tour – 3 Days
4Marrakech~1.0MInterior southYou’re hereMarrakech Walking Tour
5Meknes~0.6MInterior north5 h drive—
6Oujda~0.5MEastern border~10 h drive / flight via Casablanca—
7Rabat~0.5M (metro ~2M with Salé)Atlantic coast3 h drive / 4 h train—
8Agadir~0.5MSouthern coast3 h driveMarrakech to Agadir Day Trip
Traveller’s note: Marrakech is only the fourth city by population, but it’s the first by visitors — and its real asset is position: the Agafay stone desert in 45 minutes, the Atlas in 1.5 hours, Essaouira and Casablanca in about three, the Sahara in a three-day loop. Most international visitors fly into Marrakech or Casablanca; the airport section below says which to choose.
Nighttime view of Casablanca city centre with illuminated streets and modern buildings
Casablanca at night — Morocco’s biggest city and economic powerhouse

1. Casablanca — The Economic Capital

Population: ~3.1 million (metro 4.3 million) · From Marrakech: ~3 h drive / 2h40 train · Airport: Mohammed V (CMN), Morocco’s busiest.

Casablanca is Morocco’s largest city by a wide margin and its economic and financial capital — a working metropolis rather than a tourist city, which is both its reputation and its interest. The skyline is modern, the nightlife the most developed in the country, and the crown jewel is the Hassan II Mosque, Morocco’s largest, with a 210-metre minaret over the Atlantic and guided visits open to non-Muslims. One of the world’s largest Art Deco districts, the Corniche at Ain Diab, and Rick’s Café — a 2004 restaurant built on the film’s idea — round out a day. What to see, with prices, is in our things to do in Casablanca guide; the honest safety picture is in our guide to whether Casablanca is safe.

How to visit from Marrakech: the day trip in the table above, with hotel pickup, the mosque visit, and a licensed guide; or the ONCF train, roughly hourly, 2h40, about 100–150 MAD. Many travellers fly into Casablanca and take the train to Marrakech on Day 1.
Scenic panorama of Tangier with whitewashed buildings, minarets, and the Mediterranean beyond
Tangier — where Africa meets Europe across the Strait of Gibraltar

2. Tangier — The Gateway to Europe

Population: ~1.3 million · From Marrakech: ~5 h by train / 1 h flight · Airport: Ibn Battouta (TNG) · Ferry: from Tarifa, Spain, about an hour.

Tangier sits where the Atlantic meets the Mediterranean, 14 km from Spain across the Strait of Gibraltar, and it is the fastest-growing city in Morocco. The reasons are visible from the ring road: Tanger Med, 40 km east, is now the largest container port in Africa and the Mediterranean, and the Renault and Stellantis plants beside it have made northern Morocco the continent’s biggest car-making region — the city has roughly doubled since the port opened in 2007. For the visitor it’s still the cosmopolitan Tangier of the International Zone years — the Kasbah and its museum, the Caves of Hercules, Cap Spartel where the two seas meet, the cafés where Bowles and Burroughs wrote, and a restored medina and marina. Since 2018 the Al Boraq high-speed train has put Casablanca 2h10 away, and the line’s extension to Marrakech, under construction for the 2030 World Cup, will bring Tangier within about three hours of the Red City.

How to visit: a domestic flight from Marrakech, or the train — Marrakech to Casablanca, then Al Boraq north — about five hours in all. Travellers arriving from Spain by ferry start here and work south.

3. Fes — The Spiritual Capital

Population: ~1.25 million · From Marrakech: 6 h direct / 3 days via the Sahara · Airport: Fes-Saïss (FEZ).

Fes is Morocco’s oldest imperial city and its spiritual and intellectual heart. The medina, Fes el-Bali, is a UNESCO World Heritage Site and the world’s largest car-free urban area — arguably the best-preserved medieval city anywhere. The University of Al Quaraouiyine, founded in 859 AD, is the oldest continuously operating university in the world; the Chouara Tanneries, Bab Boujloud, the Bou Inania Madrasa, and the Mellah are the must-sees. Everything, with entrance fees, is in our Fes guide.

How to visit from Marrakech: the one-way desert tours in the table — Fes and the Sahara in one trip, in either direction — or the direct train and bus, about six hours.

4. Marrakech — The Tourism Capital

Population: ~1 million · Airport: Menara (RAK), direct flights from 100+ cities · Our home base.

The Red City is Morocco’s most visited city and the best base for exploring the country. Jemaa el-Fnaa is Africa’s most famous square and a UNESCO-listed cultural space; the Koutoubia, the Bahia Palace, the Majorelle Garden, and the labyrinth of the souks make the medina endlessly explorable — our things to do in Marrakech guide has the full set. But Marrakech’s real power is position: within 45 minutes of a desert and the mountains, within three hours of the coast.

From Marrakech you can reach: the Agafay Desert (45 min), the Atlas Mountains (1.5 h), Essaouira (2.5 h, on the Essaouira Day Trip from Marrakech), the Ouzoud Waterfalls Day Trip from Marrakech (2.5 h), Casablanca and Agadir (about 3 h — both in the table), and the Sahara on the Private 3 Days Marrakech Desert Tour to Merzouga.

5. Meknes — The Imperial Gem

Population: ~0.6 million · From Marrakech: 5 h drive · Nearest airport: Fes-Saïss (FEZ), an hour away.

Meknes is the fourth imperial city and the one most travellers skip — which is the reason to go. Sultan Moulay Ismail made it his capital in 1672 and spent fifty-five years building a rival to Versailles: 40 km of walls, the Bab Mansour gate — the finest in Morocco — the Heri es-Souani granaries and stables built for 12,000 horses, and his own mausoleum, open to non-Muslims. Thirty minutes away, the Roman city of Volubilis is the best-preserved in North Africa, with mosaics still in the floors of the houses, and the hill town of Moulay Idriss, Morocco’s holiest, overlooks it. Meknes is also the centre of Morocco’s wine country — the Guerrouane and Beni M’tir vineyards on the Middle Atlas slopes supply most of what’s poured in Marrakech.

Central square in Oujda with palm trees, clock tower, and historic architecture
Oujda — Morocco’s eastern gateway, blending Moroccan and Algerian influences

6. Oujda — The Eastern Gateway

Population: ~0.5 million · From Marrakech: ~10 h drive / flight via Casablanca · Airport: Oujda-Angads (OUD).

Oujda is the largest city in eastern Morocco and the furthest from the tourist trail — founded in 944, fought over for a thousand years by Fes and Tlemcen, and today a frontier town in the literal sense: the Algerian border, 15 km east, has been closed since 1994, so a city built as a crossroads sits at a dead end. That isolation is its character — a medina without a single souvenir shop, Gharnati music from the Andalusian tradition shared with Tlemcen, the Sidi Yahya oasis, and Saidia, “the Blue Pearl,” 60 km north, with 14 km of Mediterranean sand. The airport’s direct flights from France and Belgium serve the eastern diaspora more than tourists.

How to visit: fly, via Casablanca or direct from Europe; the train from Fes takes about five hours. Oujda rewards travellers doing the whole country, not a first visit.
Kasbah of the Udayas in Rabat — Morocco’s clean, orderly political capital

7. Rabat — The Political Capital

Population: ~0.5 million (metro ~2 million with Salé and Témara) · From Marrakech: 3 h drive / 4 h train · Airport: Rabat–Salé (RBA).

Rabat is Morocco’s political and administrative capital — the seat of the king and the government since 1912 — and a UNESCO World Heritage Site in its own right since 2012, for the way a 20th-century planned capital was built around a 12th-century Almohad one. It’s cleaner, calmer, and greener than Casablanca or Marrakech, which is exactly why it’s the capital and not the largest city: residents have moved to Salé and Témara as the centre became offices and embassies. The Hassan Tower — the unfinished minaret of what would have been the world’s largest mosque, 1195 — the Mausoleum of Mohammed V beside it, the Kasbah of the Udayas with its Andalusian garden, the Roman and Merinid ruins of Chellah, the Mohammed VI Museum of Modern and Contemporary Art, and the new Mohammed VI Tower, at 250 metres one of the tallest in Africa, are the draws. Rabat is one of the six 2030 World Cup host cities.

Agadir Marina — Morocco’s main beach resort city on the Atlantic coast

10. Agadir — The Beach City

Population: ~0.5 million · From Marrakech: 3 h drive · Airport: Agadir Al Massira (AGA).

Agadir is Morocco’s beach resort, rebuilt from nothing after the earthquake of 29 February 1960 destroyed the old city and killed a third of its people — which is why it’s the one Moroccan city with no medina, a grid of wide boulevards and a ten-kilometre beach instead. The draws are the beach and its promenade, Souk El Had — one of the biggest markets in the country — the hilltop kasbah ruin with its view of the bay and the new cable car up to it, the marina, and Crocoparc for families; Taghazout, 20 km north, is the surf village, and Paradise Valley in the hills behind it the day trip. With 300 days of sun and winter temperatures in the twenties, it’s the warm escape when Marrakech turns cold. Agadir is also a 2030 World Cup host city.

How to visit: the day trip in the table — the drive crosses the western High Atlas at Imi n’Tanoute, about three hours — or a stay of a few days using Agadir as the base for Paradise Valley, Taghazout, and the Souss valley.

Which City Should You Base Yourself In?

Flying In — Which Airport?

Marrakech Menara (RAK): the choice for desert tours, Atlas trekking, and day trips; direct flights from most European cities. Casablanca Mohammed V (CMN): the widest connections — the Americas, the Gulf, Africa — then the train to Marrakech (2h40) or a 45-minute connecting flight. Fes-Saïss (FEZ): for a northern start. Tangier Ibn Battouta (TNG): for arrivals from Spain. Agadir Al Massira (AGA): for a beach-first trip. The budget airlines serve all five.

One thing to plan around: from 2030 the high-speed line will link Tangier, Casablanca, and Marrakech in under three hours, which will change where it’s worth landing.

The 2030 World Cup — Six Host Cities

Morocco co-hosts the 2030 FIFA World Cup with Spain and Portugal, and six of the cities on this page are host cities: Casablanca, Rabat, Marrakech, Tangier, Fes, and Agadir. The centrepiece is the Grand Stade Hassan II at Benslimane, between Casablanca and Rabat, planned at 115,000 seats as the largest stadium in the world, and bidding to host the final. The build-up is reshaping the country’s transport: the Al Boraq extension to Marrakech, new terminals at Casablanca, Marrakech, and Tangier airports, and tram and road works in every host city. For a traveller the practical point is simple — book early for 2030, and expect the cities to look different each year until then.

Key Takeaways

Biggest: Casablanca (~3.1 million; 4.3 million metro) — the economic capital.

Second: Tangier (~1.3 million) — the fastest-growing city, ahead of Fes.

Best base: Marrakech (~1 million) — fourth by size, first by visitors.

Culture: Fes (~1.25 million) — the oldest medina, best paired with the Sahara.

Capital: Rabat (~0.5 million) — political capital, often confused with Casablanca.

Counting: Commune figures here; metro figures can be a million higher.

2030: Six host cities, and a high-speed line to Marrakech.

Frequently Asked Questions

Casablanca (about 3.1 million), Tangier (about 1.3 million), and Fes (about 1.25 million), by the 2024 census. Marrakech is fourth at about a million. Casablanca is the economic capital; Rabat, the political capital, is only the seventh city.
Casablanca, by three to one — about 3.1 million people to Marrakech’s one million, and more than four million in Greater Casablanca. Marrakech is the smaller city but the bigger destination: the tourism capital and the base for desert tours, day trips, and trekking.
Rabat — the seat of the king and the government since 1912, and a UNESCO World Heritage Site. Casablanca, the largest city, is the economic capital. Travellers confuse the two constantly; the test is that embassies are in Rabat and headquarters in Casablanca.
Tangier, since the 2024 census — about 1.3 million people, just ahead of Fes. It has grown fastest of any Moroccan city on the strength of Tanger Med, the largest port in Africa, and the car plants beside it.

Marrakech. Within 45 minutes: the Agafay stone desert and the Atlas foothills. Within 2.5 hours: Essaouira and the Ouzoud waterfalls. Within three: Casablanca and Agadir. And it's the starting point for the 3-day Sahara tours — the Shared 3-Day Marrakech to Merzouga Desert Tour from €95.

Marrakech (RAK) for the desert, the Atlas, and day trips; Casablanca (CMN) for the widest connections, then the train south; Fes (FEZ) for a northern start; Tangier (TNG) if coming from Spain; Agadir (AGA) for a beach-first trip.
Casablanca, Rabat, Marrakech, Tangier, Fes, and Agadir, with Spain and Portugal as co-hosts. The Grand Stade Hassan II at Benslimane, near Casablanca, is planned as the world’s largest stadium and the candidate for the final.
A matter of taste: Chefchaouen for its blue streets, Fes for architecture, Marrakech for atmosphere, Essaouira for the coast, and Tangier for its setting between two seas. None of the three biggest cities makes most people’s list, which says something about how Morocco’s size and charm are distributed.

Ready to Explore Morocco?

Start from Marrakech — the desert, the mountains, and the coast within reach. Guiding Morocco since 2008.