background

Rabat to Casablanca Trains

30
Oct
Return

Departure Schedule

Morning departures

Fastest trip1 hrs 5 min
Longest trip2 hrs 28 min
Earliest05:25
Latest11:56
Departures20

Afternoon departures

Fastest trip1 hrs 5 min
Longest trip2 hrs 41 min
Earliest12:34
Latest17:56
Departures18

Evening departures

Fastest trip1 hrs 5 min
Longest trip1 hrs 43 min
Earliest18:34
Latest20:34
Departures5

Night departures

Fastest trip1 hrs 5 min
Longest trip1 hrs 9 min
Earliest21:34
Latest22:36
Departures2

Travelling from Rabat to Casablanca by Train

The fastest way to travel from Rabat to Casablanca is by train, with journeys from about 45 minutes to 1 hour over a distance of 88 km. This guide is for anyone planning the trip, from business travelers commuting between Morocco's capital city and its economic hub to tourists building a Morocco itinerary, and it covers schedules, stations, ticket prices and the main attractions so you know what to expect and can choose the best option. Trains on the Rabat–Casablanca railway route are run by ONCF, Morocco's national railway, and two types of service operate here. Al Boraq, Africa's first high-speed train, launched on 15 November 2018 and offers the fastest trip, running from Tangier and Kenitra through Rabat Agdal to Casa Voyageurs. TNR shuttle trains depart from both Rabat Ville train station, in the city center, and Rabat Agdal, and arrive at Casa Voyageurs and Casa Port train station, which is closer to downtown Casablanca than Casa Voyageurs. Booking sites list around 11 daily direct train departures from Rabat to Casablanca, and most popular trains take 55 minutes to 1 hour, while the longest journey with transfers can take up to 2 hours 41 minutes. Train tickets are cheap and cost between €3 and €7, or approximately 35 Dh per person for a shuttle in second class. If you want more legroom and a quieter carriage, pay a little more for a 1st class seat, and on Al Boraq every ticket includes a seat reservation, whether you choose a second or first class seat. Peak hours for trains are typically early morning and late afternoon, when early a.m. trains and commuter services can be packed, so pick a quieter departure to relax on board. Choose your travel date, compare the range of fares, and book Al Boraq in advance on weekends, holidays and during the summer months. Shuttle tickets can usually be bought at the station on the day, and departure boards show your platform about 10–15 minutes before you depart. If your plans change, contact ONCF or check the app for exchange rules. Cash is often preferred for small purchases in Morocco, especially for local transport, and local taxis usually prefer payment in dirhams (MAD).

Rabat to Casablanca trains Information

Rabat
88 km
1 h 5 m
Shortest travel time:
$26
Lowest ticket cost:
45
Avg. daily departures:
05:25
Earliest departure:
22:36
Latest departure:

When you visit Casablanca, you arrive in Morocco's economic hub and largest city, with over 3.5 million inhabitants. Its name comes from the Portuguese "Casa Branca," and its history blends Arab, Amazigh, Andalusian and French cultural influences. The main attractions include the Hassan II Mosque, set on the Atlantic Ocean with beautiful views of the coast, the old medina, the Art Deco buildings of the French era such as the Grande Poste, the main post office, and the Corniche seafront with its restaurants and beach clubs. Casablanca also has Morocco Mall, Africa's largest shopping mall, and its Mohammed V airport links Morocco with Europe, Africa and Asia. The city has a vibrant nightlife scene with diverse bars and clubs, and Casablanca's nightlife offers more options than Rabat's, so it is the best choice if you want to party at night. At the moment, the train is the fastest way to travel between the two cities, but there are alternatives. The A1 highway offers a direct route between Rabat and Casablanca, and the drive takes about 1 hour, though traffic when arriving in Casablanca can add a lot more time. Private taxi rides from Rabat to Casablanca cost between €80 and €100, shared grand taxis are another option, and CTM buses are budget-friendly but slower than the train. A high-speed extension from Kenitra to Marrakech via Rabat and Casablanca has been under construction since April 2025 and will complete the high-speed link between Morocco's main cities.

Popular questions about trains from Rabat to Casablanca

Extensive Network

One platform, 34+ destinations, 700+ routes around the globe.

Convenient Booking

We speak your language and offer over 20 payment methods.

Excellent Rating

Read authentic Rail Ninja reviews and see what our travelers say about us.

Flexible Planning

You can conveniently book train tickets for up to a year in advance!

Real Human Support

Need a hand? Contact our customer support before or during your trip.