Fez, Meknes, Rabat and Marrakech share a title that trips up a lot of first-time visitors: Morocco's "imperial cities." Here's what that actually means, what to see in each, and how to link all four into one trip.
What "imperial city" means
An imperial city is simply one that served, at some point in Morocco's history, as the capital under a ruling dynasty. Fez, Meknes, Marrakech and Rabat have each held that role at different times across the Idrisid, Almoravid, Almohad, Marinid, Saadi and Alaouite dynasties, which is why all four retain grand royal architecture, historic medinas and monumental gates — the physical legacy of once being the seat of power.
Fez: the oldest medina
Fez el-Bali is the world's largest car-free urban area and Morocco's spiritual and cultural capital, founded in the 9th century. Highlights include the Al-Qarawiyyin (among the world's oldest universities), the tanneries, and a medina labyrinth best explored with a guide on your first visit.
Meknes and nearby Volubilis
Meknes, the 17th-century capital of Sultan Moulay Ismail, is known for the monumental Bab Mansour gate and vast royal stables — often paired with a visit to nearby Volubilis, Morocco's best-preserved Roman archaeological site.
Rabat: the modern capital
Rabat has been Morocco's political capital since 1912 and blends historic sites — Chellah, the Kasbah of the Udayas, Hassan Tower — with a calmer, more contemporary city feel than the other three. See our dedicated Rabat day trip guide for a detailed itinerary.
Marrakech: the red city
Marrakech, capital under several dynasties and the most visited of the four today, offers the Koutoubia Mosque, Bahia Palace, Jemaa el-Fnaa's nightly spectacle and Morocco's most famous souks — the natural gateway to the Atlas Mountains and Sahara beyond.
Comparison table
| City | Known for | Time needed |
|---|---|---|
| Fez | Oldest medina, spiritual capital | 2 days |
| Meknes | Royal gates, stables, Volubilis | 1 day |
| Rabat | Calm capital, coastal kasbah | 1 day |
| Marrakech | Souks, palaces, desert gateway | 2–3 days |
Sample 8-day imperial cities route
Days 1–2: Fez · Day 3: Meknes & Volubilis (day trip or en route) · Day 4: Rabat · Days 5–7: Marrakech (with an optional 1-day Atlas/desert extension) · Day 8: Departure. This can flex into a longer trip by adding Chefchaouen, Essaouira or a Sahara extension.
Best time to go
As with the rest of Morocco, spring (March–May) and autumn (September–November) offer the most comfortable citywide temperatures; summer is hot but manageable given the cities' cooler evenings compared to the desert, and winter is mild by day but cool at night, especially in Fez and Meknes' inland climate.



