Travelling Morocco by Train: Where the Rails Shine and Where They Stop
Travel Tips & Planning · July 2, 2026

Travelling Morocco by Train: Where the Rails Shine and Where They Stop

by Anas Benjelloun
Home  ›  Travel guides  ›  Travel Tips & Planning

Morocco runs Africa’s most impressive passenger railway — including its only high-speed line — and knowing exactly where the rails go (and pointedly don’t) is the key to using them well.

The star: Al Boraq

The high-speed line links Tangier and Casablanca in about 2h10, at up to 320 km/h, with Rabat and Kenitra on the way — comfortable, punctual and absurdly good value by European standards. First class costs little more and guarantees the seat. It is the best way to compress the Atlantic corridor.

The classic network

ONCF’s conventional lines connect Casablanca, Rabat, Fes, Meknes and Marrakech — honest, sociable trains where first class means air-conditioning and a reserved seat worth its small premium. Marrakech–Fes runs long; many travellers split it via Casablanca or take the road instead.

Travelling Morocco by Train: Where the Rails Shine and Where They Stop

Where the rails stop — and it matters

No trains cross the Atlas. Ouarzazate, the gorges, Merzouga, Zagora, Essaouira, Chefchaouen: all road-only. This single fact shapes every itinerary — rails for the imperial corridor, wheels for everything that makes the postcards. It is precisely why the classic pattern is train where it shines, private driver where it doesn’t.

Practical notes

Buy Al Boraq seats a few days ahead in high season (station machines and the ONCF app both work); classic-line tickets sell same-day easily. Stations sit centrally — Marrakech’s is a monument in its own right.

Mixing rail and road

Plenty of our travellers arrive by train and meet their driver at the station — a circuit can start at any platform. Route logic and connections live in the getting-around FAQ.

About the author

Anas Benjelloun — Anas covers the practical side of travelling in Morocco — money, SIM cards, taxis, scams to sidestep, what things cost and when to book. He updates his pages the boring way, by checking, and takes a quiet pride in the fact that his airport-to-medina instructions have never stranded anyone. If a price appears in one of his articles, he has paid it recently.

Keep reading

Questions travellers ask

How do I book a tour?+

Pick a circuit and use the booking widget on its page (choose a date and number of travellers), or simply message us on WhatsApp at +212 661 454 738 with your dates and group size. You receive a booking reference (KM-XXXXXX) and a reply within the hour. No payment is taken at this stage.

Can I send my request by email instead of WhatsApp?+

Yes. The booking form lets you choose how to send your request — by WhatsApp or by email — and we answer through the channel you picked. Either way your request is registered with the same reference number.

What happens after I send a booking request?+

We check availability for your date, confirm the price for your group size, and send back a confirmation with your reference. Only once you approve that confirmation is anything considered booked.

When and how do I pay?+

After your booking is confirmed you can pay securely online, or on site in cash or by bank transfer before departure. We never ask for payment before confirming availability and price in writing.

More answers in the “Booking your trip” chapter of our Travel FAQ →

Turn the reading into a journey

The private tours below pass through the places this guide talks about — every departure is yours alone, on your dates.

Plan this trip on WhatsApp