How to get from Marrakech to Casablanca?
The Marrakech Casablanca distance is 240 kilometers by road, or 220 kilometers in a straight line. That is the practical answer, but not the useful one, because how long the trip actually takes and how much it costs depends entirely on which of the five ways to travel you pick.
The ONCF train covers it in about 2 hours 40 minutes for as little as 49 dirhams (roughly $5 US). A private transfer with a driver in a sedan runs closer to 2,300 dirhams ($230). A CTM bus falls in the middle. Driving yourself on the A7 motorway takes about 3 hours if you avoid Casablanca rush hour. A grand taxi costs less than the bus but crams six adults into a Mercedes.
This guide covers every option with real 2026 prices, actual station locations, a section on the specific airport-to-Marrakech transfer problem most travel guides skip, what the upcoming Al Boraq high-speed extension changes for trips after 2029, and which choice works best for families traveling with kids.
Quick takeaways
- Distance: 240 km by road via the A7 motorway, 220 km as the crow flies.
- Fastest option: ONCF Al Atlas train, 2h 39m to 3h, roughly hourly departures.
- Cheapest option: 2nd class train from 49 MAD (~$5 US), or grand taxi around 80-100 MAD per seat.
- Most comfortable for families: Private transfer or 1st class train.
- Bus travel: CTM and Supratours run 3-3.5 hours for 90-130 MAD.
- Driving time: 3 to 3.5 hours on the toll motorway, longer with Casablanca traffic.
- Coming soon: Al Boraq high-speed rail extension due end of 2029, will cut the train trip to about 90 minutes.
How to get from Marrakech to Casablanca?
The best way to get from Marrakech to Casablanca is the ONCF Al Atlas train, which runs roughly hourly, takes 2 hours 40 minutes city center to city center, and costs 49 to 200 MAD ($5 to $20 US) depending on class and how far ahead you book. No traffic, no highway anxiety, and both stations sit close to the main tourist neighborhoods.
Trains leave Marrakech train station in Guéliz and arrive at Casa Voyageurs, the main Casablanca station. From Marrakech station, a petit taxi to Jemaa el-Fna costs 15 to 25 MAD (about $2 US). From Casa Voyageurs, taxis and the city tram both reach the center in under 15 minutes.
The two exceptions where a different option makes more sense:
If you land at Mohammed V Airport (CMN) and want to go straight to Marrakech, take the airport train to Casa Voyageurs, then transfer to the Marrakech service. Allow 45 minutes minimum for the platform change. There is no direct train from CMN to Marrakech.
If you have four or more travelers with luggage, a private transfer often works out cheaper per person and dramatically easier logistically. Rates start around 2,000 MAD ($200) for four to six people, door to door.
Practical takeaways:
- Book 1st class for 100-200 MAD ($10-20) if you want a reserved seat and quieter carriage
- Use oncf-voyages.ma to buy tickets online in advance; weekend fares fill up
- Arrive 20 minutes early at the station; ONCF trains generally run on time
- Bring snacks and water; there is no food cart on this line as of August 2026
- Book the private transfer if you are traveling with three or more children or heavy luggage
For families booking a longer Morocco itinerary, Morocco Vacation Planner includes this transfer as part of custom private tours, with pickup at CMN airport and drop-off at your riad in Marrakech.
The Marrakech Casablanca distance in numbers
The Marrakech Casablanca distance breaks down three different ways depending on how you measure it. Straight line, the two city centers sit 220 kilometers apart. By the A7 motorway, the road distance is 240 to 247 kilometers depending on your exact start and end points. By ONCF rail track, the route measures 240 kilometers.
The straight line matters if you are flying between the two, which some travelers do occasionally to save time. Casablanca (CMN) and Marrakech (RAK) both have airports, though the flight (35 minutes air time) is almost never worth it once you add security, transfers, and airport waits. Total door-to-door time by air often exceeds the 3-hour train option.
The A7 motorway is the practical driving route. It runs south from Casablanca through Berrechid, Settat, and Kelaa des Sraghnas, then into Marrakech from the north. Traffic is generally light outside Casablanca rush hours (7-9 am and 5-7 pm), and the road quality is good. Toll cost is about 80 MAD ($8 US) each way, plus fuel.
For scale, the distance is roughly:
- The same as London to Paris by rail (about 220 miles / 350 km, with the Channel Tunnel section)
- Slightly less than New York to Boston by road (about 215 miles / 350 km)
- Comparable to Barcelona to Valencia on the AVE train in Spain
If you are planning a Morocco itinerary, this stretch rarely feels like a long trip. Most travelers do it comfortably as a day journey with time for a meal on either end.
The airport-to-Marrakech logistics problem no one explains properly
Most travel guides skip this, and it catches families out constantly. Mohammed V International Airport (CMN) sits about 30 km south of Casablanca city center. It has its own train station attached to the terminal, but that station does not serve trains to Marrakech directly.
Here is what actually happens when you land at CMN and want to reach your Marrakech riad.
Option 1: Airport train to Casa Voyageurs, then transfer to Marrakech train
- Airport train (ONCF Aéroport line) departs every 40 minutes to Casa Voyageurs
- Journey to Casa Voyageurs takes 30-40 minutes, costs about 43 MAD ($4 US)
- At Casa Voyageurs, cross to the Marrakech platform (usually 5-10 minutes)
- Wait for next Marrakech departure (average wait 15-40 minutes)
- Marrakech train: 2h 40m, 49-139 MAD
Total time: 4 to 5 hours from landing to arriving at Marrakech train station. Add another 15 to 30 minutes for the taxi to your riad. Total transfer cost per person: about 90 to 180 MAD ($9 to $18 US), plus taxis at each end.
Option 2: Grand taxi from the airport to Casa Voyageurs, then train
Grand taxis outside the airport charge 250-350 MAD ($25-35) to Casa Voyageurs. Faster than the airport train if it just left, but not by much. Same onward train journey.
Option 3: Direct private transfer from CMN to Marrakech
- 3-3.5 hours door to door, no changes
- Cost: 2,000-2,500 MAD ($200-250) for a sedan (1-3 passengers), 2,800-3,000 MAD ($280-300) for an SUV or van (4-6 passengers)
- Driver meets you at arrivals with a sign, handles luggage, direct to your riad address
- No walking with luggage, no station navigation
For families with kids, jet-lagged after an overnight flight, arriving at CMN in the early morning, Option 3 is usually worth the money. You are paying to skip the two-station transfer with tired children.
For solo travelers or couples without checked bags, Option 1 works fine and saves money.
One detail not clear from most guides: the airport train has luggage racks but no dedicated luggage compartment. Full suitcases plus a stroller becomes awkward. The Marrakech-Casablanca mainline trains have proper luggage space at each carriage end.
10-day Morocco family tour
Imperial cities · High Atlas · one night under Saharan stars. Family-paced, private driver, kid-tested stops.
Taking the ONCF train from Marrakech to Casablanca
The ONCF train is the option most travelers choose, and for good reason. Modern, air-conditioned, punctual by regional standards, and cheap. Here is what you need to know.
Service name: Al Atlas (the standard intercity service on this route; the Al Boraq high-speed brand runs only on the Tangier-Casablanca corridor for now).
Departures: Roughly hourly from about 6 am to 9 pm, both directions. Around 10 direct services per day.
Journey time: 2 hours 39 minutes to 3 hours, depending on exact service. Some trains stop at Ben Guerir; others run non-stop.
Stations:
- Marrakech end: Marrakech train station on Avenue Hassan II in the Guéliz district. Petit taxis to Jemaa el-Fna cost 15-25 MAD.
- Casablanca end: Casa Voyageurs is the main station. Casa Port is smaller and closer to the old medina but serves fewer direct departures on this route.
Ticket prices (August 2026, verify at oncf-voyages.ma):
- 2nd class: 49-139 MAD ($5-14 US)
- 1st class: 100-200 MAD ($10-20 US)
Prices are variable based on how far ahead you book. Advance purchases can hit the lower end; last-minute weekend tickets touch the upper end. First class gets you a reserved seat, a quieter carriage, and slightly wider seating. For a 3-hour trip with kids, the extra 60-80 MAD is worth it.
How to book: The ONCF website (oncf-voyages.ma) accepts international cards. Alternately, 12Go.asia sells the same tickets with a small booking fee but in cleaner English. In-person purchases at the station work but weekend departures can sell out.
Practical tips from someone who has done this trip a dozen times:
- Buy snacks and water at the station kiosks before boarding. No food cart operates on the Al Atlas line as of 2026.
- Charging outlets are inconsistent. Bring a full battery.
- Sit on the left side heading to Casablanca for late afternoon light on the olive groves, and in clear weather, a distant view of the Atlas Mountains behind you as you leave Marrakech.
- Trains generally arrive on time. Delays of 15-20 minutes happen but are not the norm.
- The Marrakech Casablanca distance by rail is comfortable for kids as young as three, provided they have snacks and a distraction.
For families, book two seats facing each other with a fold-out table between them (available in 1st class). Kids can spread out coloring books, snacks fit on the table, and there is space for a small stroller in the aisle rack.
CTM and Supratours buses
The CTM bus is the second most common option after the train. Slightly cheaper, slightly slower, more legroom than 2nd class rail. Both CTM and Supratours run this route reliably.
Journey time: 3 to 3.5 hours via the A7 motorway. CTM buses take one short rest stop at a highway service area, usually about 15 minutes.
Prices (August 2026):
- CTM Casablanca-Marrakech: 90-130 MAD ($9-13 US)
- Supratours: similar, roughly 40 MAD per 100 km
- Baggage: 1 carry-on plus 1 checked bag (up to 20 kg) included; extra bags 20-30 MAD
Stations:
- Marrakech end: CTM station on Avenue Hassan II in Guéliz, right next to the train station. Convenient for onward transfers.
- Casablanca end: CTM station on Rue Leon l’Africain, near Casa Voyageurs. Petit taxi from the city center to the station runs about 20 MAD.
Booking: Online at ctmbus.com or in person at either station. Weekend evening buses sell out; book 24-48 hours ahead if you are flexible with times, or 3-5 days ahead for holiday periods (Eid al-Fitr, Eid al-Adha, and summer weekends).
Reasons to choose the bus over the train:
- Slightly cheaper for the same class of comfort
- Aggressive air conditioning (bring a sweater)
- Bus stations sometimes closer to your accommodation than the train stations
- Assigned seats, no fighting for space
Reasons to choose the train over the bus:
- Faster by 20-40 minutes
- More frequent departures
- Slightly smoother ride
- Both stations centrally located in each city
- Easier to move around during the trip (walk the aisle, use the bathroom)
For families with kids, the train usually wins. The ability to walk around and access the bathroom without asking the driver to stop matters more than most parents realize on a 3-hour ride.
Grand taxis and shared transport
Grand taxis are the Moroccan shared taxi system: usually old Mercedes 240D sedans that fit 6 paying passengers plus the driver (three in the back seat, three in the front). They run between fixed points on set routes, leaving whenever they fill up.
Cost from Casablanca to Marrakech: About 100-130 MAD per seat ($10-13 US). Buy an entire taxi to yourself for 600-800 MAD ($60-80) if you want privacy.
Journey time: 2.5 to 3 hours on the A7 motorway. Grand taxis often drive faster than buses because there are no scheduled stops.
Pickup points: The main grand taxi rank in Casablanca for Marrakech is near the Ouled Ziane bus station in the south of the city. In Marrakech, the grand taxi station for Casablanca is at Bab Doukkala.
Pros:
- Cheap on a per-seat basis
- Faster than buses
- No fixed schedule; leaves when full (usually every 20-40 minutes on this popular route)
Cons:
- Tight quarters. Six adults in a Mercedes 240D is not comfortable for 3 hours.
- No air conditioning in most vehicles, or unreliable AC
- No luggage compartment beyond a small trunk
- Not family friendly for anyone with car seats or small kids
- The negotiation for buying an entire taxi can be confusing for first-time visitors
Grand taxis suit budget travelers who want to save money and do not mind the cramped ride. Families almost never use them for this distance. If you want a shared-cost option with more comfort, the CTM bus is a better fit for the same price range.
Private drivers and transfers
A private transfer is the top choice for families with young kids, groups with heavy luggage, and travelers who want to stop for photos or a meal along the way.
Need help with transportation in Morocco?
Book a reliable private driver for your Morocco family adventure today — personalised routes designed just for you.
Typical costs (August 2026):
- Sedan (1-3 passengers): 2,000-2,500 MAD ($200-250 US)
- SUV or minivan (4-6 passengers): 2,800-3,000 MAD ($280-300)
- Minibus (7-16 passengers): 4,500-5,500 MAD ($450-550)
Rates include the driver, fuel, tolls, and pickup from your hotel or the airport. Some include bottled water and Wi-Fi. Booking through an agency runs slightly higher than negotiating directly with a driver but comes with insurance and reliability.
Journey time: 3 to 3.5 hours, sometimes faster if traffic is light. A private driver can pause at a highway service area for a coffee, or take a longer detour if you want to see a small town along the way.
When a private transfer makes sense:
- Families with kids under 6: You need car seats, flexible stops, and no station chaos
- Groups of 4 or more with luggage: Per-person cost equals or beats train first class
- Late arrivals at CMN: After 10 pm, train frequency drops; a driver is often the only real option
- First-time visitors: A driver who speaks English helps orient you before you hit the medina
When it does not make sense:
- Solo travelers or couples on a budget (train wins clearly)
- Travelers wanting the local experience (grand taxi or bus is more authentic)
- Backpackers on a tight itinerary (train is cheaper and just as fast)
Booking through a specialist like Morocco Vacation Planner covers the pickup, luggage handling, and drop-off at your specific riad address, which matters in the medina where addresses are notoriously hard to find without a driver who knows the neighborhood.
Driving yourself: the A7 motorway
Renting a car and driving yourself between Casablanca and Marrakech is straightforward for confident drivers, not so much for anyone nervous about foreign roads.
The route: A7 motorway, southbound from Casablanca, direct to Marrakech. Signage is in Arabic and French. GPS works well; Google Maps and Waze both give accurate routing.
Distance: 240-247 km depending on start and end points.
Time: 3 to 3.5 hours in normal conditions. Add 30-60 minutes for Casablanca traffic if departing on a weekday morning.
Tolls: The A7 is a toll motorway. Total from Casablanca to Marrakech is about 80 MAD ($8) one way. Pay in cash or with the T-Pass electronic system.
Speed limits: 120 km/h on the motorway, 100 km/h on some sections, 60 km/h approaching cities.
Fuel: Diesel and unleaded widely available at motorway service stations. Prices around 12-15 MAD per liter as of August 2026.
Rental car costs: 250-400 MAD per day ($25-40) for a small car, 500-700 MAD ($50-70) for a mid-size SUV. International Driving Permit required alongside your home license.
When self-driving is worth it
- If you are continuing beyond Marrakech to Essaouira, Agadir, or the desert
- If you want stopping flexibility (Berrechid, Settat lunch, other stops)
- If you speak French or basic Arabic to handle any highway situation
When to skip self-driving
- First trip to Morocco (start with driver-provided transport)
- Traveling with young kids in car seats (rentals rarely have proper ones)
- Arriving late at night, jet lagged
- Anxious about defensive driving in traffic
Morocco’s traffic culture is aggressive by European standards. Lane discipline is loose. Trucks pass on the right. Motorbikes weave. Roundabouts confuse first-timers. On the motorway, this all eases up. In city traffic, it does not.
What changes with the Al Boraq high-speed extension

