Historic street with arched buildings in Fes medina Morocco
Routes

Casablanca to Fes

Inland to the medina by ONCF train.

By the Viamo editorial team · Editor Terje Moy · Last updated July 2026 · 6 min read

Fastest ~3h45 by train

At a glance Typical options on this route – details, caveats and booking advice below.
🚆 Train~3h45ONCF via Rabat and Meknès, from Casablanca Voyageurs
🚌 Bus~4.5–5.5hCTM, reliable, competitive with train fare
🚗 Car~3.5–4.5hA3 motorway, 320km, detour to Volubilis ruins possible

Planning this trip? Currency converter · Jet-lag calculator · Trip budget · Compare routes

Casablanca and Fes are Morocco's two most visited cities, and the journey between them is one of the country's most rewarding rail routes. The ONCF train via Rabat and Meknès takes around three and three-quarter hours and is the easy favourite; the CTM bus offers a straightforward alternative, and driving lets you stop at the Roman ruins of Volubilis along the way. Here is how each works.

Morocco's national rail network, ONCF, runs frequent and comfortable intercity trains between Casablanca and Fes. The journey takes approximately 3 hours 45 minutes and passes through Rabat (the capital) and Meknès — both worthwhile destinations in their own right, so you can break the journey if your schedule allows.

Trains depart from Casablanca Voyageurs station (the main intercity hub, in the east of the city) several times daily. First-class and second-class seats are available; first class is not dramatically more expensive and offers a noticeably quieter, more comfortable carriage. Reservations are recommended, especially at weekends and during school holidays — book online at the ONCF website or at the station.

The train is almost always the best choice for this route: it is fast, punctual by regional standards, connects city centres directly, and requires no involvement with traffic. Fes's main rail station, Fes-Ville, is a few kilometres from the old medina, so you will need a taxi or petit taxi for the final leg.

The bus option: CTM and other coaches

CTM (Compagnie de Transports au Maroc) is Morocco's most reliable long-distance bus operator and runs services between Casablanca and Fes. Journey time is typically around 4.5–5.5 hours depending on stops, and fares are competitive with — or slightly lower than — the train.

CTM buses are modern, air-conditioned and include luggage storage, and the booking system is available online. Other operators such as Supratours and a range of smaller private companies also serve this corridor, often from separate terminals. For reliability and comfort, CTM is the benchmark; smaller operators may be cheaper but standards vary.

In Casablanca, CTM departs from its main terminal near the city centre. In Fes, CTM typically arrives at its own terminal near the new town (Ville Nouvelle). From there, taxis run to the medina.

Driving: the route via Meknès and Volubilis

The drive from Casablanca to Fes is roughly 320 kilometres and takes about 3.5–4.5 hours depending on traffic around Casablanca and whether you stop en route. The most direct route follows the A3 motorway (toll road) east from Casablanca through Rabat, then north-east toward Meknès and on to Fes.

The great advantage of driving is the detour to Volubilis, Morocco's best-preserved Roman ruins and a UNESCO World Heritage Site, which sits just 30 kilometres north of Meknès. Adding this stop makes for a rewarding full-day journey with an overnight in Fes.

Moroccan motorways are well-maintained and tolls are modest. In-city driving in both Casablanca and, especially, Fes can be chaotic; parking near the Fes medina requires some patience. If you have hired a car in Casablanca, check whether your rental agreement covers toll-road usage and whether you need to pick up a Jawaz electronic toll card.

Is there a high-speed option?

Morocco's high-speed LGV Al Boraq line currently runs between Casablanca and Tangier, serving Kenitra. For the Fes route, the conventional rail service via Rabat and Meknès remains the standard — quick enough that a high-speed upgrade on this corridor has not been the priority. ONCF continues to expand the network, so check for any updates if you are planning a trip in the future.

Which should you choose?

The ONCF train wins for most travellers: comfortable, frequent, reliable and city-centre to city-centre. The CTM bus is a genuine alternative if the train is full or if you prefer a later or earlier departure not covered by rail. Driving is worth considering only if you want flexibility on the road, plan to visit Volubilis, or are already travelling with a hire car. For a direct, hassle-free journey, pick the train.

Arriving in Fes

Fes is one of the world's great medieval cities, and the medina — the ancient walled city — is a UNESCO-listed maze of souqs, madrasas and workshops that remains largely car-free. Give yourself at least two days. The distinction between Fes el-Bali (the oldest part, with the famous Chouara tanneries) and Fes el-Jdid (the 13th-century addition) is worth understanding before you arrive; the Ville Nouvelle is the more modern French-built district where most hotels and services are found. Taxis between the new town and the medina gates are cheap and plentiful.

Practical tips for first-time visitors

Comfort and what to expect on board

ONCF's intercity trains are modern, air-conditioned and generally comfortable, with reasonably spaced seating in both classes and luggage racks at the end of each carriage. Trolley service or a small onboard café varies by service, so it's worth bringing water and snacks rather than relying on catering being available. Announcements are typically made in Arabic and French, so English-speaking travellers should keep an eye on station names as the train approaches Rabat and Meknès to avoid missing their stop if changing there. CTM buses are similarly well equipped, with air conditioning and reasonably comfortable seating for the journey, and are a dependable choice if the train schedule doesn't fit your plans.

Money-saving tips

Second-class train tickets are considerably cheaper than first class and perfectly adequate for a journey of well under four hours, so budget travellers can save meaningfully by skipping the upgrade. Booking ONCF tickets online in advance, rather than at the station, can also help secure a seat on popular departures without paying more. On the coach side, CTM's online booking system sometimes offers lower fares than counter purchases, and travelling midweek rather than on a Friday (the start of the Moroccan weekend) tends to mean both better availability and, occasionally, better pricing.

Frequently asked questions

How long does the train from Casablanca to Fes take?

About 3 hours 45 minutes on ONCF intercity services, passing through Rabat and Meknès. Several departures run daily from Casablanca Voyageurs.

Do I need to book the train in advance?

Booking ahead is recommended, especially for first class and at weekends or holidays. Tickets are available online at the ONCF website or at station ticket offices.

Is CTM bus reliable on this route?

CTM is Morocco's most established long-distance coach operator and is generally punctual and comfortable. Journey time is typically 4.5–5.5 hours.

Can I visit Volubilis on the way from Casablanca to Fes?

Yes, but only if you are driving. Volubilis is about 30 km north of Meknès, making it a natural stop on a self-drive journey. By public transport, you would need to base yourself in Meknès and take a day trip.

Sources and further reading: