Marrakech to Casablanca: Car, Train, Bus or Flight?

29 November 2026 · 6 min read · By Car Hire Marrakech

Silhouette of the Hassan II Mosque at sunset over the Atlantic in Casablanca

For one or two people going to central Casablanca, the ONCF train is usually best: about 2 hours 40 from Marrakech to Casa Voyageurs, with trains roughly every hour. By car it is about 240 km on the A7 motorway, 2 hours 30 to 3 hours, with a toll of under 100 MAD and roughly 210 to 240 MAD of diesel each way. A car wins for groups, luggage or stops on the way. There is no high-speed train to Marrakech yet: the line is due in 2029.

Key facts
DistanceAbout 240 km on the A7 motorway
By car2 h 30 to 3 h; toll under 100 MAD for a car, check ADM[3]
Fuel (economy diesel)About 210 to 240 MAD each way at Nov 2026 prices[4]
By train (ONCF)About 2 h 40 to Casa Voyageurs, roughly hourly; classic Al Atlas trains[1]
High-speed lineKenitra–Marrakech LGV 30% built in May 2026, due September 2029[2]
Best forTrain for city centre trips; car for groups, luggage and stops

Marrakech to Casablanca: the quick comparison

The two cities are linked by a fast motorway and a busy railway, so there is no bad way to make the trip. What suits you depends on where you start, where you need to end up and how many of you there are.

Times below are typical door-to-door or station-to-station figures. Fares change, so treat any price as a rough guide and check before you travel.

  • Car: about 240 km, 2 h 30 to 3 h on the A7, plus tolls and fuel. Door to door, flexible, best for two or more people
  • Train (ONCF): about 2 h 40 from Marrakech station to Casa Voyageurs on classic Al Atlas trains, roughly every hour.[1] Easy and relaxing
  • Coach: around 3 h 30 to 4 h with the national coach companies, usually the cheapest option
  • Flight: under an hour in the air, but with check-in, security and transfers it ends up slower than driving

Driving the A7 motorway

From Marrakech, follow the signs for the autoroute towards Casablanca. The A7 heads north across the plain, past Benguerir and Settat, to Berrechid, where it meets the motorway network around Casablanca. It is a dual carriageway all the way, generally in very good condition and less busy than you might expect outside holiday weekends.

The limit is 120 km/h,[5] and radar checks are common, especially near the toll plazas and approaching Casablanca. Service areas with fuel, cafés and toilets appear at regular intervals, so there is no need to leave the motorway for a break.

Tolls are paid at the exit and depend on distance. For a car, the Marrakech to Casablanca toll is under 100 MAD; figures published in 2026 range from about 85 to 95 MAD, and rates are revised from time to time, so check the ADM website or app. Cash in dirhams is accepted at every plaza, cards only in some lanes, and euros not at all.[3] Keep small notes and avoid the lanes marked Jawaz only. Our guides to toll motorways and Jawaz and fuel, tolls and parking explain how the booths work. For an economy diesel car using about 5.5 litres per 100 km, budget roughly 210 to 240 MAD of fuel each way, or 420 to 480 MAD for the return trip, with diesel at about 16.2 to 16.8 MAD a litre in mid-November 2026.[4]

Coming the other way, from Casablanca to Marrakech, the drive is the same in reverse: follow the signs for Marrakech from the city ring road and the motorway takes you all the way to the northern edge of Marrakech, about 15 minutes from Gueliz. The last half hour crosses the Haouz plain with the High Atlas ahead, snow-capped in winter.

Planning this trip? Check the cars for your dates.Free cancellation • No credit card required • Pay on arrival

Get quote

Train, coach or flight: when they make more sense

The ONCF train is the obvious alternative. Trains leave Marrakech station in Gueliz and arrive at Casa Voyageurs, with many continuing to Casa Port, close to the old medina and a short taxi ride from the Hassan II Mosque. First class gives you a reserved seat and is worth the small extra at busy times. Second-class fares now vary, with cheaper advance tickets and dearer flexible ones,[1] so book ahead on the ONCF app or website; our guide to buying ONCF tickets shows how. The Al Boraq high-speed line does not reach Marrakech yet: the Kenitra–Marrakech extension was about 30% built in May 2026 and is due to open in September 2029, when Casablanca airport station should be 55 minutes from Marrakech.[2] See Al Boraq and Marrakech.

Coaches leave from their own stations in Marrakech and arrive in central Casablanca. They take a little longer than the train but often cost less, and they are comfortable on this route. Our guide to CTM and Supratours compares the two companies.

