Merzouga, at the edge of the Erg Chebbi dunes, is about 470 to 480 km from Fes — roughly 8 hours of driving without stops. The road crosses the cedar forests of the Middle Atlas, the high plateau around Midelt and the palm groves of the Ziz Valley before reaching the Sahara. With photo stops and lunch, it is a full day. This guide explains the route stage by stage, where to stop, how to get there and how many days to plan.
Quick answer
| Distance | about 470–480 km |
|---|---|
| Driving time | about 8 hours, without breaks, meals or visits |
| Realistic travel day | about 10 hours with stops, leaving Fes between 7:30 and 8:00 am |
| Main stops | Ifrane, the cedar forest near Azrou, Midelt, the Ziz Valley, Erfoud |
| Way back (Merzouga to Fes) | the same road, around 8 hours of driving |
| Minimum trip from Fes | 2 days (one night in the desert) |
The route from Fes to Merzouga, stage by stage
Fes to Ifrane and Azrou: the Middle Atlas
Leaving Fes, the road climbs into the Middle Atlas. Ifrane, a small mountain town, is the usual first stop for a coffee. Between Ifrane and Azrou, the road runs through cedar forests where Barbary macaques often come close to the road.

Azrou to Midelt: across the high plateau
After Azrou, the landscape opens onto high, wide plateaus. Midelt, roughly halfway, is a natural place for lunch. Fes to Midelt: about 208 km and close to 4 hours of driving.
Midelt to Errachidia and the Ziz Valley
South of Midelt, the road crosses the mountains and drops towards Errachidia. Just beyond, the Ziz Valley appears as a long ribbon of palm trees below the road — the best viewpoint of the day.

Erfoud to Merzouga: the desert begins
From Errachidia, the road continues through Erfoud to Merzouga and the first dunes of Erg Chebbi. Midelt to Merzouga: about 265 km and a little over 4 hours of driving.

Where to stop between Fes and Merzouga
| Stop | Why stop | Indicative time (flexible) |
|---|---|---|
| Ifrane | coffee and a short walk in a quiet mountain town | about 20–30 minutes |
| Cedar forest near Azrou | the cedars and, often, Barbary macaques by the road | about 15–20 minutes |
| Midelt | lunch, roughly halfway | about 1 hour |
| Ziz Valley viewpoint | the palm groves seen from above | about 15 minutes |
| Erfoud | last town before the dunes | short stop if needed |
These times are only indicative: with a private driver you can stay longer at one stop or skip another. Together, the breaks add about two hours to the drive, which is why we recommend leaving Fes between 7:30 and 8:00 am to reach Merzouga in time for the sunset.
How to get from Fes to Merzouga
- Private driver: the most flexible option. You stop where you want, and the driver knows the road and the timing for the sunset.
- Driving yourself: the roads are paved, but the day is long. Leave early and avoid driving after dark.
- Bus: Supratours lists both Fes and Merzouga among its stations. Check the route and the current timetable on its official website before you plan around it.
- Train: there is no railway to Merzouga.
How many days do you need?
Two days is the minimum: one day to drive to Merzouga with a night in the desert, one day to drive back to Fes. It works, but you spend most of the trip in the car. Three days is more comfortable: a full day around the dunes between the two long drives. If you are not returning to Fes, you can also continue from Merzouga to Marrakech through the Todra Gorge and the Dades Valley. For a full week that includes this road, see our Morocco 7-day itinerary.
- 2-day desert trip from Fes to Merzouga
- 3-day desert trip from Fes to Merzouga
- 3-day desert trip from Fes to Marrakech
From the road: practical tips
- Leave between 7:30 and 8:00 am. It leaves time for the stops and gets you to the dunes for the sunset.
- Keep a small backpack for the desert night. When conditions allow, your main luggage stays in the vehicle and you only take what you need for one night.
- Plan for the temperature. The Middle Atlas is much cooler than the desert, and nights in the Sahara can be cold outside summer: keep a warm layer within reach.
- Do not plan the return for the same evening. After a night in the camp, a long drive the same day is tiring; this is why the 3-day trip exists.
When to go
Spring and autumn are generally the most pleasant seasons, but the route can be driven all year with a few adjustments: in summer, keep desert activities for early morning and evening; in winter, the Middle Atlas is cold and snow can fall, especially around Ifrane, so check the weather and the road conditions before you leave. See the best time to visit Morocco.
Frequently asked questions
How far is Merzouga from Fes?
About 470 to 480 km by road, through Ifrane, Midelt, Errachidia and Erfoud.
What is the drive time from Merzouga to Fes?
Around 8 hours of driving on the same road, not counting breaks, meals and visits.
Is there a train from Fes to Merzouga?
No. There is no railway to Merzouga; you go by road, with a private driver, your own car or a long-distance bus.
Where should I stop between Fes and Merzouga?
Ifrane for coffee, the cedar forest near Azrou, Midelt for lunch and the Ziz Valley viewpoint before Errachidia.
Can I go from Fes to Merzouga and back in two days?
Yes, but both days are long drives. Three days gives you a full day by the dunes.
Coming from Marrakech instead?
See Marrakech to Merzouga: the desert is about 560 km from Marrakech by a different route.
Plan your desert trip from Fes
Tell us your dates, how many people are travelling and whether you want to return to Fes or continue to Marrakech on WhatsApp, and we will suggest the right number of days.