There are 5 ways to get from Safi to Rabat by train, bus, car, taxi, 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.
Train
best- Take the train from Gare ONCF de Safi to Gare de Ben Guerirtrain
- Take the train from Ben Guerir to Rabat Villetrain
5h 14mMAD 158–324Bus
- Take the bus from Safi to Farbus
- Take the bus from Casablanca Far to Rabatbus
6h 25mMAD 197–282Drive 328 km
- Drive from Safi to Rabatcar 328 km
3h 11mMAD 474–685Taxi
- Take the taxi from Safi to Rabattaxi 328 km
3h 11mMAD 700–900Rideshare, train
- Take the rideshare from Safi to El Jadida
- Take the rideshare from El Jadida to Casablanca
- Take the train from Ain Sebaa to Rabat Villetrain
6hMAD 283–428
Safi to Rabat by train
Questions & Answers
The cheapest way to get from Safi to Rabat is to bus which costs MAD 190 - MAD 290 and takes 6h 25m.
The fastest way to get from Safi to Rabat is to drive which takes 3h 11m and costs MAD 470 - MAD 700.
No, there is no direct bus from Safi to Rabat. However, there are services departing from Safi and arriving at Rabat via Casablanca Far. The journey, including transfers, takes approximately 6h 25m.
No, there is no direct train from Safi to Rabat. However, there are services departing from Gare ONCF de Safi and arriving at Rabat Ville via Ben Guerir. The journey, including transfers, takes approximately 5h 14m.
The distance between Safi and Rabat is 401 km. The road distance is 328 km.
The best way to get from Safi to Rabat without a car is to train which takes 5h 14m and costs MAD 150 - MAD 330.
It takes approximately 5h 14m to get from Safi to Rabat, including transfers.
Safi to Rabat bus services, operated by CTM, depart from Safi station.
Safi to Rabat train services, operated by Moroccan Railways (ONCF), depart from Gare ONCF de Safi station.
The best way to get from Safi to Rabat is to train which takes 5h 14m and costs MAD 150 - MAD 330. Alternatively, you can bus, which costs MAD 190 - MAD 290 and takes 6h 25m.
What companies run services between Safi, Morocco and Rabat, Morocco?
You can take a train from Gare ONCF de Safi to Rabat Ville via Ben Guerir in around 5h 14m. Alternatively, you can take a bus from Safi to Rabat via Casablanca Far in around 6h 25m.
- Phone
- 2255
- communication.digitale@oncf.ma
- Website
- oncf.ma
Train from Gare ONCF de Safi to Gare de Ben Guerir
- Ave. Duration
- 1h 34m
- Frequency
- Twice daily
- Estimated price
- MAD 55–120
- Schedules at
- oncf-voyages.ma
- Book at
- oncf.ma
- 2nd Class
- MAD 55–80
- 1st Class
- MAD 85–120
Train from Ben Guerir to Rabat Ville
- Ave. Duration
- 2h 52m
- Frequency
- Hourly
- Estimated price
- MAD 100–210
- Schedules at
- oncf-voyages.ma
- Book at
- oncf.ma
- 2nd Class
- MAD 100–150
- 1st Class
- MAD 150–210
Train from Ain Sebaa to Rabat Ville
- Ave. Duration
- 1h 8m
- Frequency
- Hourly
- Estimated price
- MAD 30–65
- Schedules at
- oncf-voyages.ma
- Book at
- oncf.ma
- 2nd Class
- MAD 30–45
- 1st Class
- MAD 45–65
- Phone
- 0 800 0900 30
- ctmweb.ma@gmail.com
- Website
- ctm.ma
Bus from Safi to Far
- Ave. Duration
- 4h 10m
- Frequency
- 3 times a day
- Estimated price
- MAD 140–210
- Schedules at
- ctm.ma
- Confort
- MAD 150–170
Bus from Casablanca Far to Rabat
- Ave. Duration
- 1h 15m
- Frequency
- Every 4 hours
- Estimated price
- MAD 50–75
- Schedules at
- ctm.ma
Rideshare from Safi to El Jadida
- Ave. Duration
- 1h 50m
- Frequency
- On demand
- Estimated price
- MAD 140–210
- Schedules at
- moroccocab.com
Rideshare from El Jadida to Casablanca
- Ave. Duration
- 1h 30m
- Frequency
- Hourly
- Estimated price
- MAD 100–150
- Schedules at
- moroccocab.com
- Ave. Duration
- 3h 11m
- Estimated price
- MAD 700–900
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, The beginner’s guide to the 2018 World Nomad Games, and Want to know more about Flixbus? - to help you get the most out of your next trip.
More Questions & Answers
Safi to Rabat bus services, operated by CTM, arrive at Far station.
Safi to Rabat train services, operated by Moroccan Railways (ONCF), arrive at Gare de Ben Guerir station.
Yes, the driving distance between Safi to Rabat is 328 km. It takes approximately 3h 11m to drive from Safi to Rabat.
There are 356+ hotels available in Rabat.











