Casablanca and Rabat are Morocco’s economic and political capitals, separated by just 90 km along the Atlantic coast. The The Ultimate way from Casablanca to Rabat depends on what you value most—speed, cost, comfort, or flexibility—but for most travelers, the train is the clear winner. This guide breaks down every option, compares them honestly, and gives you step-by-step instructions so you can choose with confidence.
Key Takeaways
- The ONCF train is the fastest and most comfortable option for most travelers, with frequent departures and a direct city-center-to-city-center route.
- The CTM bus is the most budget-friendly choice, though it takes longer and offers less schedule flexibility.
- Driving a rental car gives you maximum freedom but adds costs for tolls, fuel, and parking in Rabat.
- A private taxi or ride-hailing service is the most convenient door-to-door option, but at a premium price.
- Your “best” option depends entirely on your priorities: speed, cost, comfort, flexibility, or baggage.
Quick Answer: The train is the best way from Casablanca to Rabat for most travelers because it combines a roughly one-hour journey with frequent departures and central stations in both cities.
The Complete Answer: The Train Is the Best Way from Casablanca to Rabat for Most Travelers

A vibrant depiction of the recommended train route connecting Casablanca and Rabat.
Why the Train Wins on Speed, Reliability, and Comfort
The ONCF train network connects Casablanca and Rabat with direct, frequent service. The journey takes about an hour, which is faster than the bus and comparable to driving without the stress of traffic.
The biggest advantage is that trains run from city center to city center. In Casablanca, you depart from either Casa Port or Casa Voyageurs; in Rabat, you arrive at Rabat Ville or Rabat Agdal. This means you avoid the hassle of getting to and from an airport or an out-of-town bus terminal.
The Al Boraq high-speed rail also serves this corridor on its route toward Tangier, offering a faster, modern alternative on select departures. Even on regular trains, the trip is comfortable, with air-conditioned carriages and the option of first or second class.
The ONCF train timetable for the Casablanca–Rabat corridor is dense throughout the day, so you rarely have to wait long for the next departure. For intercity travel duration, the train consistently delivers the most predictable journey time.
Definition: ONCF is the national railway operator in Morocco, running both conventional trains and the Al Boraq high-speed rail network.

