
Morocco Imperial Cities and Sahara Desert Itinerary
Morocco has four imperial cities, each of which was once the capital of a great dynasty: Rabat, Meknes, Fes and Marrakech. Between them lie the Middle Atlas, the High Atlas and, just a day’s drive away, the dunes of the Sahara. Put them together and you get the trip most first-time visitors dream of: royal palaces and medinas, then a camel ride and a night under the stars.
In this Morocco imperial cities and Sahara desert itinerary we share the route we recommend after years of guiding it: 10 days from Casablanca to Marrakech, with every imperial city, a full day in the desert and the kasbahs of the south. We also give you a 7-day version, the best order to travel in and how to add Chefchaouen. We are a family from Merzouga, so the desert part is our home.
The four imperial cities of Morocco
The imperial cities of Morocco are the four cities that served as the royal capital at different times in the country’s history. All four medinas are UNESCO World Heritage sites.
- Fes: founded in the late 8th century, the spiritual and cultural capital, with Fes el-Bali, the largest car-free medina in the world, and the Al Quaraouiyine mosque and university.
- Marrakech: founded in 1070 by the Almoravids, the red city of the Koutoubia, the Bahia Palace and Jemaa el-Fna square.
- Meknes: the city of Sultan Moulay Ismail in the 17th century, with its huge walls, the Bab Mansour gate and royal granaries, near the Roman ruins of Volubilis.
- Rabat: the capital of Morocco today, with the Hassan Tower, the Mausoleum of Mohammed V and the blue-and-white Kasbah of the Udayas above the ocean.
So the four imperial cities of Morocco in one trip means Rabat, Meknes, Fes and Marrakech, and the Sahara fits neatly between Fes and Marrakech.
The best order to visit the imperial cities
The best order to visit the imperial cities is north to south: land in Casablanca, visit Rabat, Meknes and Fes, cross the Atlas to the Sahara, and finish in Marrakech. This way the long drive to the desert starts from Fes, the closest imperial city to Merzouga, and you come back over the High Atlas to Marrakech through the most beautiful valleys. You never drive the same road twice, and you fly home from Marrakech. Starting in Marrakech and ending in Casablanca works just as well in reverse.
10-day Morocco imperial cities itinerary
This 10-day imperial cities and desert itinerary is the one we plan most often for a first visit to Morocco. It is private, so you can slow down or speed up anywhere.
Day 1: Casablanca – Hassan II Mosque – Rabat
Arrive at Casablanca airport and start with the Hassan II Mosque on the Atlantic, one of the few mosques in Morocco that non-Muslims can visit inside on a guided tour. Drive about an hour to Rabat for the Hassan Tower, the Mausoleum of Mohammed V and a walk through the Kasbah of the Udayas. Night in Rabat.
Day 2: Rabat – Meknes – Volubilis – Fes
Drive inland to Meknes, the city of Moulay Ismail: the Bab Mansour gate, the old stables and granaries and the quiet medina. Just north are the Roman ruins of Volubilis, with mosaics still in place. Arrive in Fes in the evening.
Day 3: Fes
A full day in Fes el-Bali with a local guide: the Bou Inania madrasa, the Al Quaraouiyine mosque from outside, the Chouara tanneries, the potters and the weavers. Fes is the imperial city that most rewards a whole day.
Day 4: Fes – Ifrane – Azrou – Ziz Valley – Merzouga
The road to the desert: the alpine town of Ifrane, the cedar forest of Azrou with its Barbary macaques, the Middle Atlas and the palm groves of the Ziz Valley. In the late afternoon you ride a camel into the Erg Chebbi dunes for sunset and a night in a desert camp. Our Fes to Merzouga guide covers this drive in detail.
Day 5: A full day in the Sahara
Sunrise over the dunes, then a 4×4 day around Erg Chebbi: tea with a nomad family, the Gnawa musicians of Khamlia and the market town of Rissani. A second night near the dunes makes this the heart of any imperial cities and Sahara tour.

