Morocco Train: Al Boraq, Routes and Easy Tips

Morocco Train

Taking the Morocco train is one of the easiest, safest and most comfortable ways to travel between the big cities. Morocco has the first high-speed train in Africa, Al Boraq, which links Tangier and Casablanca in just over two hours, plus a good network of regular trains to Fes, Marrakech, Rabat and more.

In this guide, our local team explains everything about the Morocco train: the routes, Al Boraq, classes, tickets, travel times, tips and where the train does not go.

Morocco Train at a Glance

FactDetails
OperatorONCF (national railway company)
High-speed trainAl Boraq, Tangier to Casablanca
Top speedUp to 320 km/h
ClassesFirst and second class
TicketsONCF website, app or station
No train toMerzouga, Ouarzazate, Agadir, Essaouira, Chefchaouen

The Morocco Train Network

The Moroccan railway is run by ONCF. The main lines connect:

  • Tangier – Kenitra – Rabat – Casablanca (high-speed Al Boraq)
  • Casablanca – Marrakech
  • Casablanca – Rabat – Meknes – Fes
  • Fes – Taourirt – Oujda in the east
  • Casablanca – Mohammed V Airport
  • Casablanca – El Jadida and other local lines

Al Boraq: Africa’s First High-Speed Train

Opened in 2018, Al Boraq is the first high-speed train in Africa. It runs between Tangier, Kenitra, Rabat and Casablanca at speeds up to 320 km/h. The trip from Tangier to Casablanca takes about 2 hours 10 minutes instead of almost 5 hours before. The trains are modern, clean and comfortable, with air conditioning and a snack bar.

A new high-speed line from Kenitra to Marrakech is under construction, with service expected before the 2030 World Cup. When it opens, the trip from Tangier to Marrakech will be much faster. Read about the Morocco World Cup 2030.

Typical Travel Times

RouteApproximate time
Tangier – Casablanca (Al Boraq)About 2 h 10
Tangier – Rabat (Al Boraq)About 1 h 30
Casablanca – MarrakechAbout 2 h 40
Casablanca – FesAbout 3 h 30 to 4 h
Rabat – FesAbout 2 h 30 to 3 h
Marrakech – FesAbout 7 h
Casablanca airport – cityAbout 40 minutes

Times change with timetables; always check the official schedule.

Classes on the Morocco Train

  • First class: reserved seats, more space and quieter cars. On regular trains, first class compartments often have 6 seats.
  • Second class: cheaper, can be busy on weekends and holidays, and seats are not always reserved on regular trains.
  • Al Boraq: both classes have reserved seats in open cars.

How to Buy Tickets

  • Online: on the official ONCF website or the ONCF app.
  • At the station: ticket windows and machines.
  • Book Al Boraq tickets in advance, especially on weekends and holidays.
  • Keep your ticket (paper or phone) until you leave the station.

Tips for Taking the Morocco Train

  • Arrive 20–30 minutes early; stations can be busy.
  • Check the platform on the screens.
  • Keep your luggage close.
  • Bring water and snacks for long trips.
  • Regular trains can be late; plan connections with extra time.
  • Use the train for city-to-city travel, and a private driver for the mountains and the desert.

Where the Train Does Not Go

The train does not reach many of Morocco’s most beautiful places: the Sahara (Merzouga, Zagora), Ouarzazate, Ait Ben Haddou, the Dades and Todra gorges, Chefchaouen, Essaouira and Agadir. For these, you need a bus, a grand taxi or a private tour. Read how to travel to Morocco and travel to Merzouga.

Train or Private Tour?

The Morocco train is perfect between the big cities, like Casablanca, Rabat, Fes and Marrakech. But for a trip that includes the mountains, kasbahs and the desert, a private tour with a driver is easier: no luggage stress, stops wherever you like and a local guide all the way. Many travelers combine both: train between cities, then a desert tour.

Is the Morocco Train Safe?

Yes. Trains are safe and widely used by Moroccans and visitors. As anywhere, watch your bags in busy stations and on crowded trains.

Frequently Asked Questions

Is there a high-speed train in Morocco?

Yes, Al Boraq runs between Tangier and Casablanca at up to 320 km/h.

Can I take the train from Marrakech to Fes?

Yes, a direct train takes about 7 hours.

Is there a train to Merzouga?

No. You need a bus or a private desert tour.

How do I buy Morocco train tickets?

On the ONCF website or app, or at the station.

Is first class worth it?

On long or busy trips, yes, for a reserved seat and more comfort.

Final Thoughts on the Morocco Train

The Morocco train is a fast and comfortable way to connect the big cities, and Al Boraq is a modern pride of the country. For the desert and the mountains, let us drive you. Contact our local team for a free quote for your private tour.


Explore our Morocco trips:

Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou, the Todra Gorge and the dunes of Erg Chebbi.

Tours from Fes: Ride through the cedar forests of the Middle Atlas to the Sahara.

Tours from Casablanca: Discover the imperial cities, the mountains and the desert in one trip.

Contact us

To Marrakech Desert Tours

Your Local Experts

Ibrahim and our Moroccan team plan your trip with care. Whether you land in Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir or Ouarzazate, we pick you up and shape each day around what you love.