
4 min read
Morocco's imperial cities, explained
Four cities have each served as a ruling capital at some point, and each still carries that history differently.
Morocco is usually said to have four imperial cities: Fez, Marrakech, Meknes, and Rabat. Each one served as the political capital of a ruling dynasty at some point in the country's history; it's not an official title anyone holds today.
Fez was founded by the Idrisid dynasty in the 8th and 9th centuries, and later flourished under the Marinids, who built much of the madrasa architecture the medina is still known for. Marrakech rose under the Almoravids in the 11th century, then was rebuilt and expanded by the Almohads and, later, the Saadians, whose tombs still sit within the city walls. Meknes owes its monumental scale almost entirely to one ruler: the 17th-century Alaouite sultan Moulay Ismail, who built it on a scale meant to rival Versailles. Rabat's imperial status goes back further, to the Almohads, but its role as the modern capital dates specifically to 1912, under the French protectorate.
Each city wears that history differently. Fez feels the most continuously medieval. Marrakech mixes imperial-era monuments into a busier, more modern city around them. Meknes is quieter and less visited despite its scale. Rabat feels the most like a working capital, government buildings standing next to historic ones.
An "imperial cities" route, typically Fez, Meknes, and Marrakech, with Rabat sometimes added, is one of the more common ways to build a Morocco trip around architecture and history instead of desert or coast.
Planning around Meknes? Read the Meknes destination guide or see 6-Day Imperial Cities Tour from Marrakech, a sample itinerary that includes it.
A few common questions
Ready to see this in person?
6-Day Imperial Cities Tour from Marrakech
The four imperial cities without a single night in the desert: for travellers who came for the architecture, the history, and the medinas, and would rather spend the extra days there than in a 4x4.
More from the blog

Private or group: what actually changes on the road
The difference isn't comfort so much as control over the day.
By Omar Hafidi
Read article
A first-timer's route through the Marrakech medina
Where to start when every street looks the same as the last.
By Anouar
Read article
When to go: Morocco by season, region by region
The country is large enough that 'best time to visit' depends on where you're headed.
By Omar Hafidi
Read articleTours that include this

4-Day Imperial Cities Tour from Fez
The shortest way to see three imperial cities and the best Roman ruins in the country, without touching the desert or the coast further south: a good add-on to a Fez-based trip rather than a trip on its own.

5-Day Morocco Food and Culture Tour from Fez
Fez is Morocco's culinary and craft capital as much as its cultural one: this trip goes deep on both, with hands-on time in kitchens and artisan workshops rather than a checklist of monuments.

5-Day Imperial Cities Tour from Casablanca
All four imperial cities and Morocco's best Roman ruins, in a loop that starts and ends where most international flights land: no desert, no coast further south, just the historic core of the country.
