Planning a trip between Morocco’s two most famous cities? The Casablanca to Marrakech journey is one of the country’s busiest routes — a 240 km stretch that connects the economic capital with the cultural heart of the kingdom.
You have three main ways to make the trip: train, bus, or car. This guide compares cost, travel time, comfort, and convenience for each so you can pick the option that fits your travel style and budget. Whether you’re chasing the fastest route or the cheapest, by the end you’ll know exactly what to book.
Key takeaways
The ONCF train is the fastest and most consistent option (2h 39m–3h 20m) with fares as low as 49 MAD when booked early.
CTM and Supratours buses are budget-friendly (3h–4h) but slower; CTM offers better comfort.
Driving the A3 highway gives maximum freedom (2.5h–3h) but costs more solo; ideal for groups of 3 or more.
Book train tickets 30 days ahead on the ONCF app for the best prices; bus tickets open 7–14 days prior.
Contents
How far is Marrakech from Casablanca?
The straight-line distance is about 240 km (150 miles), and the road and rail distance is roughly 246 km. The A3 highway connects the two cities, and the train line runs right alongside it. Because the journey is short, multiple transport modes work well — which is why a proper comparison helps.
As you travel, you’ll cross the Chaouia plains and enter the Marrakech-Safi region, with changing landscapes along the way. The train service makes two intermediate stops. Now that you know the distance, let’s explore each option in detail, starting with the most popular.
A few hours to spare in Casablanca? Consider a quick stop at the Hassan II Mosque and the Corniche before heading to the station — both are a short taxi ride from Casa Voyageurs.
Taking the train from Casablanca to Marrakech
The train is the most balanced option for most travellers. ONCF (Office National des Chemins de Fer) runs the service, and it’s fast, comfortable, and affordable.

ONCF schedules and frequency
Trains depart from Casa Voyageurs station in Casablanca (some also leave from Casa Port, but Casa Voyageurs is the main one for Marrakech). They arrive at Gare de Marrakech, about 1 km from Jemaa el-Fna square. Trains run every 1–2 hours, with 8–12 departures daily. The first train leaves around 6:00 AM, and the last around 10:00–11:00 PM.
Travel time ranges from 2 hours 39 minutes to 3 hours 20 minutes — the average is about 2h 45m to 3h. The same schedule applies for the return, as the Marrakech to Casablanca train follows the same frequency.
Morning departures between 6:00 and 9:00 AM are the most reliable and the least crowded. Evening trains fill up with commuters heading home.
Ticket prices and classes
ONCF offers two classes. Standard one-way fares are:
- 2nd Class: about 98 MAD (roughly $10 USD)
- 1st Class: about 155 MAD (about $15–16 USD)
Book online in advance and fares can drop as low as 49 MAD for 2nd class. Some third-party sites show higher prices (181–325 MAD) with fees; official ONCF prices are the ones to trust. 1st Class gives you reserved seating, wider seats, more legroom, and quieter carriages. 2nd Class is open seating — first come, first served — much cheaper, and perfectly fine for a journey this short.
For current schedules and to book directly, visit the official ONCF website.
The train experience
All trains are air-conditioned — a big plus in Morocco’s heat. They’re generally clean and well-maintained. A snack trolley passes through selling drinks, sandwiches, and small bites. WiFi is not reliably available, so download entertainment before you board. ONCF trains are known for punctuality. Luggage goes on overhead racks or in storage areas at the ends of carriages. The best advantage? The train drops you right in central Marrakech, so you avoid extra transfers or parking headaches.
Taking the bus from Casablanca to Marrakech
The bus is the budget-friendly choice. Two main operators run the route: CTM and Supratours.

