How to Travel from Casablanca to Rabat: Train, Taxi & Day Trip Guide

How to Travel from Casablanca to Rabat: Train, Taxi & Day Trip Guide

Rabat is located just 87 km (54 miles) north of Casablanca along Morocco’s Atlantic coast, making it one of the easiest and most popular day trips in the country.

Thanks to Morocco’s modern rail network — including Africa’s first high-speed train (Al Boraq) — traveling between Casablanca and Rabat is fast, inexpensive, and hassle-free.

Here is your complete 2026 guide on how to get from Casablanca to Rabat by train, taxi, or private car.


Transport Comparison at a Glance

Transport Method Duration Price (MAD) Frequency Best For
Al Boraq High-Speed Train 45–50 mins 60–90 MAD Every 1–2 hours Speed & comfort
TNR Regional Train 1h 10m 40–55 MAD Every 30 mins Budget & direct to Medina
Grand Taxi (Shared) 1h 15m ~45 MAD / seat Continuous Last-minute travel
Private Car / Driver 1h 15m 500–800 MAD On demand Door-to-door convenience

Taking the train operated by ONCF (Office National des Chemins de Fer) is the single best option. Trains are clean, air-conditioned, reliable, and run continuously from 06:00 AM until 10:30 PM.

Understanding the Two Train Types: Al Boraq vs TNR

  1. Al Boraq (High-Speed TGV):

    • Departure Station: Casa-Voyageurs (Casablanca).
    • Arrival Station: Rabat-Agdal (Rabat).
    • Travel Time: 45 to 50 minutes.
    • Ticket Price: First Class: ~90–120 MAD; Second Class: ~60–80 MAD.
    • Features: 320 km/h high-speed rail, allocated reserved seats, power sockets, and quiet coaches.
  2. TNR (Navette Regional Train):

    • Departure Stations: Casa-Port or Casa-Voyageurs.
    • Arrival Stations: Rabat-Agdal or Rabat-Ville.
    • Travel Time: 1 hour 10 minutes.
    • Ticket Price: ~40–55 MAD.
    • Advantage: Arrives directly at Rabat-Ville station, which is located in downtown Rabat just a 5-minute walk from the Old Medina.

2. Which Train Station Should You Use?

In Casablanca:

  • Casa-Voyageurs: The main transport hub for high-speed Al Boraq trains to Rabat, Tangier, and long-distance trains to Marrakech and Fes.
  • Casa-Port: Located near downtown Casablanca and the port. Ideal if taking the regular TNR regional train.

In Rabat:

  • Rabat-Ville: Located in central downtown (Ville Nouvelle), directly next to Avenue Mohammed V and the Medina. Best if taking the TNR train.
  • Rabat-Agdal: A modern glass terminal located in the Agdal district. All Al Boraq trains stop here. From Rabat-Agdal, take a 10-minute Petit Taxi (15 MAD) or Tramway Line 1 to reach downtown.

3. How to Buy Train Tickets

  1. Online (ONCF Website): Visit oncf-voyages.ma. You can purchase e-tickets using Visa or Mastercard up to 3 months in advance.
  2. At the Station Kiosks: Self-service touch-screen kiosks at Casa-Voyageurs and Casa-Port accept cash and credit cards in English, French, and Arabic.
  3. Ticket Counters: Manned ticket windows are available at all stations.

4. By Grand Taxi or Private Driver

  • Shared Grand Taxi: White or silver taxis operate between Casablanca (near Casa-Port) and Rabat. They carry 6 passengers and cost approx. 45 MAD per seat.
  • Private Car Rental / Uber Careem: Driving takes about 1 hour 15 minutes via the A1 Toll Highway. Careem intercity transfers cost 450–650 MAD.

If visiting Rabat for a single day from Casablanca:

  1. 08:30 AM: Catch the TNR train from Casa-Port directly to Rabat-Ville station.
  2. 09:40 AM: Arrive in Rabat. Walk or take Tramway Line 1 to Hassan Tower and Mausoleum of Mohammed V.
  3. 11:00 AM: Walk down to explore the Kasbah des Oudayas and its peaceful Andalusian gardens.
  4. 01:00 PM: Have lunch and mint tea at Café des Oudaïas or a river grill stall.
  5. 02:30 PM: Browse artisan shops on Rue des Consuls in the Medina.
  6. 04:30 PM: Take a 10-minute Petit Taxi to the Chellah Necropolis (70 MAD entry) to see Roman ruins and stork nests.
  7. 06:30 PM: Return to Rabat-Ville station for your return train to Casablanca.

For a complete hour-by-hour walking route with lunch spot recommendations, check out our 1-Day Rabat Itinerary. If you have more time to spend in the capital, read our guide to the 15 Best Things to Do in Rabat.


Frequently Asked Questions

Do I need to book Casablanca to Rabat train tickets in advance?

For the regional TNR train, no advance booking is required. Trains run every 30 minutes, tickets have no allocated seats, and you can simply purchase your ticket at the station vending machine or counter 10 minutes before departure. For the high-speed Al Boraq, advance booking via oncf-voyages.ma is recommended if you want the lowest tier fares (60 MAD vs 89 MAD at the gate).

Which train station is better for tourists in Rabat: Rabat-Ville or Rabat-Agdal?

Rabat-Ville is significantly better for day trippers and cultural visitors because it exits directly into downtown Rabat, placing you within a 5-minute walk of Avenue Mohammed V and a 10-minute walk of the Old Medina and Kasbah des Oudayas. Rabat-Agdal is modern and serves high-speed Al Boraq trains, but requires a 10-minute taxi ride or Tramway transfer to reach the historic sights.

What time is the last train from Rabat back to Casablanca?

The last TNR regional train departs Rabat-Ville for Casablanca around 22:15 (10:15 PM), while the last Al Boraq departs Rabat-Agdal around 21:50. Schedules can shift slightly during Ramadan, so verify current evening departures on the ONCF app before heading out for dinner.