In short: Fes to Merzouga is about 470 km and 7–8 hours of driving — shorter than from Marrakech. It climbs through the cedar forests of the Middle Atlas and drops down the palm-lined Ziz Valley to the Erg Chebbi dunes. Most travellers do it over 2–3 days rather than in one push, and many run it one-way toward Marrakech to avoid backtracking.
Distance & drive time
Roughly 470 km, 7–8 hours behind the wheel via Ifrane, Azrou, Midelt and the Ziz gorges. It is doable in a single long day, but with lunch, photo stops and a mid-Atlas break it becomes a genuine 9–10 hour day door-to-door — which is why a 2- or 3-day trip is more comfortable and lets you reach the dunes in time for the sunset camel trek.
The route & stops
Leaving Fes you climb quickly to Ifrane (about 1,650 m, nicknamed the “Switzerland of Morocco” for its alpine chalets and cool air). Just past it, the cedar forest around Azrou is where you can see wild Barbary macaques beside the road. Midelt, roughly halfway, is the usual lunch stop — it sits below the snow-capped High Atlas and is known for apples and its mineral shops. From there the road follows the dramatic Ziz Valley, where a single ribbon of tens of thousands of date palms threads between red canyon walls — the classic viewpoint above the Ziz gorges is the best photo of the day — before the land flattens out to the sand at Erg Chebbi.
Tour options
The most popular plan is Fes → Merzouga → Marrakech over 3 days, so you cross the whole country and never drive the same road twice. A 2-day Fes–Merzouga–Fes loop is possible but heavy on driving. Shared group tours and private trips both typically include the 4×4 or minibus transport, the camel trek into the dunes and a night in a desert camp with dinner and breakfast.
Tips
Leave Fes early (7–8 am) so you clear the Atlas passes in daylight and reach the dunes before sunset. Pack layers: the Middle Atlas is cool even in summer, and desert nights are cold — near freezing in winter — despite hot afternoons. The best season overall is October to April; midsummer is very hot in the south. Keep some cash for lunch and tips, and if your route allows it, take the one-way option to Marrakech so the driving actually shows you more of Morocco.
Frequently Asked Questions
How far is Fes from Merzouga? About 470 km, 7–8 hours of driving.
Is Fes or Marrakech closer to the desert? Fes is closer to Merzouga (Erg Chebbi); Marrakech is closer to Zagora and the Agafay stone desert.
Can you go Fes to Merzouga in one day? Yes, it is doable in a long day, but 2–3 days is far better and lets you arrive in time for the camel trek.
What is the best stop from Fes? Ifrane and the cedar forest early on, and the Ziz Valley viewpoint before the dunes.
More: Morocco Desert — complete guide
👉 Planning your Sahara trip? Ask our local agency on WhatsApp.