Merzouga Glamping logo
An orange and white ONCF electric locomotive pulling passenger carriages into Marrakesh railway station under a clear blue sky

Planning · 12 min read

Casablanca to Marrakech: Train, Private Transfer, Bus & Driving

Every way to travel from Casablanca (and Mohammed V airport) to Marrakech: ONCF train times and fares, private transfers, CTM buses, driving the A3 motorway, flights and day trips.

Published 24 November

Quick answer

Distance
About 240 km
On the A3 toll motorway
ONCF train
2 h 40 – 3 h
Direct from Casa Voyageurs (~100–160 MAD)
Private transfer
2 h 30 – 3 h
Door-to-door; fastest from CMN airport
CTM bus
3 h 30 – 4 h
Frequent coaches (~100–160 MAD)

Need a driver? We can arrange your transfer — message us on WhatsApp.

Most long-haul flights to Morocco land in Casablanca, while most travellers want to start their holiday in Marrakech. The good news is that the two cities are only about 240 km apart, linked by a direct railway and a modern toll motorway.

From central Casablanca, the ONCF train is usually the easiest and best-value choice (2 h 40 to 3 hours from Casa Voyageurs). From Mohammed V International Airport (CMN), a private transfer is noticeably faster because there is no direct airport train to Marrakech. This guide compares every option — train, airport connection, private transfer, rental car, bus, grand taxi and flight — in both directions.

All ways from Casablanca to Marrakech at a glance

OptionTotal timeTypical priceBest for
ONCF train (from Casa Voyageurs)2 h 40 – 3 h100–160 MAD 2nd class (from 49 MAD booked early); 150–215 MAD 1st classSolo travellers and couples already in central Casablanca
ONCF train (from CMN airport)3 h 45 – 4 h 30 (with change)180–220 MAD 2nd class; 260–295 MAD 1st classDaytime airport arrivals on a budget with light bags
Private transfer (car or van)2 h 15 – 3 h door to doorAbout €130–200+ per vehicle (often €45–75 per person in a group)Airport arrivals, families, groups, heavy luggage, night arrivals
Rental car (A3 motorway)2 h 30 – 3 hCar rental + ~80–90 MAD tolls + ~200–250 MAD fuelRoad trips continuing to the Atlas Mountains, Essaouira or the Sahara
CTM or Supratours bus3 h 30 – 4 h100–160 MAD + small luggage feeWhen trains sell out or if staying near the bus station
Shared grand taxi2 h 30 – 3 h (plus wait)80–120 MAD per seatLast-minute budget travel with minimal luggage
Domestic flight (CMN → RAK)45–50 min air (3.5–4 h total)Usually €70–180+ one wayOnly if booked on one international through-ticket

Indicative fares and journey times checked in November 2026. ONCF train fares vary by date and availability.

By train: the ONCF Al Atlas from Casa Voyageurs

Morocco’s national railway, ONCF, runs direct Al Atlas trains between Casablanca and Marrakech roughly once an hour from early morning (around 06:35) until late evening (around 22:45). Most direct trains take between 2 hours 40 minutes and 3 hours, stopping at towns such as Berrechid, Settat and Ben Guerir.

One common myth online: the Al Boraq high-speed train does not serve Marrakech yet. Al Boraq links Tangier, Kenitra, Rabat and Casablanca; the high-speed extension south to Marrakech is under construction and planned for the end of the decade. Until then, Al Atlas is the regular direct service.

Make sure you go to the right station. Direct Marrakech trains leave from Casa Voyageurs (Casablanca’s main modern hub) and also call at Casa Oasis in the south of the city. They do not leave from Casa Port near the harbour — that station serves commuter trains to Rabat and the airport shuttle.

  • Second class (standard): typically 100–160 MAD (~€9–15) depending on how early you book. Discounted non-flexible Yalla fares start from 49 MAD when bought well in advance.
  • First class: typically 150–215 MAD (~€14–20). Worth the small extra cost for wider seats, guaranteed seat numbers and quieter compartments.
  • How to buy: online at oncf-voyages.ma (tickets sent as a PDF/QR code) or at the ticket windows and machines in the station. Book a few days ahead for Fridays, Sundays and Moroccan holidays.
  • Luggage: overhead racks and end-of-car spaces hold standard suitcases, though there is no porter service on board.