Companies and routes
CTM is the more premium option, known for reliability and comfort. Its buses leave from CTM’s dedicated station in Casablanca. Supratours is often slightly cheaper and is operated by ONCF as a rail-replacement service; some Supratours buses depart from the Casa Voyageurs area. Both offer direct routes. In Marrakech, CTM arrives at its own station closer to the centre, while Supratours uses the main bus station.
Schedules, times and costs
- Travel time: 3 to 4 hours, depending on traffic and stops.
- Frequency: multiple departures daily from early morning to evening.
- Ticket prices: typically 80–140 MAD for standard tickets, more commonly 170–260 MAD depending on operator, class, and advance booking. CTM is more expensive than Supratours.
- Booking: available online via CTM or Supratours, or at the station. Book ahead in peak season.
Comfort and amenities
- Seating: reclining seats with reasonable legroom (CTM wider).
- Air conditioning: yes, but variable — bring a light layer.
- WiFi: inconsistent; some CTM buses have it.
- Bathroom: some buses have onboard toilets; not all — ask at check-in.
- Luggage: 1–2 bags in the hold, typically a 20–30 kg limit.
Check schedules directly: real-time timetables and online booking are on the CTM site and the Supratours site.
Driving from Casablanca to Marrakech
Driving gives you maximum freedom. Here’s the route, costs, and the honest pros and cons.

