Morning
- First departure
- ~5:50 AM
- Frequency
- Every 1–2 hours
- Journey time
- ~2 h 40 min
The Marrakech to Casablanca train is the easiest way to travel between Morocco's two best-known cities. Board in the pink-walled Red City, watch the Atlas foothills fade behind you, and arrive at Casablanca's Atlantic port in about 2 hours 40 minutes — no traffic, no hassle, and an air conditioned seat the whole way.
Whether this is a quick business trip or the next leg of a longer adventure around the country, this guide covers everything you need: the Al Atlas train, daily departures, first class vs second class, fares, tickets, stations and practical tips. Search fares above and book your train journey in a few minutes.
Search Train TicketsThe Marrakech to Casablanca train runs north across the heart of Morocco on a fully electrified line of about 245 km (152 mi). The fastest trip takes around 2 hours 40 minutes, and most departures arrive within 2.5 to 3 hours depending on stops. Every service is a direct train — no changes needed between the two cities.
Stops along the route
Departure from Marrakech station in Gueliz, behind its grand arched facade.
Phosphate town on the dry Rehamna plateau, home to a modern "green city".
Heart of the Chaouia — rolling wheat fields, gold in summer.
Market town on the edge of Greater Casablanca.
Southern Casablanca, handy for Oasis and Maarif.
Main hub — tram, airport train and onward trains north.
Times approximate; vary by departure.
Trains on this route run under Al Atlas, the intercity brand of Moroccan Railways (ONCF). Al Atlas trains are air conditioned, generally reliable, and offer two classes: first class and second class. Many services continue beyond Casablanca to Rabat, Fes or Tangier, so check that you get off at Casa Voyageurs.
Leaving Marrakech station, the train ride crosses the red-earth Haouz plain with the snow-capped High Atlas behind you. Further north, the countryside opens onto the Rehamna plateau around Ben Guerir, then the green wheat fields of the Chaouia near Settat before the outskirts of Casablanca appear.
A high-speed line extending Al Boraq service to Marrakech is under construction. Until it opens, the Al Atlas train remains the only rail option on this route.
Trains run daily from early morning to late evening, with departures roughly every 1 to 2 hours. The first train leaves Marrakech around 5:50 AM and the last around 9:00 PM, which makes it easy to plan a day trip or arrive in Casablanca in time for an evening flight or dinner.
Times change with seasonal timetables, so search your travel date above to see live departures. On weekends and around holidays such as Eid and the summer break, morning trains fill early — book in advance if your plans are fixed.
Every Al Atlas train offers two classes. The fare difference is small, so first class is worth it for most travelers who want a guaranteed seat and more space.
First class tickets come with an assigned seat, usually in an enclosed six-seat cabin or a quieter open carriage. Seats are wider and padded, there's more room for luggage, and first class carriages are air conditioned and more spacious. It's the comfortable choice on weekends, holidays and hot summer days.
Second class seats are first-come, first-served, with basic padded seats in open carriages. On busy departures you may have to stand for part of the trip or sit apart from your group. For a short, off-peak train ride it's a fine budget option.
| Feature | 1st class | 2nd class |
|---|---|---|
| Seat | Assigned | First-come, first-served |
| Layout | Enclosed cabins or open carriage | Open carriage |
| Comfort | Wider seats, more space | Basic padded seats |
| Air conditioned | Yes | Yes (can be weaker) |
| Typical fare | Higher fare | Lowest fares, from $31 |
| Best for | Weekends, families, luggage | Short off-peak trips, tight budgets |
Marrakech to Casablanca train tickets start from $31 one way. Fares depend on the class, the departure time and how far in advance you book, with first class costing more than second class. Search your date above to see live fares for every departure.
One way, from
$31
Live fares for 1st and 2nd class on every departure from Marrakech to Casablanca.
Check Fares & Book TicketsChildren aged 0–3 travel free (no seat of their own).
Children aged 4–10 travel at half fare.
Booking window: tickets usually open up to 3 months before departure.
Add a Casablanca to Marrakech return in the same search to plan both legs.
To book, use the search above: pick your date, choose first class or second class, and purchase in a few minutes on your phone — no operator app needed. Tickets are also sold at the station on the day, but popular trains on weekends and holidays can sell out, so booking ahead is the safer choice.
Both ends of the route are modern, central stations with cafés, ATMs and clear departure boards. Arrive 20 to 30 minutes before departure to find your platform without rushing.
Marrakech station sits in the modern Gueliz district, about 15 minutes by taxi from the medina and Jemaa el-Fnaa. Opened in 2008, its huge arched facade blends Moorish history with contemporary design, and inside you'll find cafés, snacks, ATMs and clear departure boards. Arrive 20 to 30 minutes before departure to find your platform without rushing.
Most trains arrive at Casa Voyageurs, Casablanca's main rail hub, rebuilt and reopened in 2018. It's the interchange for onward train travel to Rabat, Fes and Tangier, the airport train to Mohammed V International, and the city tram, which links the station to downtown, the Corniche and the port area.
Casa Port station sits near the old medina and Casablanca's port, a short ride from the Hassan II Mosque. Heading for a flight? Change at Casa Voyageurs for the airport train to Mohammed V International, which takes about 30–40 minutes.
The road distance between Marrakech and Casablanca is about 240 km on the A7 toll motorway. Driving can match the train on paper, but city traffic in Casablanca and parking costs cancel out that advantage. The train balances cost, speed and comfort best.
| Option | Journey time | Typical cost | Notes |
|---|---|---|---|
| Train (Al Atlas) | ~2 h 40 min | From $31 | City center to city center, no traffic |
| Car | ~2 h 30 min–3 h + traffic | Fuel + tolls + parking | Flexible, but tiring in Casablanca |
| Bus | ~3 h 30 min | ~90–120 MAD | Fewer departures, slower |
For safety, comfort and reliability, the train journey is the easiest choice for most travelers — you can sit back, enjoy the countryside and arrive rested.
A few small things make the journey from Marrakech to Casablanca smoother — from picking the right class to packing snacks.
Morning departures and first class seats go first, especially in summer.
Aim for 20–30 minutes before departure — Marrakech station is large and platforms are announced late.
You get an assigned seat and more space for bags; in second class, luggage racks fill fast.
A trolley service isn't guaranteed, so pick up water and snacks at the station café before boarding.
Inspectors check tickets on board, and you'll need it at the gates in Casa Voyageurs.
Many trains continue past Casablanca, so watch the signs for Casa Voyageurs.
Once you arrive, explore the Hassan II Mosque on the Atlantic, walk the Corniche at sunset, and wander the Art Deco streets downtown. Plenty of hotels sit within a short tram ride of Casa Voyageurs. Heading the other way? Marrakech is the gateway to the souks, riads and day hiking in the Atlas mountains — a perfect chance to see a different side of the country.
A vast mosque built over the Atlantic, one of the few in Morocco open to non-Muslim visitors on guided tours.
Seafront promenade with beach clubs, cafés and sunset views.
White 1930s facades around Boulevard Mohammed V and the Central Market.
Calm, arcaded souks for pastries, books and crafts.
Quick answers to the questions travelers ask most before booking.
The journey from Marrakech to Casablanca takes approximately 2 hours 40 minutes. Depending on stops, most trains take about 2.5 to 3 hours.
Yes. All trains run direct between Marrakech and Casablanca with no change needed. Most trains arrive at Casa Voyageurs station.
First class tickets offer an assigned seat, often in an enclosed cabin, with more comfort and space. Second class seats are first-come, first-served, with basic padded seats.
Most trains arrive at Casa Voyageurs, Casablanca's main interchange for connections to other cities, the airport train and the city tram.
The train journey covers about 245 km (152 mi) on a direct, electrified line.
Trains on this route are operated by ONCF, Morocco's national railway company, under its Al Atlas intercity brand.
Train tickets from Marrakech to Casablanca start from $31 one way. First class costs more than second class, and fares vary by departure and how early you book.
Trains run regularly throughout the day, approximately every 1 to 2 hours. The first train departs Marrakech around 5:50 AM and the last around 9:00 PM.
Children aged 0–3 travel free on trains. Children aged 4–10 travel at half fare.
Yes. Trains are air conditioned and generally on time, which makes the route one of the most reliable in Morocco.
Booking usually opens 3 months before departure — book ahead for weekends and holidays. Arrive at the station 20 to 30 minutes before departure.
Pick your date, choose your class and book in minutes.
Book Tickets