Trains in Morocco: Al Boraq High-Speed Train, Routes, Tickets and Tips

12 Day Tour from Tangier to Tangier Imperial Cities Merzouga Desert Atlantic Coast

Quick answer: Morocco’s national railway, ONCF, links Tangier, Rabat, Casablanca, Marrakech, Fes, Meknes and Oujda. The Al Boraq high-speed train connects Tangier and Casablanca in about 2 hours 10 minutes. Trains are affordable, punctual by regional standards and comfortable, especially in first class. There are no trains to Essaouira, Agadir, Chefchaouen, Ouarzazate or the Sahara: use buses or a private driver there.

Main routes and journey times

RouteApprox. timeNotes
Tangier – Casablanca (Al Boraq)2 h 10High-speed, via Kenitra and Rabat
Tangier – Rabat (Al Boraq)1 h 20High-speed
Casablanca – Marrakech2 h 40Frequent conventional trains
Casablanca – Fes3 h 30 – 4 hVia Rabat and Meknes
Marrakech – FesAbout 7 hUsually with a change
Fes – Meknes40 minEasy day trip

An extension of the high-speed line towards Marrakech is under construction, which will cut travel times further in the coming years. Check current schedules on the official ONCF website.

First or second class?

First class gives you a reserved seat and more space; second class on conventional trains does not always guarantee a seat on busy days (Friday afternoons, Sundays, holidays). The difference in price is modest, so first class is good value for long journeys. On Al Boraq, both classes have reserved seats.

Tangier, northern terminus of the Al Boraq high-speed train
Tangier, northern terminus of the Al Boraq high-speed train

Buying tickets

  • Online on the ONCF website or app (passport details required).
  • At station ticket offices and machines.
  • Buy ahead for Al Boraq and around holidays; conventional trains can usually be bought on the day.
  • Keep your ticket: it is checked on board and sometimes at the exit.

Night trains

A night train with couchettes runs between Marrakech and Tangier, useful if you arrive or leave by ferry from Spain. Book a couchette in advance; read our guide to the ferry from Spain to Tangier.

Where trains don’t go

Essaouira, Agadir, Ouarzazate, Merzouga, Zagora, Chefchaouen and the Atlas valleys have no railway. Supratours buses connect with trains in Marrakech for some southern destinations; otherwise, CTM buses or a private driver are the best options. For the desert, a private tour is by far the most practical choice.

Frequently asked questions

Is the train in Morocco good?

Yes. ONCF trains are affordable and comfortable, and Al Boraq is a modern high-speed service. Delays happen on conventional lines but are usually short.

How do I buy train tickets in Morocco?

Online on the ONCF website or app, from ticket machines or at station counters. Book ahead for Al Boraq and holiday periods.

Is there a train from Marrakech to the Sahara?

No. There is no railway to Merzouga or Zagora. Go by bus, private driver or as part of a desert tour.

Does Al Boraq go to Marrakech?

Not yet. Al Boraq runs between Tangier and Casablanca; an extension towards Marrakech is under construction. From Casablanca you continue by conventional train.

Keep reading

Written by the Todo Marruecos Tours team, local guides and drivers based in Morocco. Last updated: November 2026.

Leave a Reply

Text Widget

Nulla vitae elit libero, a pharetra augue. Nulla vitae elit libero, a pharetra augue. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui. Etiam porta sem malesuada.

Recent Comments

    WhatsApp