Skip to content
Practical guides to Marrakech

Casablanca to Marrakech by train: how long, how much, how to book

Last checked 5 December 2026. Next review by 5 January 2027. Not a personal trip report. How we write

Short answer
The ONCF Al Atlas train runs about every hour and takes roughly 2 hours 35 to 3 hours. Fares vary by train. Guides we read put second class at about 90 to 150 dirhams, with a cheap Yalla Al Atlas fare of 49 dirhams that is limited and sells out. ONCF's own pages give no full fare table, so check the price for your date on oncf-voyages.ma before you plan.
ItemWhat we foundSource
Duration2 h 35 to 2 h 45TrainsNews, Oct 2026
Duration2 h 54 on the live timetableAtlas and Routes, Oct 2026
Second classAbout 90 to 150 MADTrainsNews
Second class, one date checked120 to 135 MADAtlas and Routes
Yalla Al Atlas49 MAD, limited seatsBoth guides
Group of 3 to 9, second class99 MAD instead of 110 MADONCF

Prices and discounts

ONCF's group-offer page says groups of 3 to 9 get 10% off in second class and 15% off in first class on Al Boraq and Atlas trains, bought at a station counter. Its own example is Casablanca to Marrakech at 99 dirhams per person instead of 110 in second class. That suggests a base second-class fare near 110 dirhams on that page, but it is an example, not a fare table.

One guide says prices depend on the day, the time and how early you buy, and that a ticket bought on the day of travel costs 10% more. We could not confirm that from ONCF.

How to book

ONCF sells tickets on its site oncf-voyages.ma, and at stations. A guide also lists the ONCF Voyages app and agent networks, and says a reserved seat is mandatory in both classes, so the ticket is valid only for the train shown. Confirm those details when you book.

Frequently asked questions

How often do trains run?

About hourly in the daytime, according to both guides. Times change by season, so check your date.

Which station do I arrive at?

Marrakech station, in the Gueliz district. From there see our station to medina guide.

Is there a group discount?

Yes, 10% in second class and 15% in first class for 3 to 9 people, according to ONCF.

Sources

  1. ONCF, small group offer (official). https://www.oncf.ma/fr/Voyageurs/Tarifs-et-promos/Offre-petits-groupes
  2. ONCF Voyages, official booking site. https://www.oncf-voyages.ma/
  3. TrainsNews, Casablanca to Marrakech by train (updated 16 October 2026). https://trainsnews.com/fr/casablanca-marrakech-train-oncf-prix-horaires-lgv
  4. Atlas and Routes, Casablanca to Marrakech train (checked 22 November 2026). https://atlasandroutes.com/casablanca-to-marrakech-train/

Spotted a wrong or outdated price? Tell us and we will check it and correct the page.