Trains in Morocco: book Al Boraq early and travel smart with ONCF
Trains comfortably link Tangier, Rabat, Casablanca, Fes, Meknes and Marrakech. Booking ahead, especially for the Al Boraq high-speed line, often means paying less.
- Cost:
- varies with date and class
- You save:
- often cheaper than driving or flying, stress-free
The network in brief
The ONCF network covers the Tangier – Rabat – Casablanca – Marrakech axis and the Casablanca – Meknes – Fes line, with extensions to the east. Between Tangier and Casablanca, the Al Boraq high-speed train takes about two hours, stopping at Kenitra and Rabat. Other lines are served by conventional, comfortable, air-conditioned trains.
For the south and the north-west (Essaouira, Agadir, Merzouga, Chefchaouen), there is no train: you take the coach (CTM, Supratours), sometimes connecting with the train.
Booking at the right time
Tickets are sold on the official ONCF website and app, or at the station. For Al Boraq, prices vary with the date and how full the train is: booking a few days or weeks ahead usually gets the lowest fares, especially on Fridays, Sundays and during holidays.
For conventional trains, prices are more stable, but booking avoids standing on busy days. Keep your ticket (paper or digital) until you leave the station: it is checked.
First or second class?
Second class is comfortable and fine in most cases. First class guarantees an assigned seat and more space, welcome on long journeys such as Casablanca – Marrakech or Fes – Marrakech, and on peak travel days. The price difference is reasonable: decide based on the length of the journey.
In practice
- Book on the official ONCF website or app.
- Al Boraq: book early, prices rise as trains fill.
- Tangier – Casablanca by Al Boraq: about 2 h.
- No train to Essaouira, Agadir, Chefchaouen or Merzouga: take the coach.
- Keep your ticket until you leave the station.
Related destinations
More tips
See allMarrakech: classic traps and how to avoid them
"Road closed", fake guides, pushy henna, taxis without meters: nothing dangerous, but enough to spoil a day and your budget. Here is how to spot them and say no politely.
You save: often 100–500 MAD over a stay
Free Marrakech: the best places to see without spending a dirham
Jemaa el-Fna, the Koutoubia gardens, Cyber Park, the Menara gardens, the souks… Marrakech is easy to enjoy for free, as long as you know where to go and when.
You save: ≈ 150–300 MAD a day in paid entries
Merzouga: book your desert camp directly and know what is included
If you travel independently, booking a night in a desert camp in Merzouga directly often costs less than a tour sold in Marrakech. Provided you check exactly what is included.
You save: often several hundred MAD per person