Almost every first trip to Morocco includes both Fes and Marrakech, and sooner or later you have to get from one to the other. The two imperial cities sit at opposite ends of the country's heartland, separated by plains, the Middle Atlas and, if you take the long way round, the Sahara itself. The good news is that there is no wrong answer: a comfortable train, a short flight, a scenic drive or a few days through the desert. The right choice depends on how much time you have and what you want to see on the way.
In short: Fes to Marrakech is about 530 km by road. The train takes around six and a half to seven hours via Meknes, Rabat and Casablanca; a private car on the motorway takes roughly five and a half to six hours without stops; the CTM bus takes eight hours or more; and a direct flight, when it runs, lasts about an hour. If you have not yet seen the Sahara, the most rewarding option is to make the trip a three or four day desert tour from Fes to Marrakech via Merzouga.
Fes to Marrakech at a glance
The times below are approximate and do not include waiting, check-in or stops. Treat them as a planning guide, not a timetable.
TrainAbout 6.5 to 7 hoursReliable and relaxing, from city centre to city centre, with first and second class.
Private car on the motorwayAbout 5.5 to 6 hours without stopsDoor to door, with the option of stopping in Meknes, Volubilis or Rabat.
Private car through the Middle AtlasA full day, best split in twoCedar forests, mountain towns and the Ouzoud waterfalls, on slower roads.
BusAround 8 to 10 hoursThe cheapest option, and the slowest.
PlaneAbout 1 hour in the airFast when a direct flight fits your dates; add the airport time on both sides.
Desert tour via Merzouga3 days or moreThe journey becomes the highlight: a night in the Sahara dunes, the gorges and Ait Ben Haddou.
Fes to Marrakech by train
The train is the simplest independent option. Moroccan Railways (ONCF) runs services on the classic line from Fes through Meknes, Rabat and Casablanca to Marrakech, and the journey takes around six and a half to seven hours. Fes station is in the Ville Nouvelle, a short taxi ride from the medina, and Marrakech station is in the new town of Gueliz, a taxi ride from the riads of the medina.
First class gives you a reserved seat in a quieter carriage and is worth the small difference on a journey this long. Tickets can be bought at the station or online on the official ONCF website, where you can also check whether your departure is direct or requires a change in Casablanca.
What the train does not give you is the landscape up close. You watch the plains and the outskirts of Rabat and Casablanca go by, and you arrive in Marrakech in the evening with the day behind you. It is perfect if you simply want to move between the two cities, less so if you want to see something on the way.
Fes to Marrakech by road: two very different routes
The motorway via Meknes, Rabat and Casablanca
The fastest drive follows the motorways west to Rabat and then south through Casablanca to Marrakech, about 530 km in total. Without stops it takes roughly five and a half to six hours. It is not the most beautiful road in Morocco, but it is easy and predictable, and it lets you turn a transfer into a day of sightseeing.
- Meknes, about an hour from Fes, is the imperial city of Moulay Ismail, with its monumental Bab Mansour gate and royal granaries. Its historic city is listed by UNESCO.
- Volubilis, a short detour north of Meknes, is the best-preserved Roman site in Morocco, with mosaics still in place on the floors of the old houses. It is also a UNESCO World Heritage site.
- Rabat, the capital, has the Kasbah of the Udayas above the ocean and the Hassan Tower, and is an easy lunch stop halfway.
- Casablanca is worth a stop only if you want to see the Hassan II Mosque; otherwise the motorway bypasses the traffic of the city.
Choose one or two stops rather than all of them: Volubilis and Meknes in the morning, then a straight run to Marrakech, is a comfortable day that leaves Fes after breakfast and reaches Marrakech before dark.
The scenic route through the Middle Atlas
The other way runs south from Fes into the mountains, through Ifrane with its red roofs, the cedar forests of Azrou where Barbary macaques live, then along the foot of the Middle Atlas through Khenifra and Beni Mellal before crossing the plain to Marrakech. The roads are slower, with mountain sections, small towns and trucks, so it is a long day if you drive it in one go. Our Middle Atlas guide describes the first part of this route in detail.
The best way to enjoy it is to split it in two, with a night near the Ouzoud waterfalls, among the highest falls in Morocco and a short detour from the main road. You arrive in time to walk down to the pools in the late afternoon, see the macaques in the olive trees and continue to Marrakech the next morning.

