background

Marrakesh to Fez Trains

30
Oct
Return

Departure Schedule

Morning departures

Fastest trip6 hrs 58 min
Longest trip10 hrs 15 min
Earliest01:45
Latest11:35
Departures10

Afternoon departures

Fastest trip6 hrs 52 min
Longest trip10 hrs 15 min
Earliest12:35
Latest17:35
Departures9

Travelling from Marrakesh to Fez by Train

The easiest way to travel from Marrakesh to Fez is the direct ONCF train, which takes about 6 hours 30 minutes to 7 hours. This guide is for anyone planning the trip between Morocco's two great imperial cities, from first-time visitors to travelers who have already decided on a longer Morocco itinerary, and it covers trains, flights, buses, cars and the popular desert tour, so you know what to expect and can choose the best transportation for your next trip. Travel from Marrakesh to Fez can be done by train, flight, bus or car, and Moroccan Railways operates direct Al Atlas trains between the two cities roughly every two hours, from early morning until night, so you do not need to change trains. The route heads north across the plains to Casablanca, runs along the Atlantic coast through Rabat, and covers the second half inland through Sidi Kacem and Meknes before arriving in Fez. Train tickets cost about MAD 220 to MAD 460 per person, depending on the class and how early you book. Travelers recommend booking First Class tickets for better comfort, with a reserved seat, more legroom and a quieter carriage on this long journey. Trains have air-conditioned carriages and a snack trolley on most services, but bring water and food for breakfast or lunch, especially in summer, when temperatures in Marrakesh often pass 38 °C in June, July and August. You can buy tickets online through ONCF, at station ticket offices or with ticket machines. Midweek trains from Monday to Thursday are usually quieter, while Friday and Sunday afternoons, Moroccan holidays and the busy months of March, December and the summer fill up fast, so book in advance. The most pleasant months to visit Morocco are March to May and September to November, when the sun is warm but not too hot, while January nights can be cold in both cities.

Marrakesh to Fez trains Information

Marrakesh
Marrakech Train Station, MoroccoMarrakesh Bus Station, MoroccoMarrakesh CTM Bus Station, Morocco
396 km
Fez
Fes Railway Station, MoroccoFes CTM Bus Station, Morocco
6 h 52 m
Shortest travel time:
$50
Lowest ticket cost:
19
Avg. daily departures:
01:45
Earliest departure:
17:35
Latest departure:

Marrakech station is in the Guéliz district, a short taxi ride from Jemaa el-Fna square. Marrakesh was founded in the 11th century by the Almoravids and is characterized by a high-energy atmosphere and modern tourism infrastructure. Its medina is more tourist-friendly than Fez's, it offers more accommodation options, and its busy international airport connects with over 100 destinations, including Madrid, Paris and London. Fès station is in the Ville Nouvelle, a short taxi ride from Fez el-Bali, the old city. Fez el-Bali was founded in the 9th century and is one of the best-preserved medieval urban areas in the world, with over 9,000 narrow alleyways in its medina. Fez is known as Morocco's cultural and artisanal heart: the Chouara Tanneries have operated for centuries, and Al-Qarawiyyin University, founded in 859 AD, is one of the oldest continuously operating universities. Explore the medina with a local guide, visit the shops of leather and metal artisans, and enjoy the culture of both cities. Besides the train and the desert tour, there are other options. Driving from Marrakesh to Fez takes about 5 to 6 hours via modern highways. Budget options like long-distance buses connect the two cities, and national bus carriers offer multiple daily departures, though the trip takes about 9 to 10 hours. Non-stop flights between Marrakesh and Fes-Sais Airport take only 55 to 65 minutes, but airport transfers add several hours. For most travelers, the direct train is the most comfortable way to cross the country, while the desert tour is the best choice if you want to see the Sahara on the way.

Popular questions about trains from Marrakesh to Fez

Extensive Network

One platform, 34+ destinations, 700+ routes around the globe.

Convenient Booking

We speak your language and offer over 20 payment methods.

Excellent Rating

Read authentic Rail Ninja reviews and see what our travelers say about us.

Flexible Planning

You can conveniently book train tickets for up to a year in advance!

Real Human Support

Need a hand? Contact our customer support before or during your trip.