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

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

Recommended option

Train, bus  •  6 h 24 min

  1. Take the train from Rabat Ville to Casablanca
  2. Take the bus from Casablanca to Safi

$14 - $21

3 alternative options

Train  •  6 h 56 min

  1. Take the train from Rabat Ville to Ben Guerir
  2. Take the train from Ben Guerir to Safi

$17 - $34

Grand Taxi  •  4 h 50 min

  1. Take the Grand Taxi from Rabat to Casablanca
  2. Take the Grand Taxi from Casablanca to El Jadida
  3. Take the Grand Taxi from El Jadida to Safi

$20 - $32

Drive  •  3 h 12 min

  1. Drive from Rabat to Safi 207.9 miles

$30 - $45

Questions & Answers

No, there is no direct train from Rabat to Safi. However, there are services departing from Rabat Ville and arriving at Safi via Ben Guerir. The journey, including transfers, takes approximately 6 h 56 min.

More details

The distance between Rabat and Safi is 294 km. The road distance is 332.6 km.

Get driving directions

The best way to get from Rabat to Safi without a car is to train and bus which takes 6 h 24 min and costs .

More details

It takes approximately 6 h 24 min to get from Rabat to Safi, including transfers.

More details

Rabat to Safi train services, operated by Moroccan Railways (ONCF), depart from Rabat Ville station.

More details

Rabat to Safi train services, operated by Moroccan Railways (ONCF), arrive at Safi station.

More details

Yes, the driving distance between Rabat to Safi is 333 km. It takes approximately 3 h 12 min to drive from Rabat to Safi.

Get driving directions

There are 17+ hotels available in Safi. Prices start at $39 USD per night.

More details

Check out Blablacar's carpooling service for rideshare options between Rabat and Safi. A great option if you don't have a driver's licence or want to avoid public transport.

Read Rome2rio's guide to Blablacar

Map of how to get from Rabat to Safi.
Launch map view
  • Distance: 183.7 miles
  • Duration: 6 h 24 min

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

You can take a train from Rabat to Safi via Ben Guerir in around 6 h 56 min.

Train operators
Moroccan Railways (ONCF)
Email
ketary@oncf.ma
Website
oncf.ma
Train from Rabat Ville to Casablanca
Ave. Duration
1 h 5 min
Frequency
Hourly
Estimated price
$4 - $9
Schedules at
oncf.ma
2nd Class
$4 - $5
1st Class
$6 - $9
Train from Rabat Ville to Ben Guerir
Ave. Duration
3 h 48 min
Frequency
Every 3 hours
Estimated price
$11 - $21
Schedules at
oncf.ma
2nd Class
$11 - $14
1st Class
$15 - $21
Train from Ben Guerir to Safi
Ave. Duration
2 h 8 min
Frequency
Once daily
Estimated price
$6 - $13
Schedules at
oncf.ma
2nd Class
$6 - $8
1st Class
$8 - $13
Bus operators
CTM
Phone
0800090030
Email
ctmweb.ma@gmail.com
Website
ctm.ma
Bus from Casablanca to Safi
Ave. Duration
4 h 5 min
Frequency
Every 4 hours
Estimated price
$9 - $12
Schedules at
ctm.ma
Other operators
Grand Taxis
Email
info@HeyMorocco.com
Website
heymorocco.com
Rideshare from Rabat to Casablanca
Ave. Duration
1 h 5 min
Frequency
Hourly
Estimated price
$6 - $11
Schedules at
heymorocco.com
Rideshare from Casablanca to El Jadida
Ave. Duration
1 h 10 min
Frequency
Hourly
Estimated price
$6 - $10
Schedules at
heymorocco.com
Rideshare from El Jadida to Safi
Ave. Duration
1 h 35 min
Frequency
Hourly
Estimated price
$8 - $12
Schedules at
heymorocco.com

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 Travelling to and around Russia for the 2018 FIFA World Cup, Bali: What to do if Mount Agung erupts and How to get from Gatwick Airport into central London - to help you get the most out of your next trip.