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.
Train
best- Take the train from Gare ONCF de Safi to Casa-Voyageurstrain
- Take the train from Casablanca to Rabat Villetrain
5h 50mMAD 161–324Bus, train
- Take the bus from Safi to Farbus
- Take the train from Casablanca Port to Rabat Villetrain
5h 58mMAD 188–291Drive 328 km
- Drive from Safi to Rabatcar 328 km
3h 11mMAD 483–697Rideshare, bus
- Take the rideshare from Safi to El Jadida
- Take the bus from El Jadida to Farbus
- Take the bus from Casablanca Far to Rabatbus
7hMAD 260–375
Safi to Rabat by train
Questions & Answers
The cheapest way to get from Safi to Rabat is to bus and train which costs MAD 180 - MAD 300 and takes 5h 58m.
The fastest way to get from Safi to Rabat is to drive which takes 3h 11m and costs MAD 480 - MAD 700.
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 Casablanca. The journey, including transfers, takes approximately 5h 50m.
The distance between Safi and Rabat is 397 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 50m and costs MAD 160 - MAD 330.
It takes approximately 5h 50m to get from Safi to Rabat, including transfers.
Safi to Rabat train services, operated by Moroccan Railways (ONCF), depart from Gare ONCF de Safi station.
Safi to Rabat train services, operated by Moroccan Railways (ONCF), arrive at Casa-Voyageurs 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 1816+ hotels available in Rabat.
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.
- Phone
- 2255
- [email protected]
- Website
- oncf-voyages.ma
Train from Gare ONCF de Safi to Casa-Voyageurs
- Ave. Duration
- 4h 18m
- Frequency
- Once daily
- Estimated price
- MAD 120–250
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 120–180
- 1st Class
- MAD 180–250
Train from Casablanca to Rabat Ville
- Ave. Duration
- 57 min
- Frequency
- Hourly
- Estimated price
- MAD 35–75
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 35–50
- 1st Class
- MAD 50–75
Train from Casablanca Port to Rabat Ville
- Ave. Duration
- 1h 21m
- Frequency
- Hourly
- Estimated price
- MAD 35–75
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 35–50
- 1st Class
- MAD 50–75
- Phone
- 0 800 0900 30
- [email protected]
- Website
- ctm.ma
Bus from Safi to Far
- Ave. Duration
- 4h 10m
- Frequency
- 3 times a day
- Estimated price
- MAD 150–220
- Schedules at
- ctm.ma
- Confort
- MAD 150–170
Bus from El Jadida to Far
- Ave. Duration
- 1h 55m
- Frequency
- 3 times a day
- Estimated price
- MAD 60–90
- Schedules at
- ctm.ma
Bus from Casablanca Far to Rabat
- Ave. Duration
- 1h 15m
- Frequency
- Every 4 hours
- Estimated price
- MAD 55–80
- 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
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 Train travel in Spain: A guide to Renfe, Italy Travel Guides, and Need to know: Jadrolinija - to help you get the most out of your next trip.











