Marrakech and Fes are the two cities almost every Morocco trip includes, and they sit about 530 km apart by road. There is no high-speed train on this route, so the choice is really about how you want to spend the day: sitting on a direct train, flying, driving across the Middle Atlas, or turning the transfer into a three-day trip through the Sahara. Here is how each option works, from a team that drives this road every week.
The options at a glance
| Time | Good for | Watch out for | |
|---|---|---|---|
| Train (ONCF, direct) | About 6.5 to 7 hours | Solo travellers and couples on a budget | A long day with no stops; book first class in busy periods |
| Flight | About 1 hour in the air | Travellers short on time | Few flights, and airport time makes it close to the train door to door |
| Private driver, direct | 7 to 8 hours with stops | Families, groups, heavy luggage | Costs more than the train for one or two people |
| Desert route | 3 days | Anyone who also wants the Sahara | Needs three days of your trip |
By train
Moroccan Railways (ONCF) runs direct trains between Marrakech and Fes several times a day. The trip takes about six and a half to seven hours, passing through Casablanca, Rabat and Meknes. First class gives you an assigned seat in a quieter carriage and is worth the small extra, especially on Fridays, Sundays and around holidays. Buy tickets on the ONCF app or at the station. In Fes, the station is in the new town, so plan a short taxi ride to your riad in the medina.
By plane
There are some direct flights between Marrakech Menara and Fes Saïss, about an hour in the air. Once you add the trip to the airport, check-in and the taxi into Fes, it is rarely much faster than the train, so it only makes sense when fares and times line up well.
By car with a private driver
The direct road heads north-east through Beni Mellal and Khenifra, then climbs into the Middle Atlas. With a driver you can stop where the train cannot: the cedar forest near Azrou, where Barbary macaques live, and the alpine-style town of Ifrane. Allow seven to eight hours with breaks. It is the easiest option with children, older travellers or a lot of luggage, and you go door to door, riad to riad. If you want this kind of transfer, our car rental with driver service covers it.

Through the Sahara: the long way round
Many travellers don’t take the direct road at all. They go via the desert, which adds the High Atlas, Ait Ben Haddou, the Dades Valley, the Todra Gorge and a night in the dunes of Merzouga. It takes three days instead of one, but you see far more of Morocco and you don’t backtrack.
- Starting in Marrakech: our 3-day desert tour from Marrakech to Fes is the route most people choose.
- Starting in Fes: the 3-day desert tour from Fes to Marrakech covers the same road the other way.
To choose a camp for that night, read our Merzouga desert camp guide.
Which should you pick?
- Only one day and a tight budget: take the train.
- A family, a group or lots of luggage: a private driver via Ifrane.
- You also want to see the desert: do the three-day route and skip a separate desert trip.
Once you arrive, our guide to things to do in Fes will help you plan your days in the medina.
FAQ
How long is the train from Marrakech to Fes?
About six and a half to seven hours on a direct ONCF train. There is no high-speed line between the two cities.
Can you drive from Marrakech to Fes in one day?
Yes. The direct road is about 530 km and takes seven to eight hours with stops. Going via the Sahara needs three days.
Is it worth stopping on the way?
With a car, yes: the cedar forest and macaques near Azrou and the town of Ifrane are easy stops on the direct road.
Is Fes to Marrakech the same?
Yes, the same options work in reverse, with similar times.
For more on the city, see the Wikitravel guide to Fes.
Photos: Nichika Sakurai and Zoltan Rakottyai on Unsplash.