Marrakech to Fes (and Back): Train, Flight, Car or a Desert Detour

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

TimeGood forWatch out for
Train (ONCF, direct)About 6.5 to 7 hoursSolo travellers and couples on a budgetA long day with no stops; book first class in busy periods
FlightAbout 1 hour in the airTravellers short on timeFew flights, and airport time makes it close to the train door to door
Private driver, direct7 to 8 hours with stopsFamilies, groups, heavy luggageCosts more than the train for one or two people
Desert route3 daysAnyone who also wants the SaharaNeeds 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.

Arched gateway in Fes el Bali, the old medina of Fes, Morocco

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.

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.

Ready to see Morocco?

¿Listo para descubrir Marruecos?

Prêt à découvrir le Maroc ?

Pronto a scoprire il Marocco?

Our local team will build a private tour around your dates and interests.

Nuestro equipo local diseñará un tour privado a tu medida.

Notre équipe locale crée un circuit privé selon vos dates et envies.

Il nostro team locale creerà un tour privato su misura per te.

Explore our toursDescubre nuestros toursDécouvrir nos circuitsScopri i nostri tour