Discovering...
Discovering...

Casablanca to Rabat is the easiest inter-city journey in Morocco — barely an hour on a train that runs roughly every half hour, for the price of a couple of coffees. This guide covers the fast shuttle and high-speed options, the direct link from Mohammed V airport, grand taxis and driving, plus how to get around at each end. For the full network, see the driving distances matrix.
Distance
~90 km (A3 motorway)
Train time
~1h (shuttle), ~50 min (Al Boraq)
Shuttle fare
~40 MAD 2nd class (approx.)
Train frequency
Roughly every 30 minutes
Al Boraq fare
~80–90 MAD (approx.)
Grand taxi
~35–40 MAD per seat, ~1h
Driving
~1h, toll ~25 MAD
CMN airport to Rabat
~1h30, ~70–80 MAD (with change)
Rabat stations
Rabat Ville (central) & Rabat Agdal
City transport
Tram in both cities; petit taxis metered
Sofia Marín· Coast, North & Practical Travel Editor
Spanish travel writer based in Tangier who criss-crosses northern Morocco and the Atlantic coast by bus, train and ferry. She covers Chefchaouen, Tangier, Essaouira and the practical side of getting around. Tangier · 10+ years covering Morocco
Published 17 December 2025 Last updated 15 July 2026
If every Moroccan journey were this simple, no one would ever hire a car. Casablanca and Rabat sit only about 90 km apart on the country's busiest rail corridor, connected by shuttle trains that run roughly every half hour and take about an hour end to end. The fare is trivial — around 40 MAD in second class — and both stations are central, so you step off the train more or less where you want to be. For the vast majority of travellers, the train is the answer and the only real question is which one.
There are three train products on the line: the frequent ordinary shuttle (the workhorse), conventional Al Atlas services passing through, and the high-speed Al Boraq, which stops at Casa Voyageurs and Rabat Agdal. For such a short hop the extra speed of Al Boraq barely matters, so most people simply take the next shuttle. Grand taxis and driving are perfectly viable too, but rarely worth the bother when a train leaves every 30 minutes.
This corridor also matters as a hub: Rabat is the gateway north to Tangier and south to Marrakech, and Casablanca is the country's main airport and the change point for almost everything. Getting the short Casa–Rabat leg right makes the rest of a Moroccan rail trip effortless.
The choice is really train versus everything else, and the train wins on nearly every count for this distance — frequency, cost, comfort and central arrival. Grand taxis are quick and cheap but leave only when full and drop you at a taxi stand rather than the centre. Driving makes sense only if you already have a car or are continuing beyond Rabat, given the trivial fare and constant departures of the train.
The table sets out the realistic options. The standout figure is frequency: with a train roughly every half hour, you plan around your day, not around a timetable.
| Mode | Duration | Fare | Frequency | Notes |
|---|---|---|---|---|
| Shuttle train (TNR) | ~1h | ~40 MAD 2nd class | Every ~30 min | The workhorse; central to central |
| Al Boraq high-speed | ~50 min | ~80–90 MAD | Frequent | Casa Voyageurs to Rabat Agdal |
| Al Atlas (through trains) | ~1h | ~40–60 MAD | Several daily | Long-distance services that call at both |
| Grand taxi | ~1h | ~35–40 MAD per seat | When full | From set stands; not city-centre |
| Driving | ~1h | Fuel + ~25 MAD toll | Anytime | Only worth it if continuing onward |
The ordinary shuttle — long known as the TNR, or Train Navette Rapide — is what locals use to commute between the two cities. It runs from early morning to late evening at roughly half-hourly intervals, takes about an hour, and costs around 40 MAD in second class. You rarely need to book; buy a ticket at the counter or machine and walk to the platform. First class exists for a little more if you want a guaranteed seat at peak times.
The high-speed Al Boraq also calls on the corridor, linking Casa Voyageurs with Rabat Agdal in around fifty minutes. It is faster and plusher, but at roughly double the fare for a saving of ten minutes on such a short leg, it makes sense mainly if you are already on an Al Boraq service running further north to Tangier, or if you happen to be at the right stations. For a standalone Casa–Rabat trip, the shuttle is the smart, cheap choice.
Many visitors arrive at Casablanca's Mohammed V airport (CMN), Morocco's main international gateway, and head straight for the calmer capital rather than into Casablanca itself. The airport has its own train station beneath the terminal, and while there is no single direct train all the way to Rabat, the connection is straightforward: take the airport train toward Casablanca and change at Casa Voyageurs (or, on some services, Aïn Sebaâ) onto a Rabat shuttle. Reckon on about ninety minutes total and roughly 70–80 MAD.
This makes Rabat one of the easiest airport-to-city-centre transfers in the country by public transport — no need for a pricey taxi unless you land late or have heavy luggage. Trains from the airport run through most of the day but thin out late at night, so check the last departure if your flight arrives after dark. Our Casablanca Mohammed V airport guide covers the station, facilities and onward connections in full.
| Route | Duration | Fare | Notes |
|---|---|---|---|
| Airport train + shuttle | ~1h30 | ~70–80 MAD | Change at Casa Voyageurs or Aïn Sebaâ |
| Grand taxi / private | ~1h | ~350–500 MAD per car | Door to door; agree fare first |
| Via Casa city centre | ~1h45 | ~80 MAD | If stopping in Casablanca en route |
| Late-night arrival | Taxi only | ~400–600 MAD | Trains thin out after midnight |
Shared grand taxis run the Casa–Rabat route from set stands, filling with six passengers and leaving when full for around 35–40 MAD per seat. They are quick — about an hour — and cheap, but they depart from specific taxi stations rather than the city centre, and the door-to-door time once you have reached the stand and found onward transport often matches the train with more hassle. They come into their own mainly if you are staying near a stand or want to leave outside train hours.
Driving covers the 90 km in about an hour on the A3 motorway for a toll of roughly 25 MAD plus fuel. It is easy motorway driving, but parking in central Casablanca and Rabat is a chore, and with a 40 MAD train leaving every half hour there is little reason to drive this leg unless you already have a car for onward travel. If you are continuing to Fes, Marrakech or the coast, though, driving straight through makes sense — see how the corridor fits the wider network in our distances and times matrix.
Both cities have clean, modern tramways that make getting from the station to your final destination cheap and simple. In Rabat, the tram connects Rabat Ville station with the medina, the Agdal district and across the river to Salé for just a few dirhams. In Casablanca, the tram links Casa Voyageurs and the city centre with the Habous quarter and beyond. Petit taxis in both cities are metered and inexpensive for short hops — insist on the meter.
The table summarises the onward options. For a fuller breakdown of local costs in the capital — taxis, tram tickets, attractions — see our Rabat prices guide, and use the grand-taxi guide if you plan to relay onward to smaller towns beyond the rail network.
| City | Option | Fare | Notes |
|---|---|---|---|
| Rabat | Tram | ~6 MAD | Rabat Ville to medina, Agdal, Salé |
| Rabat | Petit taxi | ~10–20 MAD | Metered; short central hops |
| Casablanca | Tram | ~6 MAD | Casa Voyageurs to centre and Habous |
| Casablanca | Petit taxi | ~15–30 MAD | Metered; insist on the meter |
Because the hop is so quick and frequent, you do not have to choose between Casablanca and Rabat — pair them. Base yourself in whichever suits your trip and treat the other as an easy half-day or day trip: Rabat for its relaxed medina, Kasbah des Oudaias and gardens; Casablanca for the Hassan II Mosque and Art Deco downtown. Trains run late enough that you can dine in one city and sleep in the other.
The corridor is also the practical launchpad for the rest of Morocco. From Rabat, the same trains carry on north to Tangier or south toward Marrakech — see our Rabat–Marrakech train guide and the long-haul Tangier–Marrakech route. Casablanca is the airport and the great rail crossroads. Master this one-hour leg and the whole northern network falls into place around it.
About one hour on the frequent shuttle train, or around fifty minutes on the high-speed Al Boraq. Shuttles run roughly every half hour through the day, so you rarely wait long. Both cities' stations are central, so you step off close to where you want to be — a tram or short petit-taxi ride from the medina and main districts.
Around 40 MAD in second class on the ordinary shuttle, which is the best value for this short hop. The high-speed Al Boraq costs roughly 80–90 MAD for a saving of about ten minutes, so it is worth it mainly if you are already on an Al Boraq service running further north. First class on the shuttle costs a little more for a guaranteed seat.
Take the train from the airport station toward Casablanca and change at Casa Voyageurs (or Aïn Sebaâ on some services) onto a Rabat shuttle — about ninety minutes total for roughly 70–80 MAD. There is no single direct train the whole way, but the connection is easy. A private taxi runs door to door in about an hour for 350–500 MAD.
Very frequently — the shuttle service departs roughly every 30 minutes from early morning until late evening, supplemented by through Al Atlas trains and the high-speed Al Boraq. This is Morocco's busiest rail corridor and effectively a commuter line, so you can turn up and take the next train rather than planning around a fixed timetable.
The train is usually better. It is central to central, comfortable, runs every half hour and costs about 40 MAD. Grand taxis are similarly cheap and quick but leave only when their six seats fill and drop you at a taxi stand rather than the centre. Take a grand taxi mainly if you are staying near a stand or travelling outside train hours.
Easily. With trains running about every half hour and a journey of only an hour, Rabat makes a comfortable day trip from Casablanca (or vice versa). Leave in the morning, see the Kasbah des Oudaias, Hassan Tower and medina, and be back for dinner. Trains run late enough that you are not rushed to catch the last service home.
Rarely, for this leg alone. The 90 km motorway run takes about an hour with a ~25 MAD toll, but parking in both city centres is a hassle and a 40 MAD train leaves every half hour. Driving makes sense only if you already have a rental or are continuing beyond Rabat to Fes, Marrakech or the coast.
Either Rabat Ville, in the heart of the city near the medina, or Rabat Agdal to the south. The shuttle serves both; the high-speed Al Boraq uses Agdal. Choose whichever is closer to your accommodation and confirm which station your specific train calls at before boarding, since not every service stops at both.
Plan it with a local expert
Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.
from $2,011Sahara Desert Luxury Expedition
from $2,054Essential Morocco: Imperial Cities Circuit
from $5,978Sahara to Sea: Morocco Complete
Practical Guides
How to travel Rabat to Marrakech by train, with routes, durations, fares and how it compares to bus and driver.
Read guidePractical Guides
How to cover the long Tangier-Marrakech journey by train, bus, flight or driver, with times, costs and break points.
Read guidePractical Guides
A guide to Morocco's main hub, with the airport train, transfers to Casa, Rabat and Marrakech, and facilities.
Read guidePractical Guides
A master reference of realistic driving distances and times between Morocco's main hubs, with where to break long legs.
Read guidePractical Guides
A 2026 price guide to the capital covering meals, the tram, train fares, attractions and daily budgets.
Read guidePractical Guides
The old Mercedes shared taxis explained — how to find them, what a seat costs, negotiating and when a grand taxi beats the bus.
Read guide