The route: A3 highway vs. local roads
The main route is the A3 highway (Casablanca–Marrakech expressway). It’s a toll road — expect to pay about 60–80 MAD one way. The road distance is about 240 km, and driving time is 2.5 to 3 hours in good traffic. The alternative is the N9 national road, which runs parallel — free but slower (3.5–4 hours), with more towns and potential traffic. The scenery passes through the Chaouia plains and semi-arid landscapes near Marrakech. Toll stations accept cash and credit cards.
Rental costs and practicalities
- Rental price: 200–400 MAD per day ($20–40 USD) for a small to mid-size car from major agencies.
- Fuel: about 150–200 MAD round-trip (roughly 8L/100km at ~15 MAD/L).
- Total for a day trip: 400–600 MAD plus tolls — compared to about 196 MAD round-trip on the train in 2nd class.
- Insurance: get comprehensive cover; check whether your credit card includes CDW (Collision Damage Waiver).
- Documents: valid driver’s licence (an international driving permit is recommended), passport, credit card.
Parking in the Marrakech medina is a headache. If your riad doesn’t offer parking, aim for a guarded lot near Bab Doukkala or Koutoubia and expect to pay 20–30 MAD per night.
Pros and cons of self-driving
Pros:
- Ultimate flexibility — stop where you want, explore smaller towns, carry unlimited luggage.
- Cost per person drops sharply with 3 or more passengers.
Cons:
- Traffic in Casablanca and Marrakech can be chaotic.
- Navigation takes attention — GPS is essential.
- Parking in Marrakech is difficult and expensive.
- Driver fatigue after a long day.
The A3 highway is well-maintained and safe for tourists. Stick to main roads and avoid driving at night in rural areas. The distance is easily managed in under 3 hours by car.
Train vs. bus vs. car
Here’s a quick side-by-side to help you decide.
| Category | Train (ONCF) | Bus (CTM/Supratours) | Car (rental) |
|---|---|---|---|
| Travel time | 2h 39m – 3h 20m | 3h – 4h | 2.5h – 3h |
| Price one-way, per person | 49–98 MAD (2nd) to 155–181 MAD (1st) | 80–260 MAD | 200–400 MAD/day + 150–200 MAD fuel + 60–80 MAD tolls |
| Comfort | A/C, spacious seats, snack trolley | A/C, reclining seats (CTM better) | Full control, but driver can’t relax |
| Flexibility | Fixed schedule | Fixed schedule, fewer departures | Leave anytime, stop anywhere |
| Luggage | No strict limits | 1–2 bags in hold | Unlimited |
| Best for | Solo travellers, couples, speed & ease | Budget travellers, train backup | Groups of 3+, families, side trips |
Practical tips for your journey
Booking tickets in advance
- Train: book on the ONCF website or app for the best advance fares (as low as 49 MAD). Tickets are also sold at Casa Voyageurs. The booking window opens 30 days ahead.
- Bus: book via CTM or Supratours. Walk-up tickets are usually available but can sell out in peak periods. Bus tickets open 7–14 days ahead.
- Common mistakes: not checking the departure station (Casa Voyageurs vs. Casa Port for trains); not arriving early (15–20 minutes before departure is sensible).
Best time to travel
- Time of day: morning departures (6:00–9:00 AM) are the most reliable and least crowded.
- Day of week: weekdays (Mon–Thu) are quieter than weekends. Friday afternoon is especially busy with locals travelling.
- Peak seasons: summer (June–August) is hot but less crowded; spring (March–May) and autumn (September–November) are busiest with tourists.
- Avoid: the last train of the night (around 10:00 PM) — it can be crowded and less reliable.
What to do with extra time at the stations
- Casa Voyageurs (Casablanca): small cafés, snack kiosks, seating areas and ATMs. Limited shopping but clean facilities.
- Gare de Marrakech: larger and more modern — a café, small shops, free WiFi. It’s a 10–15 minute walk or short taxi to Jemaa el-Fna.
- A better arrival: if you get in early, walk to Jemaa el-Fna rather than taking a taxi. It’s a pleasant introduction to the city.
Planning what to do once you arrive? Browse the Marrakech destination guide for neighbourhoods, sights, and where to stay, or see all our activities across Morocco — from cooking classes to hot-air balloon rides.
The train remains the most popular and convenient choice for most travellers on this route — the best balance of speed, comfort, and price. The bus wins on budget or when trains are sold out. The car is ideal for groups or anyone wanting to detour into the Atlas or along the coast. All three are valid; the right choice depends on what you’re doing on either side of the ride.
Reserve your spot
Book your Marrakech experience
Once you’ve arrived, make the most of it. These tours and activities offer instant confirmation and free cancellation on most bookings.
Instant confirmation
Free cancellation on most tours
Some links on this page earn ComeMorocco a commission at no extra cost to you. It never changes what we recommend. How this works.
Questions
01What is the fastest way to travel from Casablanca to Marrakech?
The ONCF train is the fastest and most consistent option, at 2h 39m to 3h 20m. Driving the A3 highway can match this time (2.5–3 hours), but it depends heavily on traffic entering and leaving the two cities.
02How much does the train from Casablanca to Marrakech cost?
Standard one-way fares are 98 MAD in 2nd class and 155 MAD in 1st class. Booking 30 days ahead on the ONCF app can drop 2nd class fares to as low as 49 MAD. Avoid third-party sites that add fees.
03Is the bus or train better for Casablanca to Marrakech?
The train is better for speed, comfort, and reliability. The bus (CTM or Supratours) is cheaper but takes 3–4 hours and can be slowed by traffic. Choose the train unless you’re on a strict budget or trains are sold out.
04Do I need an international driving permit to rent a car in Morocco?
An international driving permit (IDP) is highly recommended alongside your valid home licence. Most rental agencies and police checkpoints expect it. It’s inexpensive and avoids a lot of hassle if you’re pulled over.
05Which station does the train arrive at in Marrakech?
The train arrives at Gare de Marrakech, about 1 km (a 10–15 minute walk) from Jemaa el-Fna. Petits taxis are readily available outside the station if you have heavy luggage.
06Can I buy train tickets on the day of travel?
Yes — tickets are sold at Casa Voyageurs on the day. But 2nd class is open seating and trains fill up at peak times. For guaranteed seats and the best price (as low as 49 MAD), book online 30 days ahead.
07What’s the best way to get from Marrakech station to my riad?
If your riad is near Jemaa el-Fna, walking (10–15 minutes) is the most pleasant option. For riads deeper in the medina or with heavy luggage, take a petit taxi (red) from the station rank — agree the price before you set off, typically 30–50 MAD. Some riads offer pickup; confirm in advance.
Your Morocco trip
Ready to explore Marrakech?
Book your experiences with instant confirmation and free cancellation on most tours. Arrive with a plan, and leave room for the moments you can’t book.
