Marrakech to Fes: How to Get There & What to Expect

The journey from Marrakech to Fes is one of Morocco's classic inter-city routes, connecting the country's two most celebrated imperial cities. This guide breaks down every transport option, with current prices, realistic journey times, and practical tips for making the trip smoothly.

Panoramic view over the ancient cityscape of Fes at sunset, showing its dense buildings and surrounding hills with two people looking on.

TL;DR

  • The train is the most comfortable option: around 6h30–7h30, second class fares from 180–220 MAD, with 4–6 departures daily from Marrakech.
  • Buses (CTM and others) are cheaper but slower at 7–9 hours; fares run 178–212 MAD.
  • Direct flights with Ryanair connect Marrakech (RAK) to Fes (FEZ) in about an hour, with promotional one-way fares sometimes from around US$20–40, but airport time makes total door-to-door similar to the train.
  • Book train tickets through ONCF's official site in advance, especially for weekend travel or during Moroccan school holidays.
  • If you have more than a week in Morocco, consider making the journey part of a longer circuit covered in the Marrakech 1-week itinerary.

The Route at a Glance

Wide aerial view of Marrakech city with red buildings, green patches, and the snow-capped Atlas Mountains in the background
Photo Moussa Idrissi

Marrakech and Fes sit roughly 540 km apart by road, on opposite sides of Morocco's geography. Marrakech anchors the south, at the edge of the Atlas Mountains in the Marrakech-Safi region. Fes sits in the north, in the Fes-Meknes region, and is widely considered the cultural and religious heart of Morocco. The distance means this is a full travel day by land, whichever option you choose.

Most travellers combine this journey with a broader Morocco itinerary, often routing through Casablanca by train. If you're planning the wider circuit, the Marrakech to Casablanca guide covers that leg in detail, including the option of continuing north to Fes on the same day.

ℹ️ Good to know

There is no high-speed (Al Boraq) train between Marrakech and Fes. Services run via Casablanca; some are through-trains, others require a change at Casablanca Voyageurs or Rabat. Journey planners on the ONCF official site (oncf-voyages.ma) will show the full route and connection times.

By Train: The Most Practical Choice

The train is the default recommendation for this journey, and for good reason. Morocco's national rail operator ONCF runs a reliable service between the two cities, with 4–6 departures daily from Marrakech. Typical journey times run 6h30–7h30, which is significantly faster than much older information that quoted 10–11 hours before timetable improvements. The current timetable reflects a much more reasonable travel day.

  • Second class (2ème classe) Comfortable reserved seating in air-conditioned carriages. Fares typically 180–220 MAD one-way. The best value for solo travellers and couples.
  • First class (1ère classe) Wider seats, slightly more space, fewer passengers per compartment. Fares around 280–350 MAD. Worth paying on a long journey if the price difference matters less to you than comfort.
  • Sleeper cabins Available on some services depending on seasonal demand, at around 400–500 MAD. Not guaranteed year-round — check ONCF directly when booking.

Sample departure times from Marrakech have been cited as around 06:45, 08:15, 11:00, 14:30, and 16:00, with arrivals into Fes ranging from early afternoon to late evening. Morning trains are the most popular and can sell out during Moroccan public holidays and summer peak weeks. Book tickets through the ONCF website or app at least a few days ahead if you're travelling on a Friday, Sunday, or during Eid periods.

💡 Local tip

If you book online via oncf-voyages.ma, you can print or download your ticket as a PDF. The booking interface is available in French and Arabic. If you struggle with the site, third-party platforms like Omio also list ONCF services and allow card payment in euros or dollars.

By Bus: Cheaper, But Plan for a Long Day

Bus services between Marrakech and Fes are operated by CTM, the national long-distance coach company, as well as several private operators. Fares sit from roughly 178 MAD upwards depending on the direction, operator, and departure time, which often makes them slightly cheaper than second-class train tickets. The trade-off is journey time: expect about 7–10 hours, with stops along the route.

CTM offers the most reliable schedule and the most predictable comfort level. Departures run across a wide window — from as early as 01:45 to a final service around 21:00 from Marrakech. A daytime service around 11:15 typically arrives in Fes by about 19:30, giving you the evening to settle in. The very early morning runs (like the 01:45 departure) appeal to budget travellers wanting to maximise time in Fes, but arriving before 9am on a night bus is tiring.

⚠️ What to skip

Private bus operators that are not CTM can be significantly less punctual and comfortable. If you book through an aggregator, check which company is actually operating the service before confirming. CTM buses depart from the Marrakech CTM bus station, not from the main Supratours/ONCF station.

By Flight: Fast in the Air, Complicated on the Ground

Night view of the modern illuminated exterior of Marrakech Menara Airport Terminal 1 with geometric patterns and signage.
Photo calflier001 (CC BY-SA 2.0)

Direct flights between Marrakech Menara Airport (RAK) and Fes-Saiss Airport (FEZ) do exist, currently operated by Ryanair rather than a Moroccan carrier. Nonstop services typically run a few days a week and the flight itself takes around an hour. Promotional one-way fares have been listed from around US$20–40, though actual prices vary by date and availability, and hold-luggage fees can erase the headline saving. These fares are competitive, but the full-picture calculation is less straightforward.