Modern glass roof and platforms of Casa Voyageurs railway station in Casablanca with ONCF trains waiting beside the clock tower
Casa Voyageurs is Casablanca’s main departure station for direct trains to Marrakech.Sambasoccer27 · CC BY-SA 4.0

What to expect when you arrive in Marrakech

Gare de Marrakech is bright, clean and easy to navigate, with cafés, cash machines and a taxi rank directly outside the main arch. Cars cannot drive through the narrow alleys of the old medina, so a taxi will drop you at the nearest gate or square.

If you are staying inside the medina, ask your riad beforehand which landmark or gate to give the driver — or have them send someone with a luggage trolley to meet you. It turns your first ten minutes in Marrakech from stressful into effortless.

Terracotta facade and arched entrance of Marrakech railway station under a bright blue sky
Gare de Marrakech sits in Guéliz, a short taxi ride from the old medina.Maarten Wasmoeth · CC BY-SA 4.0

From Casablanca Mohammed V Airport (CMN) to Marrakech

Mohammed V International Airport sits about 30 km south of central Casablanca — right beside the A3 motorway heading to Marrakech. That geography matters when you choose between the train and a private car.

There is no direct train from the airport to Marrakech. If you take the train, you walk down to the station in the basement (level -1) of Terminal 1, ride the airport shuttle north for 30–40 minutes to Casa Oasis or Casa Voyageurs (about 50 MAD in 2nd class), wait for the next Al Atlas departure, and ride back south past the airport towards Marrakech.

Once you include waiting for the hourly shuttle and the connection, the airport train journey typically takes 3 hours 45 minutes to 4 hours 30 minutes (about 180–220 MAD total in 2nd class), plus 60–90 minutes for passport control and baggage claim. By contrast, a private driver meets you in arrivals and drives straight south onto the motorway, reaching Marrakech in about 2 hours 15 to 2 hours 45 minutes.

  • Allow at least 1 h 30 min between your flight landing and any pre-booked train — immigration queues at CMN can take 45–60 minutes.
  • Airport shuttle trains generally run roughly hourly from about 06:50 to 22:50; late-evening flights often miss the last onward train to Marrakech.
  • If you land after 20:00, travel with children, or carry large suitcases, a direct private transfer saves both a station change and an overnight stop in Casablanca.
Palm trees and travellers walking outside the white curved terminal exterior of Casablanca Mohammed V International Airport
Mohammed V Airport sits south of Casablanca, directly beside the motorway to Marrakech.Sharon Hahn Darlin · CC BY 2.0

Private transfer: door to door on the motorway

A pre-booked private transfer is the smoothest way to travel between Casablanca (or CMN airport) and Marrakech. A driver meets you at the arrivals hall with a name sign — or at your Casablanca hotel — helps with bags and takes you straight down the A3 motorway to your Marrakech hotel or closest medina gate.

For a solo traveller, a private car costs much more than a train ticket. For two to four people splitting the vehicle, or anyone landing after a long-haul flight, the comfort, fixed price and two hours saved make it very good value. Most drivers are happy to pause for coffee or toilets at a motorway service station on the way.

  • Check whether the price is per vehicle or per person before booking.
  • Confirm that motorway tolls, fuel, air conditioning and airport waiting time are included.
  • Share your flight number for airport pickups so the driver tracks delays automatically.
  • Confirm child seats in advance if you are travelling with young children.

Driving yourself on the A3 motorway

Driving from Casablanca to Marrakech is one of the easiest road trips in Morocco. Almost the entire 240 km follows the modern, dual-carriageway A3 toll motorway south via Settat and Ben Guerir, taking 2 hours 30 minutes to 3 hours in normal traffic.

Expect motorway tolls of roughly 80–90 MAD (~€8) for a standard car, payable in cash (dirhams) or by bank card at the toll booths, plus around 200–250 MAD in fuel depending on the car. Clean service stations with fuel, cafés and toilets appear regularly along the route.

Renting a car at Casablanca airport makes sense if you plan to explore beyond Marrakech — for example Essaouira, the Atlas Mountains or driving all the way to our desert camp in Merzouga. If you only plan to stay inside Marrakech for a few days, skip the car: traffic around the medina is busy and parking is paid and awkward.

  • Speed limit is 120 km/h on the motorway and drops quickly to 60 km/h near exits and city limits; police radar checks are common.
  • Carry small dirham notes and coins for tolls and guarded car parks.
  • If returning the car in Marrakech instead of Casablanca, check the rental company’s one-way drop-off fee before booking.
