There are 5 ways to get from Safi to Rabat by bus, train, 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.
Bus, train
best- Take the bus from Safi to Far
- Take the train from Casablanca Port to Rabat Ville
5h 27mMAD 139–245Train
- Take the train from Gare ONCF de Safi to Gare de Ben Guerir
- Take the train from Ben Guerir to Rabat Ville
5h 37mMAD 158–324Drive 328 km
- Drive from Safi to Rabat328 km
3h 11mMAD 466–673Taxi
- Take the taxi from Safi to Rabat328 km
3h 11mMAD 700–900Rideshare, bus
- Take the rideshare from Safi to El Jadida
- Take the bus from El Jadida to Ain Sebaa
- Take the bus from Casablanca Aïn Sebaâ to Rabat
6h 45mMAD 220–320
Safi to Rabat by bus and train
Questions & Answers
The cheapest way to get from Safi to Rabat is to bus and train which costs MAD 130 - MAD 250 and takes 5h 27m.
The fastest way to get from Safi to Rabat is to drive which takes 3h 11m and costs MAD 460 - 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 Ben Guerir. The journey, including transfers, takes approximately 5h 37m.
The distance between Safi and Rabat is 339 km. The road distance is 328 km.
The best way to get from Safi to Rabat without a car is to bus and train which takes 5h 27m and costs MAD 130 - MAD 250.
It takes approximately 5h 27m 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 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 1598+ 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 Ben Guerir in around 5h 37m.
- Phone
- 2255
- communication.digitale@oncf.ma
- Website
- oncf-voyages.ma
Train from Casablanca Port to Rabat Ville
- Ave. Duration
- 1h 7m
- 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 Gare ONCF de Safi to Gare de Ben Guerir
- Ave. Duration
- 2h
- 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 Ben Guerir to Rabat Ville
- Ave. Duration
- 2h 52m
- 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
- Phone
- 0 800 0900 30
- ctmweb.ma@gmail.com
- Website
- ctm.ma
Bus from Safi to Far
- Ave. Duration
- 3h 50m
- Frequency
- 4 times a day
- Estimated price
- MAD 100–170
- Schedules at
- ctm.ma
- Comfort
- MAD 100–150
- Confort
- MAD 150–170
Bus from El Jadida to Ain Sebaa
- Ave. Duration
- 1h 55m
- Frequency
- Once daily
- Estimated price
- MAD 45–65
- Schedules at
- ctm.ma
- Comfort
- MAD 45–65
Bus from Casablanca Aïn Sebaâ to Rabat
- Ave. Duration
- 1h
- Frequency
- Every 4 hours
- Estimated price
- MAD 30–50
- Schedules at
- ctm.ma
- Comfort
- MAD 30–50
Rideshare from Safi to El Jadida
- Ave. Duration
- 1h 50m
- Frequency
- On demand
- Estimated price
- MAD 140–210
- 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 Train travel in Spain: A guide to Renfe, Getting around the Cyclades, and How to get from London to Edinburgh - to help you get the most out of your next trip.