Flights between Marrakech and Casablanca exist mainly as connections for international journeys (see domestic flights from Marrakech). If you are catching a long-haul flight from Casablanca, it can be simpler to drive or take the train straight to the airport, which has its own station.

Getting to Casablanca Mohammed V airport

Mohammed V airport (CMN) lies at Nouaceur, about 30 km south of central Casablanca, so you reach it before the city. From Marrakech it is roughly 210 km and around 2 hours 15 on the motorway: leave the A7 near Berrechid and follow the signs for the airport.

Remember that a hire car from Marrakech cannot simply be left at Casablanca airport unless that has been agreed with the company in advance. If you are flying out of Casablanca at the end of a stay, the train from Marrakech, with a change for the airport line, is often the easiest last leg.

Driving and parking in Casablanca

Casablanca is a big, busy city. Expect dense traffic at rush hour, large roundabouts where everyone pushes in, trams with priority on several boulevards and plenty of scooters. Drive calmly, keep your distance and let your phone's navigation choose the lane well before junctions. Uber has operated in Casablanca since November 2025 if you would rather leave the car at your hotel.[6]

Street parking in the centre is either in paid zones with meters or watched by attendants in high-visibility vests, who are paid when you leave. For longer visits, an underground or guarded car park is more relaxing. Never leave bags or phones on view.

At the Hassan II Mosque, there is parking close to the esplanade, and the mosque runs guided tours for non-Muslim visitors at set times outside prayer hours. Check the current schedule before you go. The Corniche at Aïn Diab, a few kilometres west along the coast, has easy parking by the seafront cafés and beach clubs.

For a short visit, the Habous quarter, a 1930s new medina with bookshops and pastry shops, and the art deco buildings around Boulevard Mohammed V are easy to combine with the mosque. Parking near the Habous is watched by attendants, and the old medina by the port is best explored on foot.

A day trip or a return trip with our cars

Our cars are delivered and collected only in Marrakech, Essaouira and Agadir, so Casablanca works as a return trip: a long day out, or one or two nights before driving back. A same-day visit means about 5 to 6 hours of motorway driving in total, which is perfectly manageable if you start early and limit yourself to the mosque, the Corniche and a walk around the centre.

Any car in our fleet is comfortable on the A7. A Renault Clio 5 or Hyundai i20 automatic from €25 a day takes the strain out of city traffic, while a Dacia Duster gives more room for a family. Insurance, unlimited mileage and a second driver are included, so the two of you can share the motorway. See our car hire in Marrakech page or our automatic car hire options, then get a quote for your dates. If you are planning a wider tour, our Morocco road trip itinerary shows how Casablanca fits into a longer loop.

Frequently asked questions

How long does it take to drive from Marrakech to Casablanca?
About 2 hours 30 to 3 hours for roughly 240 km on the A7 motorway. Allow longer if you arrive in Casablanca at rush hour.
What is the best way to get from Marrakech to Casablanca?
For one person heading to the city centre, the train is simple and good value. For a family or group, or if you want to stop on the way or explore beyond the centre, a car is more practical and often cheaper per person.
How much is the toll from Marrakech to Casablanca?
Under 100 MAD each way for a car, with 2026 figures of about 85 to 95 MAD, paid at the exit booth. Rates change from time to time, so check the ADM website or app and carry small notes.
Is the train from Marrakech to Casablanca faster than driving?
The two are similar, at about 2 hours 40 by train against 2 hours 30 to 3 hours by car. The train wins for the city centre, the car for door-to-door trips. The high-speed line to Marrakech is not due until 2029.
Can I do Casablanca as a day trip from Marrakech?
Yes. It means 5 to 6 hours of driving in total, or about 5 h 20 of train travel, so leave early and focus on a few sights such as the Hassan II Mosque and the Corniche.

See the price for your dates in seconds.Free cancellation • No credit card required • Pay on arrival

Get quote

Sources

  1. Train travel in Morocco, The Man in Seat 61 (accessed 2026-11-21)
  2. LGV Kénitra-Marrakech: le chantier atteint 30% d'avancement, Le360 (accessed 2026-11-21)
  3. Morocco toll roads: Jawaz, rates and payment, TollGuru (accessed 2026-11-21)
  4. Carburants: le gasoil et l'essence repartent à la baisse ce lundi 16 novembre, Finances News Hebdo (accessed 2026-11-21)
  5. Autoroutes of Morocco, Wikipedia (accessed 2026-11-21)
  6. Uber in Morocco, Uber Newsroom (accessed 2026-11-21)

Related guides