Wide modern Moroccan toll motorway curving past olive trees and red-earth hills under a clear blue sky
Morocco’s toll motorways are smooth, well signposted and easy to drive.Abdeaitali · CC BY-SA 4.0

By bus (CTM and Supratours) or shared grand taxi

CTM runs dozens of daily air-conditioned coaches between Casablanca and Marrakech from early morning until midnight, taking about 3 hours 30 minutes to 4 hours. Standard fares usually run around 100–160 MAD (~€9–15), plus a small checked-luggage fee of around 5–10 MAD per bag paid at the luggage desk.

When trains are full — common on Friday evenings, Sunday afternoons and around Islamic holidays — CTM and Supratours are reliable, comfortable backups. Tickets can be booked online at ctm.ma or bought at the bus station.

Shared grand taxis also run between cities for roughly 80–120 MAD per seat, departing only once all passenger seats are filled. With little space for large suitcases and fixed-fare trains and buses available all day, grand taxis are rarely worth it for visitors on this route.

Reclining black leather seats inside an air-conditioned CTM intercity coach in Morocco
CTM coaches offer assigned, air-conditioned seating when trains are sold out.Hamza Izourane · CC BY-SA 4.0

Flying from Casablanca (CMN) to Marrakech (RAK)

Royal Air Maroc operates short domestic flights between Casablanca Mohammed V (CMN) and Marrakech Menara (RAK), taking about 45–50 minutes in the air. On paper that sounds fastest, but in practice airport security, boarding, luggage claim and taxis at both ends stretch the trip to 3.5–4 hours — slower than a private transfer and no faster than the train, at a much higher fare.

There is one clear exception: when your international airline sells the Casablanca–Marrakech hop on the same ticket. Your luggage is checked through to Marrakech and the airline protects your connection if your long-haul flight arrives late.

A Royal Air Maroc jet parked at the gate at Casablanca Mohammed V International Airport under a bright sky
Domestic CMN–RAK flights make the most sense on a single international through-ticket.MBurch · CC BY-SA 4.0

Marrakech to Casablanca: planning the return trip

Every option works the same way in reverse. Direct ONCF trains leave Gare de Marrakech for Casa Voyageurs roughly every hour, taking 2 hours 40 minutes to 3 hours. Private transfers pick you up at your Marrakech hotel or nearest medina gate and drop you straight at Casablanca hotels or Mohammed V Airport terminals.

If you are heading from Marrakech straight to CMN for an international flight home, build in plenty of buffer. By private transfer, leave Marrakech at least 5.5 to 6 hours before departure (2.5–3 hours on the road plus 3 hours for international check-in and passport control). By train, add an extra 1.5–2 hours for the station change at Casa Oasis or Casa Voyageurs — or travel to Casablanca the afternoon before if you have a morning flight.

Casablanca vs Marrakech — and can you do it as a day trip?

Travellers often ask whether to stay in Casablanca or Marrakech, or visit one from the other in a single day. The two cities feel completely different: Casablanca is Morocco’s modern Atlantic business capital — one night is usually enough to see the monumental Hassan II Mosque, the Habous quarter and the seafront Corniche. Marrakech is the historic red city of souks, palaces, gardens and rooftop riads, where two or three nights fly by.

A day trip works in either direction if your time is tight. From Casablanca, taking the early 06:35 train or joining a 10–12 hour guided day tour gives you a solid taste of the Koutoubia Mosque, Bahia Palace, Jemaa el-Fnaa and the souks. In reverse, a guided day trip from Marrakech to Casablanca focuses on the Hassan II Mosque and the Atlantic coast without changing hotels.

Wide sunlit marble courtyard of Bahia Palace in Marrakech bordered by blue and white tilework and carved arches
Bahia Palace in Marrakech is a highlight on both overnight stays and guided day trips from Casablanca.Val Traveler · CC BY-SA 4.0

Guided day trips between Casablanca and Marrakech

Partner links: if you book through GetYourGuide we may earn a small commission, at no extra cost to you. Tours are run by independent operators.

Continuing from Casablanca and Marrakech to the Sahara