Morocco is currently building an extension of its Al Boraq high-speed rail from Kenitra through Casablanca to Marrakech. King Mohammed VI formally launched construction on April 24, 2025, and the completion target is the end of 2029, before the 2030 FIFA World Cup (Morocco is co-hosting with Spain and Portugal).
When it opens, this will change the Marrakech Casablanca distance calculation dramatically for travelers.
What the extension will do:
- Cut the Casablanca-Marrakech train time from 2h 40m to about 1h 30m
- Reduce Tangier-Marrakech to about 2h 40m (currently over 6 hours)
- Run trains at speeds up to 320 km/h on new dedicated track
- Total new line length: 430 km (Kenitra to Marrakech)
- Six platforms serving 10 tracks at the new Casablanca Sud station
- Expected annual passengers on high-speed rail: 7.2 million once complete
What this means for planning trips now (2026-2029):
- Trip planning stays the same. The Al Atlas train remains the practical Casablanca-Marrakech option
- Some rail infrastructure work may cause short-term delays in 2028-2029 as new sections come online
- Nothing in your booking process changes until the new service launches
- If your trip is scheduled for 2030 or later, expect a much faster journey
What this does not change:
- The road distance (still 240 km via A7)
- Bus and driver options
- The airport-to-Marrakech transfer problem, unless the new line adds a direct airport stop
- Prices for other transport modes
For travelers booking a Morocco trip in the next three years, the current train option is still the way to go. Once the extension opens, the Marrakech-Casablanca train will become one of the fastest intercity connections in Africa.
12 & 14-day grand family tours
Add Chefchaouen, the Atlantic coast, or two nights in the dunes. Slow mornings, shorter drives, room for grandparents and toddlers.
Best option for families with kids
Every family’s answer is slightly different, but a few patterns hold across the hundreds of family trips a private tour operator handles each year.
For families with toddlers or babies
Private transfer wins by a wide margin. You need car seats (bring your own or request in advance), unrestricted stops for diaper changes and feeding, and no station chaos with jet-lagged little ones. Cost: 2,000-3,000 MAD depending on vehicle size.
For families with kids aged 4-10
Train in 1st class is the sweet spot. Reserved seats mean you can put your family across a fold-out table setup. Kids like the motion, the window views, and the freedom to walk to the bathroom without asking. Cost: 400-600 MAD for a family of four.
For families with tweens and teens
Train in either class. Older kids handle 2nd class fine. Give teens the aisle seat with a phone charger, and the trip is peaceful. Cost: 200-500 MAD for a family of four.
For multi-generational trips with grandparents
Private transfer, particularly for the initial airport pickup. Elderly travelers often struggle with the station transfers, especially after long international flights. The extra 1,000 MAD is negligible against the ease it buys.
For families arriving late at night at CMN
Private transfer, no question. Trains after 8 pm become rare. A driver meeting you at arrivals with your name on a sign is the difference between a smooth first day and a rough one.
The exception where the train beats everything, even for families: the ride is genuinely part of the fun. Kids remember the train more than the drive. If you have flexibility and your kids handle transit well, the train wins on experience.
What to do in Casablanca with a half day
A lot of travelers do this trip as a day connection and want to see Casablanca in the few hours between arriving at the airport and departing on the train. Here is what actually fits.
If you have 4-6 hours in Casablanca:
- Hassan II Mosque (1-2 hours including tour): One of the largest mosques in the world, and the only one in Morocco open to non-Muslim visitors. Tours run in English several times daily. Entry 130 MAD.
- Corniche walk (30-60 minutes): The waterfront promenade with cafes and views of the Atlantic
- Rick’s Cafe (1 hour for a drink or meal): Inspired by the 1942 film Casablanca. Overpriced but atmospheric.
- Old Medina (30 minutes): Small and less impressive than Marrakech or Fes, but worth a quick walk if time permits
If you have less than 3 hours, skip the city entirely. Take the airport train directly to Casa Voyageurs and connect to Marrakech.
Where to store luggage: Casa Voyageurs has a small luggage storage. Fees around 20-40 MAD per bag per day. The Hassan II Mosque area has cafes that will watch a bag for a small tip during your tour.
Casablanca is not the tourist highlight most first-time visitors imagine. Marrakech, Fes, Essaouira, and the desert all deserve more time. The city is a modern business hub with pockets of architectural interest. Fine for a stop, not worth extending your itinerary for.
Practical travel tips
A few last practical notes for anyone crossing this route for the first time.
Timing:
- Avoid Friday afternoons (weekend prayers and rush combined)
- Avoid Sunday evening returns to Marrakech (locals coming back from Casablanca weekend visits)
- Book Christmas and Easter train tickets 4-6 weeks ahead
- Ramadan changes bus schedules; verify times if traveling during the holy month
Money:
- ATMs at Casa Voyageurs and Marrakech train station work with international cards
- Dirhams are the only accepted currency for tickets, food, and taxis; do not rely on cards for small purchases
- Bring small bills (20, 50, 100 MAD) for petit taxis and station snacks
- Tipping drivers on private transfers is customary: 100-200 MAD for good service
Health and safety:
- Both cities are safe for tourists during daylight hours in central areas
- Petty theft happens at crowded stations; keep your bag in front of you
- Water: buy bottled at station kiosks; tap water is safe in both cities but travelers sometimes react
- Bathrooms at Casa Voyageurs and Marrakech train station cost 2 MAD; bring coins
Cell phones and Wi-Fi:
- Buy a local SIM card at the airport (Maroc Telecom, Orange, Inwi all sell tourist packages 100-200 MAD)
- Train Wi-Fi is unreliable; downloaded entertainment for kids is better
- Google Maps works in both cities; offline maps recommended
Final thoughts on the Marrakech Casablanca route
The Marrakech Casablanca distance of 240 km is one of the easiest intercity trips in Morocco, and the number of options makes planning simple once you know which fits your travel style. Trains handle solo travelers, couples, and small families well. Private transfers earn their price for larger groups, jet-lagged arrivals, and anyone with heavy luggage. Buses split the difference on comfort and cost. Grand taxis are the budget local option.
For most travelers landing at Casablanca and heading to Marrakech to start their Moroccan adventure, the private airport transfer works best on arrival day, and the train works best for any day trips back to Casablanca during your stay. The 3 hours pass quickly in either direction.
By 2029 or 2030, the Al Boraq high-speed extension will halve the train journey time. Until then, plan for 3 hours transit each way and enjoy the ride through the flat plains south of Casablanca into the palm-lined outskirts of Marrakech.
Morocco Vacation Planner designs Private Family Tours in Morocco for Kids, Teens & Toddlers. Plan your perfect family trip to Morocco with custom private tours built for families traveling with toddlers, kids, and teens. You get family friendly experiences, trusted local guides, and handpicked comfortable stays from the medinas all the way to the Sahara. Airport pickup at Casablanca and drop-off at your Marrakech riad is included in every itinerary.
FAQs
How long is the train journey from Marrakech to Casablanca?
The ONCF Al Atlas train from Marrakech to Casablanca takes 2 hours 39 minutes to 3 hours depending on the specific service. Some trains stop briefly at Ben Guerir; others run non-stop. Trains depart roughly hourly from about 6 am to 9 pm, with around 10 direct services per day between Marrakech train station and Casa Voyageurs.
What is the price of a taxi from Marrakech to Casablanca?
A private taxi transfer from Marrakech to Casablanca costs 2,000 to 2,500 MAD ($200-250 US) for a sedan (1-3 passengers). SUVs and vans cost 2,800-3,000 MAD ($280-300) for 4-6 passengers. A shared grand taxi runs 100-130 MAD per seat but crams six passengers into a Mercedes 240D and is not comfortable for families.
When will the Casablanca-Marrakech TGV run?
The Al Boraq high-speed extension linking Kenitra, Casablanca, and Marrakech is scheduled to open by the end of 2029, before the 2030 FIFA World Cup. Construction was formally launched by King Mohammed VI on April 24, 2025. Once open, the trip will take about 1 hour 30 minutes at speeds up to 320 km/h.
What are the CTM bus schedules from Marrakech to Casablanca?
CTM buses run multiple times daily between Marrakech and Casablanca, taking 3 to 3.5 hours via the A7 motorway with a short rest stop midway. Tickets cost 90-130 MAD ($9-13 US) and can be booked online at ctmbus.com or at either bus station. Weekend evening buses sell out fastest, so book 24-48 hours ahead when possible.
What is the best way to get from Casablanca to Marrakech?
For most travelers, the ONCF Al Atlas train is the best way to get from Casablanca to Marrakech. It takes 2h 40m, costs 49-200 MAD, runs hourly, and connects both city centers. Families with young kids or travelers arriving at CMN airport late at night should consider a private transfer instead. The Marrakech Casablanca distance is covered comfortably in about 3 hours by any of the mainstream options.