A cozy carriage view highlighting passenger comfort on the preferred rail route.
When a Different Option Is Actually Better
The train isn’t perfect for everyone. Here’s when another mode makes more sense:
Bus: If you’re on a tight budget and don’t mind a longer journey, the CTM bus is the cheapest way to get between the two cities. The Supratours luxury bus service also offers a more comfortable coach experience. Buses are a good fallback when train tickets are sold out.
Car: If you’re planning day trips around Rabat or have heavy luggage, a rental car gives you freedom that no train can match. The Autoroute A1 connects the cities directly, and the road trip route via the N6 is a viable alternative if you want to avoid tolls. Just remember that parking in central Rabat can be challenging.
Private taxi: If you’re on a tight timeline, traveling with a group, or simply want door-to-door service, a Casablanca to Rabat: Luxury Private Transfer with Chauffeur – A 2026 High-Intent Comparison online is the most convenient option. It’s also the most expensive, so it’s best reserved for special circumstances.
Quick Answer: The train is the best default choice, but choose the bus if budget is your top priority, a car if you need flexibility, and a private taxi if you value door-to-door convenience.
How to Choose the Right Option Based on Your Priorities
Speed vs. Cost vs. Flexibility: A Decision Framework
Every traveler weighs these three factors differently. Here’s how to think through the trade-off ladder:
- Fastest: Train or private taxi. Both get you there in about an hour, with the taxi offering door-to-door service.
- Cheapest: Bus. CTM fares are the lowest, but you’ll spend more time traveling and less time in comfort.
- Most flexible: Car. You can leave whenever you want, stop wherever you want, and carry as much as you want—but you pay for the privilege.
If you’re traveling with a group, the cost per person for a private taxi can become more reasonable. If you’re alone or with one other person, the train is usually the best value.
Comparison Table: Casablanca to Rabat Transport Options
| Mode | Typical Duration | Typical Cost | Frequency | Best For |
|---|---|---|---|---|
| Train (ONCF) | ~1 hour | Moderate; varies by class | Frequent, all day | Most travelers |
| Bus (CTM/Supratours) | 1.5–2 hours | Budget-friendly | Several departures daily | Budget-conscious travelers |
| Rental Car | ~1–1.5 hours | Fuel + Autoroute A1 tolls + parking | Whenever you want | Day trips, heavy luggage |
| Private Taxi | ~1 hour | Premium; highest cost | On demand | Groups, tight timelines |
Quick Answer: The train is the best way from Casablanca to Rabat for most travelers, but the bus wins on price, the car wins on flexibility, and the private taxi wins on convenience.
Step-by-Step: Taking the Train from Casablanca to Rabat
How to Buy Tickets and Plan Your Journey
- Check the ONCF schedule. Look up departure times online or at the station. The Casablanca–Rabat corridor has trains throughout the day, so you’ll have plenty of options.
- Choose your departure station in Casablanca. Casa Port is closer to the city center and the Corniche area. Casa Voyageurs is the main hub for long-distance and high-speed trains. Pick whichever is more convenient for your starting point.
- Book your ticket. You can buy tickets at the station, through the ONCF app, or via a travel agent. Booking in advance is wise during peak seasons and weekends.
- Arrive 15–20 minutes early. This gives you time for security checks and finding your platform without rushing.
- Board and confirm your seat class. First class offers more spacious seating and a quieter environment. Second class is perfectly comfortable for a one-hour journey and costs less.
- Enjoy the ride. The train travels along the Atlantic coastline, offering pleasant views on the roughly one-hour journey.
- Arrive in Rabat. You’ll arrive at either Rabat Agdal (the southern station) or Rabat Ville (the central station). From there, take an official taxi to your final destination.
Quick Answer: Book your train ticket online or at the station, arrive 15–20 minutes early, and choose Casa Port if you’re near the city center or Casa Voyageurs if you’re taking a long-distance train.
Practical Tips for a Smooth Journey on Any Mode
Packing and Timing Considerations
If you value a quieter ride, avoid peak commuter hours. Early morning and late afternoon tend to be busier on this corridor, especially on weekdays. Mid-morning and early afternoon departures are typically more relaxed.
Keep your passport or ID handy for train ticket checks. ONCF staff may ask to verify your identity, especially on high-speed trains.
For bus or car travel, factor in traffic around Casablanca’s exits and Rabat’s entrance. The Autoroute A1 is efficient, but the approach to central Rabat can get congested during rush hours.
Navigating Arrival in Rabat
Know which station or terminal you’re arriving at and its proximity to your hotel or meeting point. Rabat Ville is closer to the medina and the city center, while Rabat Agdal is near the Hassan II boulevard and the university area.
Use official taxis or ride-hailing apps to avoid overcharging. In Rabat, official taxis are small, beige cars that operate on meters. If you’re Arriving in Casablanca: Your Essential Transportation Guide from CMN Airport online and need a transfer to Rabat, a The Ultimate Guide to Airport Transfers in Morocco online is the most reliable option—the train doesn’t serve the airport directly.
Quick Answer: Use official taxis or ride-hailing apps in Rabat to avoid overcharging, and pre-book a private transfer if you’re coming from Casablanca’s Mohammed V airport.
Common Mistakes to Avoid When Traveling from Casablanca to Rabat
Overlooking the Two Train Stations in Casablanca
Casa Port is closer to the city center, while Casa Voyageurs is the main long-distance hub. Choosing the wrong station can add significant travel time. If you’re staying near the Corniche or the city center, Casa Port is likely more convenient. If you’re arriving from another Moroccan city by train, you’ll probably be at Casa Voyageurs.
Assuming the Bus Is Always Cheaper
While bus tickets are often cheaper upfront, the longer journey time and reduced comfort can make the train better value. For a one-hour ride, the train’s speed advantage is worth the small price difference for most people. Always compare the total cost—including time—before choosing.
Underestimating Parking and Traffic in Rabat
Driving on the highway is easy, but parking in central Rabat can be challenging. The medina area has limited parking, and street parking can be difficult to find. If you’re driving, look for a secure parking garage near your destination or consider parking outside the center and taking a taxi the last stretch.
Quick Answer: The most common mistake is choosing the wrong train station in Casablanca—Casa Port is central, while Casa Voyageurs is the main long-distance hub.
Frequently Asked Questions (FAQ)
How long does the train take from Casablanca to Rabat?
The train journey takes approximately one hour. The Al Boraq high-speed train covers the route slightly faster, while regular trains may take a bit longer depending on stops.
Is the train or the bus better for this route?
The train is better for most travelers because it’s faster, more comfortable, and runs more frequently. The bus is only better if you’re on a very tight budget and don’t mind a longer journey.
Can I use a rental car to drive from Casablanca to Rabat?
Yes. Take the Autoroute A1, which connects the two cities directly. You’ll pay toll fees along the way, plus fuel costs and parking in Rabat. The drive takes about an hour to an hour and a half depending on traffic.
Do I need to book train tickets in advance?
Booking in advance is recommended during peak seasons and on weekends, when popular departures can sell out. On weekdays, you can often buy tickets at the station on the day of travel.
What is the most expensive way to travel between the two cities?
A private taxi or professional car service is the most expensive option. It costs significantly more than a train or bus ticket, but it offers door-to-door convenience and a fixed schedule that fits your needs.
Conclusion
The train is the best way from Casablanca to Rabat for most travelers, combining a one-hour journey with frequent departures and central stations in both cities. But the right answer depends on your specific needs. If budget is your priority, the bus wins. If you need flexibility, a rental car gives you freedom. If you want door-to-door convenience, a private taxi is worth the premium.
Use the comparison framework above to weigh speed, cost, and flexibility before you book. Morocco’s transport landscape evolves, so always check current schedules and prices before traveling. With the right choice, the journey between these two great cities becomes a simple, enjoyable part of your trip.