Casablanca is where many travellers from the US, the UK and Canada land, and Marrakech is where most of them want to be. The two cities are about 240 km apart, linked by a motorway and a direct railway, so the journey is one of the easiest in Morocco. The real choice is how you want to travel, and whether you want to see anything on the way.
In short: Casablanca to Marrakech takes about 2 h 40 to 3 h by direct train from Casa-Voyageurs, 3 to 4 h by bus and around 3 h by road. From Mohammed V airport, the road is the simplest option. If you have a day to spare, the Atlantic coast via El Jadida and Essaouira is a far more beautiful way to reach Marrakech.
Train, bus, car or private driver
Train
About 2 h 40 to 3 h
Direct ONCF trains run from Casa-Voyageurs to Marrakech station in Gueliz through the day. Book on ONCF and choose first class at busy times.
Bus
About 3 to 4 h
CTM and Supratours coaches leave from their own stations, not the train station. Slightly slower, and traffic leaving Casablanca can add time.
Rental car
About 240 km, around 3 h
The A7 toll motorway is straightforward. The hard part is city traffic in Casablanca and parking near the Marrakech medina.
Private driver
Door to door, around 3 h
Picked up at your hotel or the airport, dropped at the edge of your riad's lane. The easiest choice with luggage, children or a late flight. Read how a private driver works.
Journey times are typical, not guaranteed. Works on the railway and traffic around Casablanca can change them, so check the latest timetable before you travel.
From Casablanca airport to Marrakech
Mohammed V International Airport is south of Casablanca, on the side of Marrakech. By road, the drive is roughly 2 h 30 to 3 h, with no need to enter the city.
By rail, there is no direct train from the airport to Marrakech: you take the airport train into Casablanca and change at Casa-Voyageurs. With the connection, plan for about 4 to 5 hours in total. After a night flight, most travellers find a car simpler: the journey can start as soon as you have your bags. We arrange private transfers from Mohammed V airport and from Casablanca to Marrakech; send us your flight details and ask us for the price.
What about the high-speed train?
Morocco's Al Boraq high-speed train links Tangier, Rabat and Casablanca, but it does not reach Marrakech yet. Construction of the Kenitra to Marrakech extension began in 2025, with opening planned for around the end of the decade. Until then, the Casablanca to Marrakech line runs on conventional trains, and works on the new line can cause temporary changes to timetables. If you are coming from Tangier, you change trains in Casablanca; see our private tours from Tangier for an alternative.
Before you leave Casablanca
Give yourself a morning for the Hassan II Mosque, built on the ocean's edge. It is one of the very few mosques in Morocco that non-Muslim visitors can enter, on guided visits at set times outside prayer. Dress modestly, with shoulders and knees covered; our guide to what to wear in Morocco explains why it matters. With a car, you can visit in the morning and still be in Marrakech by late afternoon.
The coastal route: a better way to arrive
The motorway is fast but the landscape is flat farmland. If you have an extra day, follow the Atlantic instead:
- El Jadida: the Portuguese City of Mazagan, a UNESCO World Heritage site, and its vaulted underground cistern.
- Oualidia: a calm lagoon known for its oysters and seafood lunches.
- Essaouira: a whitewashed port with ramparts on the ocean, an easy place to spend the night.
- Marrakech: about 190 km inland from Essaouira, through argan country.
This route only makes sense with your own vehicle or a driver, because buses do not link the small coastal towns conveniently.
Which option suits you
First-time couples
Train or private driver
The train is simple and cheap between city centres; a driver saves the taxi transfers at each end.
Families with luggage
Private driver
One vehicle from the door to the riad, stops when the children need them, no platforms to cross.
Arriving on a long-haul flight
Private driver or train with a change
By road it is roughly 2 h 30 to 3 h from the airport. By rail, plan for a connection in the city.
Travellers heading to the Sahara
Start a tour instead
If the desert is your goal, you do not need to stop in Marrakech first. A tour can start in Casablanca and reach the dunes.
Going further than Marrakech
Many travellers who land in Casablanca are really heading for the Sahara. In that case, it often makes more sense to start a tour from Casablanca and finish in Marrakech, rather than going there first and back. A few routes to compare:
- Marrakech day trip from Casablanca, if you are short of time.
- 4 day tour from Casablanca to Marrakech via the Sahara.
- 7 day tour from Casablanca through the imperial cities and the desert.
- All our private tours from Casablanca.
Once you are in Marrakech, our list of things to do in Marrakech will help you plan your days, and the Morocco itinerary planner shows how the rest of the country fits together.
Planning your route? Send us your arrival details or message us on WhatsApp and ask us for the price of a private transfer or tour.






