There are 5 ways to get from Rabat to Safi 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 Rabat Ville to Ben Guerir
- Take the train from Gare de Ben Guerir to Gare ONCF de Safi
5h 58mMAD 161–329Train, bus
cheapest- Take the train from Rabat Ville to Ain Sebaa
- Take the bus from Ain Sebaa to Safi
7h 25mMAD 133–235Drive 328.2 km
- Drive from Rabat to Safi328.2 km
3h 12mMAD 466–673Taxi
- Take the taxi from Rabat to Safi328.2 km
3h 12mMAD 700–900Bus, rideshare
- Take the bus from Rabat to Casablanca Aïn Sebaâ
- Take the bus from Ain Sebaa to El Jadida
- Take the rideshare from El Jadida to Safi
6h 50mMAD 219–322
Rabat to Safi by train
Questions & Answers
The cheapest way to get from Rabat to Safi is to train and bus which costs MAD 130 - MAD 240 and takes 7h 25m.
The fastest way to get from Rabat to Safi is to drive which takes 3h 12m and costs MAD 460 - MAD 700.
No, there is no direct train from Rabat to Safi. However, there are services departing from Rabat Ville and arriving at Gare ONCF de Safi via Gare de Ben Guerir. The journey, including transfers, takes approximately 5h 58m.
The distance between Rabat and Safi is 402 km. The road distance is 328.2 km.
The best way to get from Rabat to Safi without a car is to train which takes 5h 58m and costs MAD 160 - MAD 330.
It takes approximately 5h 58m to get from Rabat to Safi, including transfers.
Rabat to Safi train services, operated by Moroccan Railways (ONCF), depart from Rabat Ville station.
Rabat to Safi train services, operated by Moroccan Railways (ONCF), arrive at Ben Guerir station.
Yes, the driving distance between Rabat to Safi is 328 km. It takes approximately 3h 12m to drive from Rabat to Safi.
There are 91+ hotels available in Safi.
What companies run services between Rabat, Morocco and Safi, Morocco?
You can take a train from Rabat Ville to Gare ONCF de Safi via Gare de Ben Guerir in around 5h 58m.
- Phone
- 2255
- communication.digitale@oncf.ma
- Website
- oncf-voyages.ma
Train from Rabat Ville to Ben Guerir
- Ave. Duration
- 2h 56m
- Frequency
- Hourly
- Estimated price
- MAD 100–210
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 100–150
- 1st Class
- MAD 150–210
Train from Gare de Ben Guerir to Gare ONCF de Safi
- Ave. Duration
- 2h 2m
- Frequency
- Twice daily
- Estimated price
- MAD 55–120
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 55–80
- 1st Class
- MAD 85–120
Train from Rabat Ville to Ain Sebaa
- Ave. Duration
- 57 min
- Frequency
- Every 30 minutes
- Estimated price
- MAD 30–65
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.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 Ain Sebaa to Safi
- Ave. Duration
- 5h 15m
- Frequency
- Once daily
- Estimated price
- MAD 100–170
- Schedules at
- ctm.ma
- Comfort
- MAD 100–150
- Confort
- MAD 150–170
Bus from Rabat to Casablanca Aïn Sebaâ
- Ave. Duration
- 1h 15m
- Frequency
- Every 3 hours
- Estimated price
- MAD 30–50
- Schedules at
- ctm.ma
- Comfort
- MAD 30–50
Bus from Ain Sebaa to El Jadida
- Ave. Duration
- 2h 15m
- Frequency
- Once daily
- Estimated price
- MAD 45–65
- Schedules at
- ctm.ma
- Comfort
- MAD 45–65
Rideshare from El Jadida to Safi
- Ave. Duration
- 1h 50m
- Frequency
- On demand
- Estimated price
- MAD 140–210
- Schedules at
- moroccocab.com
- Ave. Duration
- 3h 12m
- Estimated price
- MAD 700–900
Rabat Transport Tours
- Phone
- 00 212 6 61 87 69 55
- Website
- taxirabattours.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 What documents do I need to cross Niagara Falls?, 4 stunningly beautiful Philippines islands you need to visit, and Want to know more about Flixbus? - to help you get the most out of your next trip.












