The simplest way to travel from Casablanca to Rabat
The train is the default choice for many independent travelers: it avoids the uncertainty of road traffic and connects urban stations in both cities. Morocco's tourism office puts the cities roughly 87 km apart and gives an approximate one-hour connection; think of that as a broad route reference, not door-to-door time. Add your transfer to the station, time to find the platform, and the onward trip from the Rabat station to your accommodation. 1 2
The main planning question is not simply “train or taxi?” It is which station fits your start and finish. Casablanca has more than one rail station relevant to the route, while Rabat has both Rabat Ville and Rabat Agdal. The Al Boraq high-speed service stops at Casa Voyageurs and Rabat Agdal, while the Casablanca–Rabat shuttle and other services use a wider set of stations. The exact train and stops depend on the departure you select, so use the official ONCF timetable for your date rather than relying on a remembered route or third-party schedule. 3 4
Train: best for most city-center journeys
For a solo traveler, couple or small group with manageable bags, rail usually combines simplicity and value. You can travel between stations without arranging a driver, and the trip is not exposed to the same road traffic as a car. Independent rail guide Seat 61 describes both the Al Boraq line and the conventional Casablanca–Rabat shuttle (TNR); do not assume every train has the same stops or speed. 4
Before buying, check all four details: departure station, arrival station, departure time and whether the service is direct for your chosen stations. In particular, “Rabat” on a booking screen is not a substitute for confirming whether you arrive at Rabat Ville or Rabat Agdal. Compare the station-to-door transfers at both ends; the train that looks quickest on paper may not be best for an outlying hotel.
Use ONCF's own timetable and ticketing channels for current departures, seat availability and fare conditions. Its timetable pages are subject to change; planned construction, service changes and busy travel dates can affect what is available. Buy ahead when a particular departure matters, and keep your ticket accessible for inspection. For a same-day decision, check the live listing before traveling to the station. 3
At the station, arrive with time to locate the correct platform and board calmly, particularly if you have children, mobility needs or several bags. Keep valuables close and avoid blocking aisles with luggage. If you need step-free access, assistance, room for a stroller or space for a large suitcase, ask the railway or station staff about the specific service and station before travel; don't assume identical facilities at every station.
Taxi or private car: when door-to-door matters
A taxi or prearranged private car can be useful when you have bulky luggage, several travelers, a fixed appointment away from the stations, or a very early or late journey. It can also simplify travel for a family managing strollers or for someone who prefers fewer transfers. The trade-off is cost and road variability. A car does not remove traffic, and a quote should not be confused with a regulated or guaranteed fare.
For an airport pickup or intercity ride, settle the practical details before departure: the exact pickup point, destination address, vehicle size, total fare and currency, tolls or other extras, luggage capacity, whether the driver waits, and what happens if a flight is delayed. Ask whether the quote covers the full group and trip rather than a per-person amount. If booking through an accommodation or independent provider, request written confirmation and understand that provider availability, terms and charges are separate. Avoid getting into a vehicle until you and the driver agree where you are going and on the fare arrangement.
A taxi makes more sense if convenience outweighs the extra cost. For one traveler going between central locations, compare the complete trip rather than just the ride time: transfers to and from stations can be modest, while city traffic can make a road estimate uncertain. For a group, divide the confirmed total by the number of passengers and compare it with the rail tickets plus local transfers. Don't rely on a generic online fare estimate as a binding quote. 5
Driving and bus alternatives
Driving gives flexibility for stops along the way or a multi-stop day, but comes with the responsibilities of navigating city traffic, parking and returning the vehicle. If you rent a car, confirm insurance, permitted drivers, fuel policy, parking at your destination and whether your hotel has a suitable drop-off or car park. A hired car is not necessarily useful once you reach central Rabat, where walking and local transport may be easier for a compact sightseeing day.
Intercity buses are another possible option, but the relevant terminal may be less convenient than a rail station, and departures are not necessarily as frequent. Compare the actual stop, timetable and ticket terms for your date instead of assuming a bus saves time or money. The rail operator's schedule and the carrier's own listing are the sources to verify current service details. 3 5
Can you make Rabat a day trip from Casablanca?
Yes, a day trip can work well if Rabat is a priority and you start early enough to have a useful stretch of time there. It is especially manageable if you travel by train and focus on a few sights rather than treating the city as a checklist. Rabat's official tourism profile highlights the Kasbah of the Oudayas, Chellah, Hassan Mosque/Tower area, the Mohammed V Mausoleum and the archaeological museum among its attractions. 2
A practical first-visit plan is to arrive at a station that suits your first stop, spend the morning around the historic center, pause for lunch, then choose either the Oudayas and nearby medina or a separate museum/garden visit depending on opening hours and your pace. Check each site's current opening arrangements before setting off; official destination pages establish what is notable, not whether a specific building is open on your chosen day. Reserve time to get back to your station and confirm the return service.
Rabat merits an overnight stay if you want a slower visit, multiple museums or gardens, time in Salé, or a relaxed evening meal. A day trip may feel rushed if you are also trying to tour Casablanca that day, have an international flight to catch, or must make a fixed evening connection. Keep a return-time buffer rather than choosing the last possible train.
Example: choosing a plan
If you are staying near central Casablanca and want a few hours in Rabat, take a train after checking which station best suits your Rabat itinerary. Walk or arrange a short local transfer to your first attraction, group nearby places together, and return before the final practical departure. If you are traveling with two large suitcases from an airport hotel to a Rabat riad, compare the rail journey plus both station transfers with a confirmed private-car quote; door-to-door service may be worth paying for, but confirm where a vehicle can actually drop you and whether the riad is reachable by car.
Starting at Casablanca airport
Do not mistake the intercity rail time for the entire airport-to-Rabat journey. First check how you will get from Mohammed V International Airport to the appropriate Casablanca departure station, then add the train and Rabat-side transfer. A flight delay or immigration queue can make a tightly timed connection impractical. If the airport is your origin and you have a firm arrival window, decide in advance whether a flexible train plan or a prearranged pickup better fits your risk tolerance, and verify cancellation and waiting terms.
For a multi-person transfer, ask the provider to identify the pickup location at the terminal, not just “Casablanca airport,” and confirm whether the driver will meet you inside or at a designated curbside point. Never assume a quoted intercity car transfer includes a sightseeing stop or waiting time.
Quick booking checklist
- Match the exact stations to your hotel, first activity and final destination.
- Verify the departure and return trains on ONCF for the travel date; don't rely on old screenshots.
- Compare total door-to-door time, not only the train or road segment.
- Confirm baggage, accessibility and family needs with the relevant rail or car provider.
- For a driver, agree the route, price basis, waiting, tolls and cancellation details before travel.
- For a day trip, check attraction opening information and leave a return buffer.
For help coordinating a multi-stop Morocco itinerary or transfer questions, see Maroc Mobility's Personal Travel Assistant; transport is arranged and charged by independent providers, not sold as vehicle inventory through this guide.




