Practical guide · 2026

Train travel in Morocco

The train is one of the best ways to explore Morocco: modern, comfortable and affordable. And when you stay right across from Marrakech station, it's even easier. Here's everything you need to know.

Morocco's rail network is run by ONCF. It links the country's major cities and even includes a high-speed line, Al Boraq — the first in Africa. For a European traveller, the experience is reassuring: clean, air-conditioned trains and real comfort on the modern lines.

Marrakech train station (ONCF), departure point for trains to Casablanca, Rabat and Tangier
Marrakech station (ONCF), steps from HaltaKech, serves the whole country.

Where to book tickets?

The simplest and most reliable option: the official site oncf-voyages.ma (or the ONCF app). You can book up to 90 days in advance; the earlier you book, the better the fare. You can also buy your ticket at the station counter or ticket machines. Keep your ticket until you exit — it can be checked.

Al Boraq, Morocco's high-speed train

Al Boraq links Tangier to Casablanca in 2h10 (down from 5 hours), at speeds up to 320 km/h, with a stop at Kenitra. It's an ultra-modern train, comparable to a European high-speed service. Note: Marrakech is not on the high-speed line yet — from Marrakech you take a conventional train to Casablanca, then you can connect to Al Boraq heading north.

The classes: 1st or 2nd?

Most trains offer two classes. 1st class gives you a reserved seat and a calmer carriage; 2nd class is cheaper but can be crowded at peak times. On Al Boraq, both classes have reserved seats. For a long journey or a busy period, 1st class (or a reserved seat) is worth the small price difference.

Air conditioning and café car

Yes to air conditioning: Al Boraq and the modern trains have it — very welcome in summer. For refreshments, Al Boraq has an on-board café/snack area. Conventional trains don't always have a bar car, but vendors often sell drinks and snacks; still, bring water and a snack for long trips.

Journey times and indicative fares from Marrakech

~2h40Marrakech → Casablanca
~4hMarrakech → Rabat
Casa + Al BoraqMarrakech → Tangier

As a rough guide, a Marrakech–Casablanca ticket often costs 100 to 150 dirhams in 2nd class. On Al Boraq (Tangier–Casablanca), expect around 149 DH in 2nd class and 243 DH in 1st. Prices vary with how early you book and the time of day — always check exact fares and timetables on oncf-voyages.ma.

Practical tips & pitfalls to avoid

Is it comparable to trains in Europe or the US?

For Al Boraq, yes: the experience is close to a high-speed European train, with excellent comfort and strong punctuality. The conventional network is decent and far more developed than in the US, even if it can run late. Overall, train travel in Morocco is safe, comfortable and affordable — a great way to explore from Marrakech.

Perfectly placed. At HaltaKech you stay right across from Marrakech station: step off the train and you're home. Perfect for exploring the country stress-free.