Casablanca to Marrakech Trains

The train from Casablanca to Marrakech covers approximately 240 kilometers and takes around 2 hours 40 minutes to 3 hours, with up to 10 daily departures throughout the day. ONCF operates all services via Al Atlas trains, with most departures from Casa Voyageurs station. Second class tickets cost 49–139 MAD, first class ranges from 120–200 MAD. Tickets can be purchased online or at the station — booking in advance is recommended as seats sell out quickly, especially on weekends. By comparison, driving takes 3.5–4 hours and a bus takes 4+ hours, making the train the fastest and most convenient option between the two cities.

Morocco trains are a modern marvel that can transport passengers from Casablanca to Marrakech in less than 2 hours, while the regular train takes about 3. This route has one of the most picturesque views. Hence, be sure to have unforgettable journey during your train ride. Make sure you book your tickets in advance as they get sold out quickly.

Casablanca to Marrakech Train Timetable

Casablanca to Marrakech Railway Route

Traveling by train is one of the best ways to explore Morocco. The country has a vast history and culture with many different cities that are all worth exploring. One of the most interesting routes you can take is from Casablanca to Marrakech via train, since this route will lead you through mountains, valleys, and desert landscapes which are marvelous.

The Moroccan train system is a great way to see the country and get from place to place. It's also one of the most affordable modes of transportation in Morocco. The Al Atlas train, which runs from Casablanca to Marrakech, is a good option for travelers wanting something more.
You can expect your journey to be comfortable and enjoyable with both the Economy Class Seat and 1st Class Seats.

Al Atlas and ONCF Trains

Enhance your Morocco discovery taking Al Atlas high-speed train. Enjoy the utmost comfort and services adapted to your expectations. Al Atlas Trains serve Casablanca – Marrakech route, making it one of the most comfortable rides. Relax with wonderful onboard amenities, including an air-conditioning system, special luggage areas, power outlets, and comfortable seats. Fast speed guarantee your trip onboard the Al Atlas train will be unforgettable. Besides, travelers can between two travel classes, which is a great opportunity to adjust the trip to your preferences. We recommend you arrive at the platform at least 20 minutes before the scheduled departure time in order to get your tickets checked before boarding.

ONCF operates all train services between Casablanca and Marrakech, with up to 10 daily departures from Casa Voyageurs station. Air conditioning is available in both first and second class, and trains feature large windows for scenic views of the Moroccan landscape along the way. There is no dedicated dining car, but a trolley service offers snacks and beverages for purchase.

First Class and Second Class Tickets

The price for your ticket will depend on your travel date (is it a weekend or a regular day), when are you buying your tickets (in advance or last-minute) and your travel class. Usually, the Economy Class Seat price starts from $34 per ticket, and from $40 per ticket for a First Class Seat.

Second class tickets cost 49–139 MAD and offer comfortable seating with air conditioning. First class tickets range from 120–200 MAD and include allocated seating, more space, and ample legroom — a great option for longer trips. Both classes have large windows for picturesque views along the way.
After booking a ticket, you will be assigned to one of the seats. You can download the PDF of the tickets to print them or show on your electronic device when boarding a train.

How to Book Train Tickets from Casablanca to Marrakech

Tickets can be purchased online at oncf-voyages.ma or at the station. Booking tickets in advance is recommended, especially during holidays and weekends. First class seats can be reserved up to a month ahead, and mid-morning departures tend to offer cheaper fares.
Casablanca Train Stations
Most trains depart from Casa Voyageurs station in Casablanca. Travelers from Casablanca Airport can connect via a short train ride to Casa Voyageurs and catch their onward service to Marrakech. Casa Port station is a smaller alternative near the city center but serves fewer direct departures. Arriving passengers reach Marrakech Train Station in the Guéliz district, with taxis readily available.
Casablanca and Marrakech: Popular Routes in Morocco
The Casablanca to Marrakech route is one of the most popular routes on Morocco's rail network. From Casa Voyageurs you can also reach Tangier, Fez, and Rabat by train. The ONCF network offers reliable, modern services connecting all major cities across the country.

Casablanca to Marrakech Train Details

Departing from

Casa Port Train Station

​Address: Boulevard de Fes, Casablanca 20250, Casablanca, Morocco

Arriving at

Marrakech Train Station

Address: Centre Guéliz Gare ONCF Marrakech، 40100, Morocco

Try the new Rail Ninja App today
Get our free app to book & manage your trips on the go
Rail Ninja App

FAQ: Casablanca to Marrakech Train

Related Routes

Casablanca - Tangier Train

Distance: 246 km

Time: 2.5 h

Marrakech - Casablanca ​Train

Distance: 246 km

Time: 2.5 h

Marrakech - Rabat Train

Distance: 334 km

Time: 3.5 h

Rabat - Marrakech Train

Distance: 334 km

Time: 3.5 h