In short. Casablanca to Marrakech is about 240 km, and the trip takes about 3 hours by road or by train. It is one of the easiest trips in Morocco, and many travellers land in Casablanca and go straight to Marrakech. This guide explains the train, the road, the stops, and how to plan the trip, with times and costs.
The trip in numbers
Casablanca to Marrakech is about 240 km. By train, the trip takes about 3 hours. By car, it also takes about 3 hours on the motorway. By bus, it takes about 3 to 4 hours. The road is flat and easy, and the train is direct. There is no need to fly this route, and no tour needs a full day for it. The train leaves often, so you rarely wait long at the station.
Most travellers take the train or a private transfer. The train is cheap and on time. A private transfer costs more but picks you up at the airport or hotel and drops you at your riad in Marrakech. A taxi from the airport to the train station is short. Pick by your bags and your arrival time, not by speed, because both are fast.
By train: the easy choice
The train from Casablanca to Marrakech runs many times a day, from early morning to late evening. The main station in Casablanca is Casa Voyageurs, and the train also stops at the airport station. The trip takes about 3 hours, and the train has first class and second class. First class costs more and has more space.
A second class ticket costs about 10 to 15 euros, and a first class ticket costs about 15 to 20 euros. Prices change, so check on the day. Buy the ticket at the station or online. The train is clean and safe, and the seats are good. Sit on the right side for the view of the fields. The train arrives at Marrakech station, a short taxi ride from the medina.
By car: the motorway and the stops
By car, the trip takes about 3 hours on the motorway. The motorway is paved, wide and in good shape. The toll costs a small fee, often 10 to 15 euros for the full trip. A private transfer from Casablanca airport to Marrakech costs more than the train, but it is door to door. Agree the price before you start.
The road has few sights, because it runs through flat farmland. The main stop is Settat, a town halfway, where you can stop for coffee and a break. The drive is easy, but it is not a scenic road. If you want sights, take the train and save your time for Marrakech. If you have a lot of bags, take a car.
By bus: cheap and slow
The bus from Casablanca to Marrakech takes about 3 to 4 hours and costs less than the train. The main bus firms are CTM and Supratours, and they run from the bus station in Casablanca. The bus is clean and has air conditioning, but it is slower than the train and the seats are smaller.
Take the bus if you want the cheapest trip and you have time. Take the train if you want comfort and speed. Do not take a shared taxi for this route unless you know the price. Shared taxis are fast but crowded, and the price is not fixed. A private transfer is the best choice for a family with bags.
What to see on the way
There is little to see on the road from Casablanca to Marrakech. The land is flat farmland with wheat, olives and small villages. The best sight is the change from the coast to the dry plain near Marrakech. The Atlas Mountains appear on the horizon as you near Marrakech, and the snow on the peaks is clear in winter.
If you have a full day, stop in Casablanca first. Visit the Hassan II Mosque in the morning, walk the Corniche, and take the train to Marrakech in the afternoon. That gives you both cities in one day. If you land in Casablanca in the morning, you can be in Marrakech by the afternoon and see the square at sunset.
Arriving in Marrakech
The train arrives at Marrakech station, in the new town. A taxi to the medina takes about 10 minutes and costs about 30 to 50 dirhams. Agree the price before you get in. A private transfer drops you at your riad, which is easier if your riad is deep in the medina. Ask the riad to send a person to meet you at the taxi drop-off.
If you arrive by car, the driver drops you near the medina. Cars cannot enter most of the old medina, so you walk the last part. Keep your bags light and your phone charged. The medina is a maze at night, so arrive before dark if you can. Your first evening in Marrakech is best spent in Jemaa el-Fnaa.
How this route fits a longer trip
The Casablanca to Marrakech route is the start of most Morocco trips. Many travellers land in Casablanca, see the mosque, and take the train to Marrakech. From Marrakech, they take a desert tour to Merzouga, then go on to Fes. That loop covers the main sights in 7 to 10 days.
If you start in Casablanca, spend 1 night there and 2 nights in Marrakech. Then take a 3-day desert tour. That plan uses your days well. If you fly home from Casablanca, take the train back at the end. Leave Marrakech 5 hours before a flight from Casablanca, to allow for the train and check-in.
Planning the trip step by step
Plan the trip like this: land in Casablanca, visit the Hassan II Mosque in the morning, walk the Corniche for lunch, and take the train to Marrakech in the afternoon. The train takes about 3 hours from Casa Voyageurs station, and a second class ticket costs about 10 to 15 euros. Buy the ticket at the station or online, and sit on the right side for the view of the fields. The train arrives at Marrakech station, and a taxi to the medina takes about 10 minutes and costs about 30 to 50 dirhams. Agree the taxi price before you get in, and ask your riad to meet you, because the lanes are hard to find at night.
If you land late, take a private transfer from the airport straight to Marrakech. The drive takes about 3 hours on the motorway, and the toll costs a small fee. If you have a full day, spend one night in Casablanca and take the train the next morning. From Marrakech, you can take a desert tour to Merzouga, then go on to Fes. Leave Marrakech 5 hours before a flight from Casablanca, to allow for the train and check-in. The route is short and easy, and it is the best start to a Morocco trip.