Skip to Content

Train From Casablanca to Marrakech

The Best Way to Get from Casablanca to Marrakech.

The train is the most convenient way to travel around Morocco. For the most part, trains in Morocco are comfortable, reliable and relatively inexpensive to reach Morocco’s most popular tourist destinations.

Many visitors to Morocco choose the convenience of flying into Casablanca airport and then travel on by rail from Casablanca to Marrakesh, Fez, and Tangier.

How Long Does The Train Ride Take from Casablanca to Marrakech

The Casablanca to Marrakesh train service takes approx. 2.5 hours depending on the service.

Find Out More About Travelling Through Morocco

Driving from Marrakech to Fez

Camping in the Sahara


Before Arriving in Marrakech: Read our Useful Tips for Visiting Marrakech to help you plan a great visit to the red City.


What Train Company Runs Between Casablanca and Marrakech

Morocco’s state-owned network; ONCF runs all services between the two cities. All services feature both first and second class seating.

Cost of Train Tickets

Ticket prices between Casablanca and Marrakech range from 49-13 DH (Moroccan Dirham) for a second class ticket to 120-150 DH for a first-class ticket.

Ticket prices will vary according to the service and the type of fare you purchase. Fare types are outlined below ranging from non-refundable to fully flexible.

Ticket Policy
No Flex
Semi-Flex
Flex
Exchange before departure
Not exchangeable
Exchangeable for free once
Exchangeable unlimited free
Refund before departure
Non-refundable
50 % refund
Refundable in full until D-1 of the travel date. Refundable with 20% withholding beyond

First or Second Class Tickets for the Casablanca to Marrakech Rail Service

First Class

First-class train tickets are not that much more expensive than the second class fare but are recommended, especially for longer trips.

First-class compartments will be airconditioned, have more room and allocated seating. If you get to the ticket office early enough, you can reserve a window seat in first class which will enable you to enjoy the beautiful scenery along the way. 

Cost of a First Class Ticket. Casablanca to Marrakech

Ticket TypePrice
One way (depending on the service). 120-150 DH

Tip: Mid-morning and evening services tend to be cheaper. 

First Class Train Morocco
Train from Casablanca to Marrakech Morocco

Second Class 

A second-class ticket for travel from Casablanca to Marrakech is not such a problem. However, longer train rides such as Marrakech to Tangier (8 hrs), especially on the overnight service, we recommend buying a first-class ticket.

Second-class compartments have recently been refurbished so now have air conditioning and are a lot more comfortable than in previous years. These improvements coincide with the new high-speed train service between Casablanca and Tangier – Al Boraq TGV.   

However, the second class will be more cramped, accommodating as many as eight passengers per compartment on a first come first seated basis. During busy times, you may even have to stand in second class until a seat becomes free.

Train from Casablanca to Marrakech Morocco

Don’t Want To Travel From Casablanca to Marrakech by Train?

Book a private transfer or book a day trip from Casablanca to Marrakech and get a transfer and tour in one!


Train from Casablanca to Marrakech Morocco

Cost of a Second Class Ticket Casablanca to Marrakech

One-way fares vary depending on the service and type of ticket. Expect prices of:

Ticket TypePrice
One way No Flex49 DH
One-way Semi-Flex87-132 DH
One Way Flex106-139 DH

Tip For Train Travel in Morocco

They do have a food cart that will travel through the train once throughout the journey with basic drinks and snacks. We do however recommend you bring plenty of drinking water with you. 

Storing Luggage on Second Class Trains in Morocco

Unless you get lucky, the compartments don’t really have enough room for all the people, luggage has to be stowed at the other end of the carriage in an open area opposite the entry.

We highly recommend carrying a lockable luggage cable in Morocco for times like this when you may have to stow your luggage out of sight in a non-secure area. You can lock your luggage to a fixed structure on the train

TSA-Accepted Luggage Locks with TravelSentry: 3-Dial Combination Lock + 48in Coated Steel Cable, the Smartest Safety Lock on the Market - Grey

Keep Your Luggage Secure

Related: Buying Guide to The Best Luggage Locks, Cables & Straps for Safe Travel

Train from Casablanca to Marrakech Morocco

Buying Train Tickets in Morocco

In theory, you can book tickets for travel within Morocco online through ONCF. However, you can only do so with a Moroccan issued credit card. We don’t believe this has changed yet.

You may ask a tour operator or Moroccan travel agent to purchase tickets for you in advance, but this is not necessary. The easiest way is to buy your tickets in person at the station.

If coming from Casablanca Airport, you can purchase tickets at both booths and ticket machines at Casablanca Airport train station.

Best Time to Buy Tickets

You can purchase tickets on the day you are travelling from the train station as trains depart every few hours and are rarely full.

However, for first-class tickets on popular routes, especially during peak season and holidays, it may be best to go to the station a day or two before and purchase your tickets in advance.

First-class seats can be reserved up to a month in advance.

Casablanca Train Station

Casablanca has three train stations; Casa Voyageurs, Casa Port and Mohammed V International Airport.

The main train station in Casablanca is Casa Voyageurs. The white building is recognizable by its high clock tower above the entrance.

Passengers travelling from Casa Port, Casablanca’s smaller station near the city’s Atlantic port or Mohammed V International Airport, will connect to Marrakesh via a transfer at Casa Voyageurs.

Train Schedules From Casablanca to Marrakech

There are eight services per day between Casablanca to Marrakech departing every couple of hours.

Travel time is around 2.5 hours.

Cost: 1st class – 120-150 Dh | 2nd class – 49-139 Dh depending on ticket type as explained earlier.

Check ONCF website for any schedule changes closer to your travel date. 

Timetable Casablanca to Marrakech

DepartArrive
06.1509.01
09.3512.14
11.3514.14
13.3516.14
15.3518.14
17.3520.14
19.3522.14
21.3500.14

Timetable Marrakech to Casablanca

DepartArrive
06.0008.38
08.0010.38
10.0012.38
12.0014.38
14.0016.38
16.0018.30
18.0020.38
20.3023.18
Train from Casablanca to Marrakech Morocco
Marrakech Station| Cebanu Ghenadie Flickr


//