ONCF train on the Casablanca to Fes rail corridor in Morocco
ONCF intercity rail — no reservation required weekdays

Casablanca to Fes by Train

The direct ONCF train covers 330 km in roughly 3 h 35 min and costs from 100 MAD in second class. Here is everything you need to know to board, arrive and hit the medina without stress.

How Do You Take the Train from Casablanca to Fes?

Board a direct ONCF intercity train at Casa Voyageurs (not Casa Port). It covers 330 km in about 3 hours 35 minutes, with 8–12 departures daily from around 06:00 to 21:00. Second class costs from about 100 MAD and first class from about 160 MAD; book on oncf.ma up to 30 days ahead.

By City Tours Morocco Editorial Team

Published 17 June 2026 Last updated 29 October 2026

The train is the best way to travel from Casablanca to Fes. It is faster than the bus, cheaper than renting a car, and drops you at a central station with taxis waiting outside. The route is ONCF's busiest intercity corridor — trains run roughly every hour from around 06:00 to 21:00, and the service is reliable enough that most travellers trust it to make onward connections.

The journey itself is pleasant rather than spectacular: the train rolls through the flat Chaouia plains around Settat, climbs gently toward the Fes–Meknès basin and arrives at Gare de Fès with the city's ancient ramparts visible in the distance. There is no dramatic scenery, but the carriages are air-conditioned, the seats are comfortable, and 3.5 hours passes quickly enough. If you want to break the journey, Meknès (Morocco's other imperial city) is a 40-minute detour by a connecting train from Aïn Sebaa junction — though most travellers push straight through to Fes.

Journey time

~3 h 35 min

2nd class from

~100 MAD

1st class from

~160 MAD

Frequency

~hourly

Prices are indicative for 2026. Check oncf.ma for live fares and seat availability.

Ticket classes and what they get you

Second class is perfectly comfortable; first class is worth the small premium on a 3.5-hour trip.

Ticket typeIndicative priceComfortBooking
2nd Class (Économique)From ~100 MAD (~$10)Compartments of 6, air-conditioned, usually full on weekendsWalk-up or oncf.ma
1st Class (Première)From ~160 MAD (~$16)Wider seats, less crowded, same air-conditioned carriagesRecommended to book ahead on weekends
Seat reservation (Supratours timing)Small supplement: ~20 MADReserved seat printed on ticket — peace of mind on busier servicesSelected at booking time on oncf.ma or at the guichet

Your journey, step by step

From arriving at the station in Casablanca to stepping out at Gare de Fès.

1

T-30 min

Arrive at Casa Voyageurs

Allow extra time — the station is large and queues at the guichet (ticket window) can form. Have your booking reference or e-ticket ready.

2

T-15 min

Find your platform

Check the departure board (Départs). Platform announcements sometimes come late; ask station staff if unsure.

3

Departure

Trains leave roughly every hour

The busiest corridor in Morocco. There are usually 8–12 departures daily, from around 06:00 to 21:00. Journey time is 3 h 20 min to 3 h 50 min depending on the service.

4

+3.5 h

Arrive Fes station (Gare de Fès)

The station sits outside the medina walls. Petits taxis and grand taxis wait outside; a taxi to the medina costs roughly 20–40 MAD.

The Blue Gate Bab Boujloud entrance to the Fes medina, a short taxi ride from Gare de Fes

How to buy your ticket

The simplest route is oncf.ma — ONCF's official booking site. Navigate to "Billet en ligne", enter Casa Voyageurs as the departure station and Fès as the destination, pick a date, and choose your class. Pay by international Visa or Mastercard and download the PDF or screenshot the QR code. Ticket inspectors scan it on board; no need to print.

If you prefer to buy at the station, arrive 30–45 minutes early. There are multiple guichet windows at Casa Voyageurs and queues move quickly on most days. You can also buy tickets at the CTM bus terminal for Supratours rail services (a bus-rail partnership), but these have limited schedules. Buying on board is not possible — always buy before boarding.

Luggage: there is no official weight limit on ONCF intercity trains, but overhead racks are limited. If you have two large bags, aim to arrive at least 20 minutes before departure to stow them before the carriage fills. There are no luggage lockers at Gare de Fès but porters (portefaix) are available at the exit for a negotiable fee — useful if your riad is inside the medina.

Tips that make the difference

Book on oncf.ma up to 30 days ahead — no fee, just a printer or phone to show the code.

Travel Tuesday–Thursday for the quietest trains and easiest seat availability.

First class is only ~€6 more than second class and markedly more comfortable on a 3.5-hour journey.

Trains depart from Casa Voyageurs (not Casa Port, which only serves local commuter lines to the north).

Luggage racks fill fast — arrive early to stow a large bag in the overhead space.

Friday afternoons and Sunday evenings are busiest; if you travel then, book a reserved seat in advance.

Train vs bus vs private car

The train wins on speed and comfort for most travellers. Here is how the options compare.

ONCF Train

  • Fastest at ~3 h 35 min
  • Air-conditioned
  • Central station drop-off
  • Reliable schedule
  • No stops along the way
  • Casa Voyageurs can be far from some hotels

