Skip to content
The A7 motorway running south from Casablanca across the Rehamna plain towards Marrakech

Routes

Casablanca to Marrakech: Distance, Train and Drive

Casablanca–Marrakech distance is 240 km. The train takes about three hours and beats driving. Times, stations, the airport connection and when a car wins.

Distance

240 km

Real driving time

3h

Google Maps says

2h 20

  • Train (ONCF)
  • Private car
  • Bus (CTM / Supratours)

Updated 5 August 2026

Casablanca–Marrakech distance: 240 km. Take the train. It runs most of the day, takes about three hours, costs a fraction of a car, and the A7 motorway alternative is the dullest stretch of tarmac in Morocco. We are a tour operator telling you not to book a transfer for this leg.

Casablanca–Marrakech distance, and why the train wins

Distance Casablanca–Marrakech is 240 km on the A7, and the Marrakech–Casablanca distance in the other direction is the same road with the same nothing beside it.

Time Cost Verdict
Train (ONCF) ~3h Cheapest comfortable option What we would put our own family on
CTM / Supratours coach 3h 30 – 4h Slightly cheaper Fine if the timing beats the train
Private car 3h door to door Highest Early flights, heavy bags, or a stop on the coast
Self-drive 2h 45 – 3h Middle Only if you are continuing somewhere the train doesn’t go

There is no scenery argument for driving. The road crosses the Rehamna plain — flat, dry scrub, two service areas, and the High Atlas finally appearing on the horizon in the last half hour. The train crosses exactly the same ground and lets you read.

Train Marrakech–Casablanca: times, classes, stations

The train from Casablanca to Marrakech is the best public transport in Morocco and it is not close.

Journey time is about three hours, a little more on some services. Departures run through the day from early morning to evening, roughly hourly at the busiest times. First class buys a reserved seat in an air-conditioned compartment; second class is cheaper and can be standing-room on a Friday afternoon or a holiday weekend. On a three-hour run, first class is worth the small difference.

Tickets are sold at the station, at platform machines and on the ONCF website. Fares change, so check the day’s price rather than trusting a number in an article. Nothing needs booking weeks ahead except around Eid and the start of August.

Which Casablanca station: Casa Voyageurs. This is the one detail that costs people an hour. Casa Port, the other central station, serves the Rabat and Kenitra shuttles. If you say “the train station” to a taxi driver in Casablanca you may get either. Say Casa Voyageurs. On the departure boards and in conversation the train Casa–Marrakech is simply “Marrakech”.

In Marrakech, the station is on Avenue Hassan II in Gueliz, about 3 km from Jemaa el-Fna. A beige petit taxi to the medina takes ten to fifteen minutes on the meter. Do not accept a flat fare of several hundred dirhams; see money and tipping for what things actually cost.

Casablanca Mohammed V airport to Marrakech

A lot of people arrive at CMN having assumed it was Marrakech’s airport. It is not — it is 240 km away — but the fix is easy.

Mohammed V airport has a railway station beneath the terminal. Trains run from there to Casa Voyageurs in around 35 to 45 minutes, and you change at Casa Voyageurs for Marrakech. Some timetables show a through service; check on the day and take the connection if it is there. Landing to Marrakech medina is roughly four hours all in.

The exceptions, said plainly: an arrival after the last connection, four cases between two people, or small children at 06:30. Then a private transfer earns its price. Otherwise the train does the job better and cheaper than we can.

By coach

CTM and Supratours both run this corridor with modern coaches, numbered seats and a luggage hold. Journey time is three and a half to four hours, a little less than the train in fare and a little more in time.

The bus Marrakech–Casablanca makes sense when the departure time suits you and the train does not, or when you are travelling to or from somewhere the railway skips. On its own merits, the train wins.

Driving the A7

If you are driving from Casablanca to Marrakech, the A7 is a genuinely good motorway: two lanes each way, 120 km/h, well surfaced, properly signed.

The toll is modest — under 100 MAD for a car at the time of writing, paid by ticket at the barrier. There are two proper service areas with fuel, toilets and a café. Between them there is nothing at all, so stop when you see one rather than when you need one.

Google Maps says 2h 20. That is the motorway running time with an empty car park at each end. Add the exit from Casablanca, the toll queues on a Sunday evening, and the Marrakech ring road, and three hours door to door is what we log. Leaving Casablanca between 16:00 and 19:00 will cost you another twenty minutes before you have even reached the motorway.

Fixed speed cameras are frequent and the gendarmerie checks are routine. Slow down, papers to hand, and you are waved through.

Breaking the drive: El Jadida and Oualidia

