Skip to content

Trains in Morocco: Al Boraq and ONCF

Tangier and Casablanca are 2 h 17 apart by high-speed train. For the rest of the country, the classic lines are comfortable and frequent.

Last checked: November 2026

The Al Boraq

Morocco's high-speed train links Tanger Ville, Kenitra, Rabat Agdal and Casa Voyageurs. On the trains on sale for a Thursday in November 2026, journey times were 1 h 22 from Tangier to Rabat, 2 h 17 from Tangier to Casablanca and 50 minutes from Rabat to Casablanca, with 14 trains a day in each direction between 6:00 and 21:00.

Watch the station names: in Rabat it stops at Rabat Agdal (not Rabat Ville) and in Casablanca at Casa Voyageurs (not Casa Port).

The extension to Marrakesh is under construction and its opening is announced for September 2029, according to the Moroccan press.

Fares

Fares vary with how far ahead you book. For that same November day, Tangier – Casablanca cost between 205 and 270 dirhams in second class and between 300 and 365 in first, and Tangier – Rabat between 160 and 205 in second.

The “Yalla Al Boraq” fare is fixed at 89 dirhams in second class and 129 in first if you buy at least seven days ahead, with no changes or refunds and subject to availability.

The classic lines

Direct trains on sale for the same day, with journey times.

  • Casablanca – Marrakesh: 2 h 54, 15 direct trains.
  • Rabat – Fez: 2 h 52 to 3 h, 18 direct trains from Rabat Ville.
  • Casablanca – Fez: 3 h 55 to 4 h 05, 18 direct trains.
  • Tangier – Fez: 4 direct trains taking 4 h 12 to 4 h 40, or Al Boraq with a change at Kenitra, 3 h 27 to 4 h 05.
  • Marrakesh – Agadir: no train; Supratours coaches, sold by ONCF itself, take about three and a half hours.

How to buy tickets

Tickets are sold on the ONCF Voyages website and app, at station ticket offices and at payment agencies such as Chaabi Cash, Tasshilat or Cash Plus. Seats are numbered. In summer, buy weekend trains a few days ahead.

A full itinerary by train: Tangier, Rabat and Casablanca in 5 days.

Frequently asked questions

How long is the train from Tangier to Casablanca?

2 h 17 on the Al Boraq, based on the trains on sale in November 2026.

Does the Al Boraq go to Marrakesh?

Not yet: the extension is announced for September 2029. Today you take a classic train from Casablanca, in 2 h 54.

Is there a train to Agadir?

No. From Marrakesh there are Supratours and CTM coaches, taking about three and a half hours.

Where can I buy tickets?

On the ONCF Voyages website and app, at stations and at authorised payment agencies.

Other guides