Self-drive or private driver?
Renting a car is possible, and the motorway is easy to drive. The difficulty is at both ends: the medinas of Fes and Marrakech are closed to cars, parking near a riad is rarely simple, and city traffic can be stressful after a long day. With a private driver, you are collected at your riad or hotel in Fes, you choose the stops, and you are dropped off as close as possible to your accommodation in Marrakech. We organise private transfers between cities; the vehicle and any stops you would like are confirmed in your quote. Our guide to hiring a private driver in Morocco explains how it works.
Fes to Marrakech by bus
CTM, Morocco's main long-distance coach company, runs buses between Fes and Marrakech. The journey usually takes eight to ten hours depending on the route and the stops, so it is the slowest option and only makes sense on a tight budget. Buy your ticket in advance at the CTM station or online, keep valuables with you rather than in the luggage hold, and bring water and snacks for the long day.
Fes to Marrakech by plane
A direct flight between Fes-Saïss and Marrakech Menara takes about an hour, and Ryanair has operated the route a few times a week. Schedules change with the seasons, so check the current timetable before you build your itinerary around it. Once you add the transfer to Fes airport, arriving early, the flight itself and the transfer into Marrakech, a flight still saves several hours over the train, which can be useful if your trip is short. The trade-off is that you see nothing of the country in between.
Fes to Marrakech through the Sahara: the long way round
Look at a map and you will see that Merzouga and the Erg Chebbi dunes lie south-east of Fes, while Marrakech lies to the south-west. Instead of travelling directly, you can make a loop through the desert: one long day south from Fes to the dunes, a night in a desert camp, then west through the gorges and the valley of kasbahs to Marrakech. You never drive the same road twice, and if a night in the Sahara is on your list, this is the most efficient way to fit it into a trip that already includes both cities.
Day 1: Fes to MerzougaMiddle Atlas, Ziz valley, the dunes at sunsetIfrane, the cedar forest, Midelt and the palm groves of the Ziz valley, then a camel ride into Erg Chebbi and a night in a desert camp. Our Fes to Merzouga guide covers this day stop by stop.
Day 2: Merzouga to the Dades ValleySunrise, the Todra Gorge, red cliffsSunrise from a dune, then west to walk into the Todra Gorge and on to the Dades Valley for the night. See our Dades and Todra gorges guide.
Day 3: Dades to MarrakechKasbahs, Ait Ben Haddou, the High AtlasThe Rose Valley, Skoura and Ouarzazate, a walk through the ksar of Ait Ben Haddou, then over the Tizi n'Tichka pass to Marrakech in the evening.
This is exactly the route of our 3 day desert tour from Fes to Marrakech via Merzouga. Days one and three are long drives with regular stops, so if you prefer shorter days and more time in the gorges, choose the 4 day desert tour from Fes to Marrakech. With a week, the 8 day tour from Fes to Marrakech via the Sahara spreads the same journey out at an easy pace. On every one of these tours, your driver-guide, your accommodation, the camel ride and the night in a desert camp are included; the vehicle, the camp and the tent type are confirmed in your quote.

If you are planning the trip the other way round, our Marrakech to Fes via Merzouga guide describes the same route in reverse, with honest drive times for each day.
Which option is right for you?
You have a week or less and the Sahara is a priorityTake the desert route. Going from Fes to Marrakech directly and then doing a separate desert tour from Marrakech costs you at least a day more and means driving the High Atlas road twice.
You have already seen the desert, or it is not for youTake the train for simplicity, or a private driver with a stop at Volubilis and Meknes to turn the transfer into a day of history.
You love nature and slower roadsDrive through the Middle Atlas with a night near the Ouzoud waterfalls.
You are travelling with young children or older relativesAvoid the longest single days. A private car with stops, or the four day desert route, is far easier than seven hours on a train with luggage at both ends. Our advice on travelling in Morocco with kids applies to this journey too.
Your trip is very shortCheck whether a direct flight matches your dates; otherwise the train is the next fastest option.
Still building the bigger picture? Our Morocco itinerary planner and the 10 day Morocco itinerary show where the Fes to Marrakech leg fits in a complete trip.
“Travellers often ask me for the fastest way from Fes to Marrakech. I ask them a different question first: have you slept in the desert yet? If the answer is no, the slow road is the one they remember.”
Practical tips for the journey
- See Fes before you leave. Every option starts in the morning, so plan your medina day before departure. Our things to do in Fes and Fes medina guide will help.
- Arrive in Marrakech with energy left. Keep the first evening simple, then explore with our list of things to do in Marrakech.
- Leave early. Whether by road or through the desert, an 8am departure gives you time for stops and daylight on arrival.
- Pack a warm layer. The Middle Atlas and the High Atlas passes are much cooler than the cities, and occasionally snowy in winter.
- Keep small notes in dirhams for coffee stops, entrance fees and tips; see our guide to tipping in Morocco.
- Check the season. Spring and autumn are the most comfortable times for long drives and for the desert; see the best time to visit Morocco.
Plan your Fes to Marrakech journey with us
All our journeys that start in Fes are on the tours from Fes page, and every route can be adapted: a guided day in the Fes medina before departure, an extra night in the dunes, or a stop at Volubilis on a direct transfer. If you prefer to travel at your own pace with your own vehicle and driver-guide, see our private Morocco tours.
Travelling from Fes to Marrakech soon? Send us your dates or message us on WhatsApp, and we will suggest the best route for your time, with a free, no-obligation quote.