CTM / Supratours Bus

  • Slightly cheaper (~80 MAD)
  • Departs from multiple city points
  • 4–5 hours journey
  • Traffic-dependent
  • Less comfortable for luggage

Private Car or Tour

  • Door-to-door convenience
  • Can stop at Meknès, Volubilis, Moulay Idriss
  • Flexible departure time
  • More expensive
  • Dependent on road traffic
  • Requires pre-booking

Travelling onward from Fes? A private guide and vehicle makes sense if you want to explore the route between the two cities properly — stopping at the Roman ruins of Volubilis, the hill town of Moulay Idriss and the imperial monuments of Meknès — rather than arriving straight in Fes with no context. A private guided transfer turns a straightforward train ride into a full-day cultural itinerary.

Casablanca to Fes Train — Frequently Asked Questions

How long does the train from Casablanca to Fes take?

The direct ONCF service takes between 3 hours 20 minutes and 3 hours 50 minutes depending on whether the train is an express (rapide) or makes extra stops at smaller stations. The scheduled journey time on most departures is around 3 hours 35 minutes. In practice you will arrive roughly on time — ONCF's intercity network is considered among the most punctual in Africa. Budget 4 hours door-to-door from your Casablanca hotel to the Fes medina gate.

Do I need to book Casablanca to Fes train tickets in advance?

For weekday travel you can usually buy at the station window (guichet) 30 minutes before departure without trouble. For Friday–Sunday travel, or if you want a reserved seat in first class, booking ahead on oncf.ma is strongly recommended. Tickets go on sale up to 30 days before travel. The website accepts international cards and sends a printable or mobile e-ticket. Indicative prices: second class from ~100 MAD, first class from ~160 MAD.

Which Casablanca station do trains to Fes leave from?

All intercity trains to Fes depart from Gare de Casa Voyageurs — not Casa Port, which serves only the local Casablanca–Kénitra commuter line (Réseau Express Régional). Casa Voyageurs is in the Ain Sebaa district, roughly 3–4 km from the city centre and the Hassan II Mosque. Petits taxis and tram line T1 both reach the station. If you are arriving from Mohammed V Airport, the train line from the airport stops at Casa Voyageurs before continuing west — so you could in theory board here and transfer straight on to Fes.

Is the train or bus faster from Casablanca to Fes?

The train is faster. A direct ONCF train takes around 3 h 35 min. CTM and Supratours coaches cover the same route in roughly 4–5 hours depending on traffic, stops and road conditions — they are often slower, particularly during holiday periods when the N6 motorway gets congested. The train is also more comfortable for luggage, has a buffet car on some services, and drops you at a central station. Bus fares are marginally cheaper, starting around 80 MAD, but the time difference makes the train the better choice for most travellers.

How much does a first-class train ticket from Casablanca to Fes cost?

Indicative first-class (Première) fares start at around 155–175 MAD (roughly $15–$17) per person. Second-class (Économique) fares start around 95–110 MAD (~$9–$11). Prices fluctuate by departure time and season — early-morning and late-evening services are occasionally cheaper. Children under 4 travel free; children 4–12 pay half price. Senior discounts exist for Moroccan nationals. No online booking fee applies on oncf.ma, and you can pay by Moroccan debit/credit card or international Visa/Mastercard.

Is there a high-speed train from Casablanca to Fes?

Not directly. Morocco's high-speed Al Boraq line (LGV) currently runs only between Casablanca and Tangier, with intermediate stops at Kénitra. There is no high-speed service on the Fes corridor. The standard intercity ONCF train is however comfortable and modern, running at speeds up to 160 km/h on sections of the route. There have been long-term plans to extend the LGV network to Marrakech and potentially Fes, but as of 2026 no high-speed Casablanca–Fes service operates.

What is the best way to get from Fes train station to the medina?

Gare de Fès sits about 1 km south-west of Bab Guissa and roughly 2 km from Bab Boujloud (the Blue Gate, the main medina entrance). Petits taxis outside the station charge around 20–40 MAD to any medina gate — insist the driver uses the meter (compteur), or agree a fixed price before you get in. Grand taxis for longer distances are also available. The walk to the New City (Ville Nouvelle) along Avenue Hassan II takes about 15 minutes, but pulling luggage in the medina's narrow lanes is best avoided — drop off at a gate and let your riad send someone to meet you.

Plan it with a local expert

Travel Morocco with Serenity Morocco Tours

Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.

  • Moroccan-owned
  • 100% Private Tours
  • 100% private tours since 2018
Sahara Desert Luxury Expedition — Marrakech → Erg Chebbi, Morocco

5 days Marrakech → Erg Chebbi

Sahara Desert Luxury Expedition

Essential Morocco: Imperial Cities Circuit — Marrakech · Fes · Meknes · Rabat, Morocco

7 days Marrakech · Fes · Meknes · Rabat

Essential Morocco: Imperial Cities Circuit

Sahara to Sea: Morocco Complete — Full-country circuit, Morocco

14 days Full-country circuit

Sahara to Sea: Morocco Complete

Browse the private tours, quoted on request →