Day 6: Merzouga – Rissani – Todra Gorge – Dades Valley
Head west along the edge of the desert to the Todra Gorge, where 300-metre rock walls close in around a river, and on to the Dades Valley for the night.
Day 7: Dades Valley – Ouarzazate – Ait Ben Haddou – Marrakech
Follow the Road of a Thousand Kasbahs through the Valley of Roses and Ouarzazate to Ait Ben Haddou, the fortified village seen in many films, then cross the High Atlas by the Tizi n’Tichka pass to Marrakech.

Day 8: Marrakech
The last imperial city: the Koutoubia, the Bahia Palace, the Saadian Tombs, the Ben Youssef madrasa, the souks and Jemaa el-Fna at night. See our things to do in Marrakech.
Day 9: A day trip from Marrakech
Rest in a riad, or take a day trip: the Atlas Mountains and Berber villages or the ocean city of Essaouira.
Day 10: Departure from Marrakech
Transfer to Marrakech airport. In ten days you have seen all four imperial cities, the Sahara and the kasbah valleys of the south.

7-day imperial cities and desert itinerary
With a week, a 7-day imperial cities and desert itinerary keeps the same route but moves faster: Rabat on day 1, Meknes and Volubilis on the way to Fes on day 2, Fes to the desert on day 3, Merzouga to the Dades Valley on day 4, Ait Ben Haddou and Marrakech on day 5, and Marrakech on day 6 before you fly home on day 7. You lose the full desert day and the free day, but still see every imperial city. Our 7-day tour from Casablanca follows a similar pace, with Chefchaouen instead of the full day in Fes.
Imperial cities with Chefchaouen
Chefchaouen is not an imperial city, but the blue town in the Rif Mountains is only a short detour between Rabat and Fes. Adding it costs one extra day: Rabat to Chefchaouen, then Chefchaouen to Fes by Volubilis and Meknes. For imperial cities with Chefchaouen, see our 9-day Morocco itinerary, with a night in Rabat, or the 9-day itinerary from Casablanca to Marrakech.
Choosing a Morocco imperial cities tour
You can travel this route by train and bus between the cities, but the desert part needs a car, and the best stops (Volubilis, Ifrane, the gorges, Ait Ben Haddou) are not on the train line. That is why most travellers choose a private Morocco imperial cities tour with a driver-guide, who also arranges local guides in Fes and Marrakech.
Our Morocco imperial cities tour from Casablanca options run from 5 to 20 days: the 8-day Morocco trip from Casablanca to Marrakech, the luxury Ten Days in Morocco with boutique riads and a luxury desert camp, or, in reverse, the 6-day itinerary from Marrakech to Casablanca, which visits Meknes and Rabat on its last day. Wondering where to land? Read Tangier or Casablanca and Casablanca to Marrakech itineraries.
Best time for this itinerary
Spring (March to May) and autumn (September to November) are ideal: pleasant days in the cities and cool nights in the desert. Summer is hot in Fes, Marrakech and the Sahara, and in winter the desert nights are cold and the Atlas passes can see snow. See the best time to visit Morocco.
Frequently asked questions
What are the four imperial cities of Morocco?
Rabat, Meknes, Fes and Marrakech. Each was the royal capital at some point in Moroccan history, and all four medinas are on the UNESCO World Heritage list.
How many days do you need for the imperial cities and the Sahara?
Ten days is ideal for Rabat, Meknes, Fes and Marrakech with a full day in the desert. Seven days is the minimum, and with 9 days you can add Chefchaouen.
Can you see the imperial cities and the Sahara in one week?
Yes. A 7-day route from Casablanca to Marrakech covers all four imperial cities and one night in the Sahara, with some long driving days.
Is Casablanca an imperial city?
No. Casablanca is Morocco’s largest city and main airport, but it was never a royal capital. Most itineraries start there because of the flights, then head to Rabat.
Which is better, Fes or Marrakech?
They are very different, which is why this itinerary includes both. Fes is older, quieter and more traditional; Marrakech is livelier, with more gardens, palaces and nightlife.
Conclusion
A Morocco imperial cities itinerary with the Sahara shows you the whole country in one journey: Rabat by the ocean, Meknes and Volubilis, the old medina of Fes, a night in the dunes and the red city of Marrakech. Give it ten days if you can. If you would like us to plan the route for your dates, get in touch and we will send you a personalized itinerary.