Rome2Rio

How to get fromSafi to Rabatby train, bus, car, or rideshare

Find Transport to Rabat

See all options

There are 4 ways to get from Safi to Rabat by train, bus, car, or rideshare

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.

  1. Train

    best
    1. Take the train from Gare ONCF de Safi to Casa-Voyageurstrain train
    2. Take the train from Casablanca to Rabat Villetrain train
    5h 50m
    MAD 161–324
  2. Bus

    1. Take the bus from Safi to Farbus bus
    2. Take the bus from Casablanca Far to Rabatbus bus
    6h 5m
    MAD 222–327
  3. Drive  328 km

    1. Drive from Safi to Rabatcar car 328 km
    3h 11m
    MAD 510–736
  4. Rideshare, train

    1. Take the rideshare from Safi to El Jadidarideshare rideshare
    2. Take the rideshare from El Jadida to Casablancarideshare rideshare
    3. Take the train from Ain Sebaa to Rabat Villetrain train
    6h 2m
    MAD 283–428

Safi to Rabat by train

Calendar7Weekly Trains
Duration5h 50mAverage Duration
TicketMAD 161Cheapest Price
See schedules

Comparing Your Travel Options

What companies run services between Safi, Morocco and Rabat, Morocco?

You can take a train from Gare ONCF de Safi to Rabat Ville via Casablanca in around 5h 50m. Alternatively, you can take a bus from Safi to Rabat via Casablanca Far in around 6h 5m.

Train operators
Bus operators
Other operators

Want to know more about travelling around the world?

Rome2Rio's Travel Guide series provide vital information for the global traveller. Read our range of informative guides on popular transport routes and companies - including Bali: What to do if Mount Agung erupts, Travelling to the US: What do I need to know?, and Travelling to the UK: What do I need to know? - to help you get the most out of your next trip.

Booking & Getting There