The one good reason to take a car is to stop.

El Jadida is a straight hour south of Casablanca on the coast, and its Portuguese cistern — a flooded underground chamber with a hole in the roof that puts a disc of light on the water — is one of the strangest and best rooms in Morocco. An hour there, then inland to Marrakech, costs you about 90 minutes on the day.

Oualidia, another 80 km down the coast, is a lagoon with oyster beds and a handful of good, unglamorous fish restaurants. It turns the transfer into a proper day and is the version we build when clients ask us to drive this leg anyway.

Neither is reachable by train, which is the whole point.

Going the other way: Marrakech to Casablanca

Distance Marrakech–Casablanca: the same 240 km, and everything above applies in reverse with one addition worth knowing.

If you are flying home, the train from Marrakech to Casablanca connects to the airport station at Mohammed V. Take the Marrakech to Casablanca train to Casa Voyageurs, change onto the airport shuttle, and allow four hours from Marrakech station to the terminal — plus whatever your airline wants before departure. That is a long morning, so for a flight before about 10:00 we do put people in a car the night before or at dawn.

The Casablanca to Marrakech train and the return service run to broadly the same pattern through the day, so you are not choosing between a good direction and a bad one.

Arriving in Marrakech

However you come, the last step is the same. The station and the coach terminals are all in Gueliz, the new town, and the medina is a short taxi ride away. Cars cannot reach most riads: you will be dropped at the nearest gate and walk the last few minutes, usually with someone from the riad meeting you.

That is normal. It is not a scam and it happens to everyone arriving in Marrakech for the first time.

So which do you take?

  • Almost everyone — the train. Three hours, cheap, comfortable, frequent.
  • Landing at CMN with luggage or at an awkward hour — a private transfer, and we will say so honestly rather than sell you one you do not need.
  • Wanting the coast — a car, with El Jadida or Oualidia written into the day.
  • Heading on north to Rabat and Tangier afterwards — stay on the rails. The Marrakech to Rabat route explains the station trap at the other end, and getting around Morocco draws the line on the map where trains stop being an option at all.

South and west of Marrakech is where we become useful — the road to Essaouira, the Tichka, the desert. This particular 240 km is not our leg, and pretending otherwise would be the fastest way to lose your trust.


Planning a route that mixes rail in the north with a car in the south? That is exactly the shape we build. Tell us the stages and we will tell you which ones need us.

Frequently asked questions

How far is Casablanca from Marrakech?

240 km by the A7 motorway. It is the flattest, straightest major road in Morocco — no pass, no bends, and almost nothing to look at.

How far is Marrakech from Casablanca by train?

The same 240 km, covered in about three hours. Asked the other way round — how far is Casablanca to Marrakech — the answer does not change, and neither does our advice: take the train.

How long is the train from Casablanca to Marrakech?

About three hours, sometimes three hours twenty depending on the service. Departures run through the day from Casa Voyageurs. It is the single easiest journey in the country and the reason we tell people not to book a car for this leg.

How far from Casablanca to Marrakech is it by road?

240 km on the motorway, or about 260 km if you come off at El Jadida and rejoin inland. Google Maps says 2h 20 for the motorway; count on three hours door to door once you add the tolls, the Casablanca exit and the Marrakech ring road.

How do I get from Casablanca airport to Marrakech?

Mohammed V airport has its own railway station under the terminal. Take the train to Casa Voyageurs and change there for Marrakech; some timetables show a through service. Total time is around four hours from landing. With an early flight, heavy luggage or small children, a private transfer is the honest exception.

Which Casablanca station do I need for Marrakech?

Casa Voyageurs. Casa Port is the other city-centre station and serves the Rabat and Kenitra shuttles, not Marrakech. If a taxi driver takes you to the wrong one you will lose an hour.

Is there a bus from Casablanca to Marrakech?

Yes. CTM and Supratours both run coaches, taking three and a half to four hours. They cost a little less than the train and take a little longer, so unless the timing suits you better, take the train.

How to get from Casablanca to Marrakech cheaply?

Second class on the train, booked at the station on the day. It is the cheapest comfortable option in Morocco and no advance fare hunting is needed — the price is the price.

Is the drive from Casablanca to Marrakech worth doing?

Only if you are stopping. The motorway itself is 240 km of flat scrub with two service areas. Break it at El Jadida for the Portuguese cistern, or at the Oualidia lagoon for oysters, and the day becomes worth having.

Both ends of this route

Let's plan your Morocco trip

Tell us your dates and interests. We reply personally, usually within a couple of hours.

usually within 2 hoursNo deposit to planLicensed tour guide

+212 670 162 180