Factor in the time to get to Marrakech Menara Airport (around 15–20 minutes from the medina, more in traffic), standard check-in and security time, the flight, then the transfer from Fes-Saiss Airport into the Fes medina (around 30 minutes by taxi). Total door-to-door time can reach 4–5 hours on a smooth day, which is not dramatically shorter than the train. That said, flying makes sense if you find a cheap fare, you're travelling with luggage that's difficult on trains, or you want to break the journey up differently. For details on getting to and from the airport in Marrakech, see the Marrakech airport transfer guide.

  • Check Ryanair and flight comparison sites for current schedules — frequency can vary by season and is not daily.
  • Fes-Saiss Airport is about 15 km south of the Fes medina. Only grand taxis serve this route reliably; agree on the fare before getting in.
  • Budget airlines sometimes add fees for hold luggage that eliminate the low headline fare advantage — check total ticket cost before booking.
  • Delays at small regional airports can cascade; missing a connection through Casablanca adds hours.

Comparing Your Options Side by Side

Here is a straightforward comparison based on current 2026 data. All prices are approximate and subject to change — verify before booking.

  • Train (ONCF) — Recommended Journey time: 6h30–7h30. Cost: 180–350 MAD (2nd to 1st class). Pros: comfortable, reliable, scenic, no city traffic. Cons: no high-speed option; some services require a change; book ahead for peak travel.
  • Bus (CTM) Journey time: 7–9 hours. Cost: 178–212 MAD. Pros: cheapest option, multiple departures. Cons: longer journey, less legroom than train, quality varies by operator.
  • Flight (Ryanair) Flight time: around 1 hour. Total door-to-door: 4–5 hours minimum. Cost: promotional fares from around US$20–40 one-way. Pros: fast in the air, low headline fares. Cons: not daily, airport transfers required at both ends, luggage fees can push cost up.
  • Private taxi / shared grand taxi Journey time: 6–8 hours by road. Cost: varies widely. Pros: flexible departure, good for groups splitting costs. Cons: expensive for solo travellers, driver quality unpredictable, long drive on mixed roads.

Practical Tips for the Journey

Narrow sunlit alleyway in Marrakech medina with red walls, arched doorway, and a person walking in the distance.
Photo Andre Manuel

Whatever transport you choose, depart from a rested base. If you're spending your final night in Marrakech in the medina, consider how early you need to leave and whether your riad is near the train or bus station. The guide to staying in a riad in Marrakech covers which neighbourhoods put you closest to transport hubs.

Marrakech Railway Station (Gare de Marrakech) sits on Avenue Hassan II in Gueliz, the modern district outside the medina walls. It's about 2 km northwest of Jemaa el-Fna. A petit taxi from most medina accommodation to the station costs around 20–30 MAD and takes 10–15 minutes outside rush hours. Budget 30–40 minutes if you're leaving between 07:30 and 09:30.

On board the train, the café-bar carriage sells coffee, soft drinks, and snacks at reasonable prices. Bring your own food if you're on a budget, since the medina has excellent options for sandwiches and pastries to pack for the journey. The route through the Atlas foothills and central Moroccan plains offers genuinely good scenery, particularly on a clear morning.

✨ Pro tip

The Marrakech to Fes train journey passes through Casablanca, which takes roughly 3 hours from Marrakech. If you have a flexible itinerary, breaking the journey with a night in Casablanca gives you a chance to see a third major Moroccan city without adding a separate trip. The connection is straightforward from Casablanca Voyageurs station.

Seasonal timing matters more than most travellers expect. Moroccan school holidays in February, July, and August, plus major Islamic holidays, push demand on trains significantly. Spring travel between March and May is generally smooth, with moderate crowds and pleasant temperatures at both ends — consistent with advice in the guide to Marrakech in spring. December travel is quieter on transport routes but the medina in Fes can be cold at night.

If this journey is part of a broader Morocco trip starting in Marrakech, the day trips from Marrakech guide can help you structure what to do before you leave the south, so you're not doubling back on yourself.

FAQ

How long does it take to get from Marrakech to Fes by train?

Current ONCF services take approximately 6h30–7h30 for the Marrakech to Fes journey. This is faster than older estimates of 10–11 hours that still circulate online. The route typically involves a connection at Casablanca Voyageurs or Sidi Kacem, which is included within that overall journey time.

What is the cheapest way to travel from Marrakech to Fes?

The bus is usually the cheapest option at around 178–212 MAD (roughly €17–20) for a one-way ticket with CTM. Second-class train tickets run 180–220 MAD, making them similarly priced with greater comfort. Budget flights with Ryanair can start from around US$20–40, but once you add airport transfers and any luggage fees, the total cost often exceeds the train.

Is there a direct train from Marrakech to Fes?

There is no high-speed service on this route. Some ONCF trains run through from Marrakech to Fes; others require a change, typically at Casablanca Voyageurs. The total journey still falls within 6h30–7h30, and ONCF's booking system shows through-tickets for the full route.

Are there direct flights from Marrakech to Fes?

Yes. Ryanair currently operates nonstop flights between Marrakech Menara (RAK) and Fes-Saiss (FEZ), typically a few days a week rather than daily. Frequency and the operating airline can change, so check current schedules before you count on flying.

Should I book Marrakech to Fes train tickets in advance?

Yes, especially for travel on Fridays, Sundays, during Moroccan school holidays, or in July and August. Second-class seats can fill quickly on morning departures. Book via the ONCF official website (oncf-voyages.ma) or through platforms like Omio. Last-minute tickets at the station are sometimes available but not guaranteed.

Related destination:marrakech

Planning a trip? Discover personalized activities with the Nomado app.