For many visitors, Marrakech is only the halfway point on the way to the golden dunes of Erg Chebbi in Merzouga. Once you reach Marrakech from Casablanca, you have two simple ways to add the Sahara to your itinerary:

  1. 1

    Option 1 · Marrakech first, then a 3-day or 4-day desert trip

    Spend two nights in Marrakech, then cross the High Atlas via Aït Ben Haddou, the Dades Valley and Todra Gorge to Erg Chebbi — by guided tour, private driver or rental car.

  2. 2

    Option 2 · Loop straight from Casablanca to Marrakech via Fes and Merzouga

    If you have 4 to 6 days, head east from Casablanca through Rabat and Fes to Merzouga, sleep in the dunes, and finish in Marrakech without repeating the same road twice.

Silhouette of the Koutoubia minaret and palm trees against a deep orange sunset sky in Marrakech
Marrakech is the natural gateway to the High Atlas and the Sahara dunes of Merzouga.Daniel Csörföly · CC BY-SA 3.0

Planning a Sahara stay at Merzouga Glamping

Merzouga Glamping is a family-run luxury desert camp at the foot of the Erg Chebbi dunes. Every private tent has an ensuite bathroom plus air conditioning in summer and heating in winter running day and night. You can drive a normal car straight to our camp, and every stay includes dinner, breakfast, a sunset camel ride and sandboarding.

All-inclusive stays start from €70 per person per night (€85 for a single tent). After we confirm your dates, a 20% deposit is paid in euros by PayPal with free cancellation up to 5 days before arrival, and the remaining balance is paid at the camp by card in dirhams or in cash (euros or dirhams).

Planning your route from Casablanca or Marrakech to Erg Chebbi? Tell us your dates and we will help you put the journey and desert stay together.

Check availability

Transport, tour and photo notes

Train schedules, motorway tolls and bus fares were checked in November 2026 against ONCF, ADM and CTM published information; prices and timetables vary by season and date, so confirm live times on oncf-voyages.ma or ctm.ma before you travel. Hand-picked GetYourGuide transfers and tours were verified on 24 November 2026.

Frequently asked questions

How far is Casablanca from Marrakech?+

Casablanca and Marrakech are about 240 km apart by road via the A3 motorway. Driving or taking a private transfer takes roughly 2 hours 30 minutes to 3 hours, and the direct ONCF train takes about 2 hours 40 minutes to 3 hours.

Is there a direct train from Casablanca Airport (CMN) to Marrakech?+

No. You take the airport shuttle train from level -1 of Terminal 1 to Casa Oasis or Casa Voyageurs (about 30–40 minutes), then change onto a direct Al Atlas train to Marrakech. Including the wait, allow 3 hours 45 minutes to 4 hours 30 minutes.

Does the Al Boraq high-speed train go from Casablanca to Marrakech?+

Not yet. Al Boraq currently runs between Tangier, Kenitra, Rabat and Casablanca. The high-speed extension to Marrakech is under construction; until it opens, regular ONCF Al Atlas trains serve the route.

Which train station in Casablanca goes to Marrakech?+

Direct trains to Marrakech depart from Casa Voyageurs (and stop at Casa Oasis). Do not go to Casa Port for Marrakech — Casa Port is for Rabat commuter trains and the airport shuttle.

How much does a private transfer from Casablanca to Marrakech cost?+

A private car or minivan typically costs around €130–200+ per vehicle depending on vehicle size and whether pickup is at Mohammed V Airport or a city hotel. Split between three or four travellers, it is often close to €45–75 per person.

Is the train or a private transfer better from Casablanca to Marrakech?+

The train is cheaper and very easy if you are already in central Casablanca with light bags. A private transfer is faster and much easier if you land at Mohammed V Airport, travel with family or heavy luggage, or arrive late in the evening.

Can I continue from Marrakech to a Sahara desert camp in Merzouga?+

Yes. Marrakech is the main starting point for 3-day and 4-day tours to Erg Chebbi, or you can drive yourself over the High Atlas — our camp at Merzouga Glamping is reachable by normal car. You can also book a 4–5 day loop straight from Casablanca through Fes and Merzouga to Marrakech.

Stay with us in Merzouga

Private ensuite tents with air conditioning and heating, dinner and breakfast, the sunset camel ride and sandboarding — all included.

Request availability

Book your stay

Ready to sleep under the Sahara sky?

Tell us your dates and who is travelling. We reply personally, usually within a few hours, with availability and a plan for your stay.