Compare carsHotels

From Casablanca to Rabat: train, car, bus and transfer

Casablanca to Rabat is a short 90 km trip: about an hour by train or car, with 25 MAD (≈ 2.5 USD) of toll on the A1. Here are the options with their costs, checked in November 2026.

View of Rabat (mood illustration)
Photo: Petar Milošević, CC BY-SA 4.0

By location.casa, Updated

In brief

The train is the simplest: an hourly shuttle between Casablanca and Rabat, about 1h to 1h20 for 35 to 75 MAD (≈ 3.5-7.5 USD) according to an aggregator. By car, 90 km on the A1 for 25 MAD (≈ 2.5 USD) of toll, about 1h05. At rush hour the accesses to both cities slow the road a lot.

Comparison: Casablanca to Rabat

Option Duration Cost Departure and arrival Best for
Train (ONCF shuttle) 1h to 1h20 35 to 75 MAD (≈ 3.5-7.5 USD) according to Rome2rio Casa Port or Casa Voyageurs to Rabat Agdal or Rabat Ville Daily, without a car
Car about 1h05 Toll 25 MAD (≈ 2.5 USD) + fuel about 90 MAD (≈ 9 USD) Free Combined Casablanca - Rabat visit
Shared taxi / bus about 1h30 No price checked Bus stations Flexible traveller
Private transfer about 1h05 From ≈ 790 MAD (79 USD) per vehicle Address to address Suitcases, group

All figures were checked in November 2026; fares move with the date, the class and the season, and the links below lead to the prices of the day.

Casablanca to Rabat by car

Distance and time: 90 km and about 1h05 according to Kiwitaxi, checked in November 2026. Toll: 25 MAD (≈ 2.5 USD) in class 1 between Casablanca and Rabat on the Autoroutes du Maroc grid (the 2024 PDF of this same grid showed 23: the fare has already moved once). These are fares from the Autoroutes du Maroc class 1 grid (passenger car), published with no effective date; the press mentioned a revision in 2026 without official figures, so the amount at the toll booth may be higher: check on admtrafic.ma.

Fuel: diesel was paid between 16.41 and 16.98 MAD (≈ 1.6-1.7 USD) per litre and super petrol between 15.03 and 15.69 MAD (≈ 1.5-1.6 USD) after the revision of 1 November 2026 (Le Matin, indicative estimates). Calculation: 90 km x 6 l/100 km x 16.70 MAD (≈ 1.7 USD)/l, middle of the diesel range, so about 90 MAD (≈ 9 USD); in petrol, 7 l/100 km at 15.36 MAD (≈ 1.5 USD)/l, about 97 MAD (≈ 9.7 USD). Redo the sum with your car’s consumption.

The A1 links the two cities, with exits at Mohammedia and Bouznika on the Autoroutes du Maroc grid: Casablanca - Mohammedia Est 12 MAD (≈ 1.2 USD), Rabat - Bouznika 12 MAD (≈ 1.2 USD). If you visit Mohammedia or Bouznika, you pay twice for a shorter section. Most of the time is lost on the approaches: the Casablanca bypass on one side, the bridges and ring road of Rabat on the other. In Rabat, leave the car in a guarded car park near the medina or the Hassan Tower; the centre streets are busy during the day.

One-way: enter Rabat as the return place when searching; any surcharge appears before payment and some companies refuse returns in another city, read the conditions.

By train

Trains between Casablanca and Rabat follow one another roughly every hour according to Seat61, with an hourly shuttle on this route. Rome2rio records 35 to 75 MAD (≈ 3.5-7.5 USD) from Casa Port to Rabat Agdal for 1h02 to 1h22, a gap that reflects classes and trains. Al Boraq trains also stop at Rabat Agdal but cost more, from 89 MAD (≈ 8.9 USD) departing from Tangier: on such a short trip, the classic shuttle is enough.

By bus

Coaches also run the route, but over 90 km the train beats the bus in comfort and regularity. The bus and train comparison below lets you see what leaves on the day you want.

By shared taxi and private transfer

The shared taxi exists between bus stations, with no published fare that we could source. A private transfer cost from ≈ 790 MAD (79 USD) per vehicle on the Kiwitaxi page of November 2026, for about 1h05: only useful with lots of luggage or several people.

Which mode to choose?

Alone or as a pair, take the train. As a family with luggage: the car or the transfer. If you make a same-day return trip from Casablanca, the train saves parking in Rabat. If you continue to Meknes, Fes or Tangier, rent the car in Rabat rather than in Casablanca.

On arrival in Rabat

Where to sleep: In Rabat, the Agdal district or the centre near Avenue Mohammed V suit visiting on foot; around the Oudayas, the calm and the ocean view make up for often smaller rooms.

See hotels in Rabat

What to do: Walk in the Oudayas kasbah, climb to see the Hassan Tower and the neighbouring Mohammed V mausoleum, then stroll in the medina.

Neighbouring routes and useful pages

Other routes: Casablanca to Fes, Rabat to Tangier, Casablanca to El Jadida, and the table of all routes. Useful pages: Renting a car in Casablanca, Renting a car in Rabat, Visiting Rabat, Visiting Casablanca.

More Rabat excursions on Viator

Sources and date

Checked in November 2026 (10 November): Autoroutes du Maroc toll grid, fuel prices according to Le Matin, transfer distances and durations according to Kiwitaxi, train and bus frequencies and fares according to Seat61, Rome2rio, Omio and travel guides, indicated as such. Retried on 11 November 2026: the public pages of ONCF (oncf-voyages.ma), CTM (ctm.ma) and Supratours (supratours.ma) show no fare without running a ticket search, so no official price could be recorded; their online timetables and prices prevail. location.casa is neither a transport company nor an agency: we compare and point to partners.

Frequently asked questions

What is the toll between Casablanca and Rabat?

25 MAD (≈ 2.5 USD) in class 1 according to the Autoroutes du Maroc grid. A 2024 document gave 23 MAD (≈ 2.3 USD); check on admtrafic.ma before setting off.

How long does the Casablanca to Rabat train take?

About 1h02 to 1h22 according to Rome2rio, with a train roughly every hour.

Is it better than the car?

For a same-day return trip, yes: no parking in Rabat and no jams at the city entrances.

Which station in Rabat?

Rabat Agdal, closer to the modern districts, or Rabat Ville, closer to the medina depending on the train.

Some links are affiliate links: if you book through them we earn a small commission at no extra cost to you. It funds the research behind this site.

Independent guide — not affiliated with the airport, the city or any operator.

Compare cars