background

Fez to Marrakesh Trains

02
Nov
Return

Departure Schedule

Morning departures

Fastest trip7 hrs 2 min
Longest trip9 hrs 30 min
Earliest04:35
Latest11:35
Departures12

Afternoon departures

Fastest trip7 hrs 2 min
Longest trip7 hrs 2 min
Earliest12:35
Latest17:35
Departures6

Evening departures

Fastest trip8 hrs 15 min
Longest trip8 hrs 15 min
Earliest19:30
Latest19:30
Departures1

Travelling from Fez to Marrakesh by Train

The easiest way to travel from Fez to Marrakesh 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 train schedules, ticket prices, flight options and the alternatives so you can choose the best transport for your next trip. Moroccan Railways (ONCF) runs direct trains from Fès station to Marrakech station roughly every two hours, from early morning until night, so you do not need to change trains. The route heads west through Meknes and Sidi Kacem, then spends the second half of the journey running south along the Atlantic coast through Rabat and Casablanca before crossing the plains to Marrakesh. Train tickets cost about MAD 220 to MAD 460, depending on the class and how early you book. Second class is the cheapest option, while first class gives you a reserved seat, more legroom and a quieter carriage, which is worth it on a long journey. Trains have air-conditioned carriages and a snack trolley on most services, but bring water and food, 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.

Fez to Marrakesh trains Information

Fez
Fes Railway Station, MoroccoFes CTM Bus Station, Morocco
396 km
Marrakesh
Marrakech Train Station, MoroccoMarrakesh Bus Station, MoroccoMarrakesh CTM Bus Station, Morocco
7 h 2 m
Shortest travel time:
$50
Lowest ticket cost:
19
Avg. daily departures:
04:35
Earliest departure:
19:30
Latest departure:

Marrakesh was founded later, in the 11th century, by the Almoravids, and today it is a cosmopolitan hub known for its vibrant nightlife, rooftop restaurants and busy souks. Marrakech station is in the Guéliz district, a short taxi ride from Jemaa el-Fna square, the Koutoubia Mosque, the Bahia Palace and the Majorelle Garden. Marrakesh is the best base for trips to the Atlas Mountains and the desert, and it hosts the annual Marrakech International Film Festival in November. If you are arriving late, book a hotel in the medina or Guéliz in advance. Besides the train, there are several alternatives. The cheapest bus ticket from Fes to Marrakesh costs €18, and CTM buses run directly a few times a day, but the trip takes about 9 to 10 hours. Driving from Fes to Marrakesh covers 520.3 km, with a driving time of about 5 hours 15 minutes on the motorway via Rabat and Casablanca. For a faster trip, popular airlines like Ryanair offer direct flights from Fes-Sais Airport to Marrakech several times a week, and both airports also handle international flights to Europe. Cheap flights are common: the cheapest one-way fares start at €17, round-trip flights start at €32, and flight prices range from €31 to €173, depending on the airline and date. Booking on Sundays can save 6% to 13% on flight prices. Even so, airport transfers and security add several hours, so for most travelers the direct train remains the most comfortable way to cross the country and see the changing landscape on the way.

Popular questions about trains from Fez to Marrakesh

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.