Casablanca to Marrakech Train
Casablanca is the main international gateway to Morocco, and Marrakech is the city most travelers want to reach. The train between them is one of the easiest, cheapest and most comfortable ways to travel in the country. In under three hours, you leave the Atlantic coast behind, cross the wide plains of the Chaouia and arrive in the red city at the foot of the Atlas.
This guide explains everything about the Casablanca to Marrakech train: stations, journey time, classes, tickets, how to get from Casablanca airport, the future high-speed line, alternatives by bus, car and private transfer, and tips to make the journey smooth.
Casablanca to Marrakech train at a glance
| Detail | Information |
|---|---|
| Operator | ONCF, the Moroccan national railway |
| Main departure station | Casa Voyageurs |
| Arrival station | Marrakech railway station, in Gueliz |
| Journey time | About 2 hours 40 minutes on direct trains |
| Classes | First class and second class |
| Frequency | Several departures per day |
| Tickets | ONCF website and app, station ticket offices, machines |
Schedules and prices change, so always check the latest timetable on the ONCF website or app before you travel.
Stations
In Casablanca: Casa Voyageurs
Most trains to Marrakech leave from Casa Voyageurs, Casablanca’s main railway station, modernized when the high-speed line opened. It is also where the Al Boraq high-speed trains from Tangier and Rabat arrive, making connections easy. Casa Port, near the old medina and the port, mainly serves other routes, so check your ticket.
In Marrakech
Marrakech station is in the Gueliz district, a short taxi ride from the medina and Jemaa el-Fna. Petit taxis wait outside. See our guide to taking a taxi in Morocco.
Journey time
Direct trains between Casa Voyageurs and Marrakech take about 2 hours and 40 minutes. Some trains stop more often, and works on the new high-speed line have caused temporary schedule changes and occasional service suspensions, so check before you go.
Classes and comfort
| First class | Second class |
|---|---|
| Reserved seat | Seat reservation increasingly common |
| More space and quieter | Busier, especially on weekends and holidays |
| Compartments or open coaches | Open coaches |
| Recommended in summer and holidays | Good value for short trips |
Trains are air-conditioned, though air conditioning can be weak on hot days. Toilets are available, and some trains have a snack trolley.
Buying tickets
- Online: on the ONCF website or mobile app, with e-tickets on your phone.
- At the station: at ticket offices or machines.
- In advance: recommended during holidays, weekends, summer and around Ramadan and Eid, when trains are busy.
Keep your ticket until you leave the arrival station; inspections are common.
From Casablanca airport to Marrakech by train
If you land at Mohammed V International Airport, there is a train from the airport station to Casablanca. You can change at Casa Voyageurs or at a junction station for Marrakech, depending on the timetable. In practice, many travelers find a direct private transfer from the airport to Marrakech, about 3 hours by motorway, easier with luggage. See our guide to Casablanca airport.
The future high-speed line to Marrakech
In April 2025, construction began on a new high-speed line of about 430 km from Kenitra to Marrakech, via Rabat and Casablanca, serving both cities’ airports. When it opens, it will extend the Al Boraq high-speed network, and ONCF says travel time from Tangier to Marrakech will drop to about 2 hours and 40 minutes. Until then, the Casablanca to Marrakech journey uses the conventional line, and construction works can affect schedules.
See our guide to traveling by train in Morocco.
Alternatives to the train
| Option | Time | Pros | Cons |
|---|---|---|---|
| Train | About 2h40 | Comfortable, affordable, no traffic | Fixed times, station transfers |
| Bus (CTM, Supratours) | About 3 to 3.5 hours | Affordable, comfortable coaches | Bus stations, less legroom |
| Private transfer | About 3 hours | Door to door, flexible, luggage | More expensive |
| Rental car | About 3 hours on the motorway | Freedom | Tolls, city driving and parking |
| Flight | Short flight plus airport time | Fast in the air | Not worth it for this distance |
For a door-to-door option, especially from Casablanca airport, a private transfer is often the simplest. Our tours from Casablanca include transfers. See travel to Casablanca and our day trip from Marrakech to Casablanca.
Tips for the train journey
- Arrive at the station at least 20 to 30 minutes before departure.
- Choose first class on busy days for a guaranteed seat.
- Bring water and snacks; trolley service is limited.
- Keep your bags close, especially in second class.
- Check that you are boarding the right train; platforms are announced on screens.
- Expect occasional delays.
- In Marrakech, taxis outside the station should use the meter or agree a price.
What to do on arrival in Marrakech
Once in Marrakech, head to your riad or hotel, then explore Jemaa el-Fna, the souks and the Koutoubia. See Marrakech attractions and how many days in Marrakech is enough.
Combining Casablanca and Marrakech in your itinerary
Many travelers fly into Casablanca, visit the Hassan II Mosque, then take the train to Marrakech. Others start with Rabat, Chefchaouen and Fes, then cross the desert to Marrakech. Our Morocco custom tours can include train journeys, private transfers or both.
Our take
The Casablanca to Marrakech train is one of the best ways to travel between Morocco’s two most famous cities: affordable, comfortable and simple. Book first class on busy days, leave from Casa Voyageurs, and enjoy the views. With luggage or arriving at the airport, a private transfer can be more convenient. And keep an eye on the new high-speed line, which will make the trip even faster in the future.
Frequently asked questions
How long is the train from Casablanca to Marrakech?
About 2 hours and 40 minutes on direct trains.
Which station does the train to Marrakech leave from in Casablanca?
Most trains leave from Casa Voyageurs.
Is there a high-speed train from Casablanca to Marrakech?
Not yet. A new high-speed line from Kenitra to Marrakech via Casablanca is under construction.
Should I take first or second class?
First class is more comfortable and quieter, and recommended on weekends, holidays and in summer.
How do I buy train tickets in Morocco?
On the ONCF website or app, at station ticket offices or at machines.
Can I take the train from Casablanca airport to Marrakech?
Yes, with a change in Casablanca, but a private transfer is often easier with luggage.
Explore our Morocco trips:
Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou and the dunes of Erg Chebbi.
Morocco Desert Tours: Camel trekking and a night under the stars in a Sahara desert camp.
Tours from Fes: The oldest medina in Morocco, then the Middle Atlas and the desert.
Tours from Casablanca: Begin at the Hassan II Mosque and travel through the imperial cities.
Tours from Tangier: Start in the north with Chefchaouen and the Rif Mountains.
Tours from Ouarzazate: Kasbahs, film studios and the gorges of the south.
Contact us

Your Local Experts
Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.
Plan Your Trip
Click any destination to see more:
Marrakech Desert Tours
- 2 Days Desert Tour from Marrakech
- 3 Days Marrakech to Merzouga
- 3 Days Marrakech to Fes
- 4 Days Marrakech to Merzouga
- 4 Days Marrakech to Fes
- 5 Days Marrakech to Merzouga
- 5 Days Morocco Tour from Marrakech
- 6 Days Morocco Tour from Marrakech
- 7 Days Morocco Tour from Marrakech
- 8 Days Morocco Tour from Marrakech
- 8 Days with Imperial Cities
- 9 Days Morocco Tour from Marrakech
- 10 Days Morocco Tour from Marrakech
- 12 Days Morocco Tour from Marrakech
- 14 Days Morocco Tour from Marrakech