

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).
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.
Al Boraq high-speed trains take about 45 minutes, while TNR shuttle trains take about 55 minutes to 1 hour. The longest journey with transfers can take up to 2 hours 41 minutes.
Yes. Booking sites list around 11 daily direct train departures from Rabat to Casablanca, and ONCF also runs frequent shuttle services.
Al Boraq is the fastest way, taking about 45 minutes from Rabat Agdal to Casa Voyageurs.
Train tickets are cheap and cost between €3 and €7, or approximately 35 Dh per person for a second-class shuttle.
A 1st class seat costs a little more than second class and gives you more legroom and a quieter carriage.
Departure boards show your platform about 10–15 minutes before trains depart. Arrive early to catch your train without stress.
Casa Port is closer to downtown Casablanca than Casa Voyageurs. Casa Voyageurs is the main station for Al Boraq and long-distance trains.
Rabat Ville train station is in the center of the capital city, within walking distance of the historic medina, with easy access to the tramway. Al Boraq leaves from Rabat Agdal.
The A1 highway offers a direct route and the drive takes about 1 hour. Private taxi rides cost between €80 and €100, and shared grand taxis and CTM buses are cheaper options.
CTM buses are budget-friendly but slower than the train, especially with Casablanca traffic.
Casablanca has a vibrant nightlife scene with diverse bars, and its nightlife offers more options than Rabat's. Rabat is quieter at night.
Yes. Rabat is a UNESCO World Heritage Site known for its royal history, and the Kasbah of the Udayas is part of it.
The Kasbah of the Udayas and its Andalusian Garden offer beautiful views of the sea in Rabat, and the Hassan II Mosque and the Corniche overlook the Atlantic in Casablanca.
Visit the Hassan II Mosque on the Atlantic Ocean, the Corniche, the Art Deco Grande Poste, the old medina and Morocco Mall, Africa's largest shopping mall.
Both cities feature a blend of Arab, Amazigh, Andalusian and French cultural influences, and Casablanca's name comes from the Portuguese "Casa Branca."
Rabat is often viewed as safer and less overwhelming than Casablanca, but normal travel precautions apply in both cities.
Yes. With trains under an hour, a day trip from Rabat to Casablanca is easy and enjoyable, though you do not necessarily need to rush: one night in each city lets you see more.
Yes. Casablanca's Mohammed V airport is Morocco's main international hub, with flights to Europe, Africa, the Middle East and Asia.
One platform, 34+ destinations, 700+ routes around the globe.
We speak your language and offer over 20 payment methods.
Read authentic Rail Ninja reviews and see what our travelers say about us.
You can conveniently book train tickets for up to a year in advance!
Need a hand? Contact our customer support before or during your trip.