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

Distanceabout 470–480 km
Driving timeabout 8 hours, without breaks, meals or visits
Realistic travel dayabout 10 hours with stops, leaving Fes between 7:30 and 8:00 am
Main stopsIfrane, 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 Fes2 days (one night in the desert)
Schematic map of the road from Fes to MerzougaThe road from Fes climbs south to Ifrane and Azrou in the Middle Atlas, crosses the high plateau to Midelt, continues to Errachidia and the Ziz Valley, then Erfoud and Merzouga at the edge of the Erg Chebbi dunes. About 470 to 480 km and 8 hours of driving without stops. Schematic, not to scale.Middle AtlasZiz ValleyErg ChebbiFesIfraneAzrouMideltErrachidiaErfoudMerzougaFes → MerzougaFes → Midelt≈ 208 km · ≈ 3 h 50Midelt → Merzouga≈ 265 km · ≈ 4 h 10Total ≈ 470–480 km≈ 8 h, without stops
Schematic map, not to scale. Driving times exclude breaks, meals and visits.

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.

Barbary macaques in the cedar forest near Azrou, Middle Atlas
Barbary macaques in the cedar forest near Azrou. Photo: Jorge Franganillo, Wikimedia Commons, CC BY 2.0

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.

Palm groves of the Ziz Valley seen from the road south of Errachidia
The Ziz Valley palm groves south of Errachidia. Photo: Jorge Franganillo, Wikimedia Commons, CC BY 2.0

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.

4x4 driving on the Erg Chebbi dunes near Merzouga

Where to stop between Fes and Merzouga

StopWhy stopIndicative time (flexible)
Ifranecoffee and a short walk in a quiet mountain townabout 20–30 minutes
Cedar forest near Azrouthe cedars and, often, Barbary macaques by the roadabout 15–20 minutes
Mideltlunch, roughly halfwayabout 1 hour
Ziz Valley viewpointthe palm groves seen from aboveabout 15 minutes
Erfoudlast town before the dunesshort 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

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.

From the road: practical tips

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.