There are 4 ways to get from Marrakesh–Safi to Rabat by train, bus, car, or plane
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 Marrakech to Rabat Villetrain
4h 27mMAD 137–300Bus
- Take the bus from Marrakesh to Rabat Stnbus
5h 22mMAD 157–310Drive 318.3 km
- Drive from Marrakesh to Rabatcar 318.3 km
3h 9mMAD 461–666Fly, train
- Fly from Marrakech (RAK) to Mohammed V International Airport (CMN)plane RAK - CMN
- Take the train from Gare Oasis to Rabat Villetrain
5h 6mMAD 904–1,130
Marrakech (RAK) to Mohammed V International Airport (CMN) flights
Questions & Answers
The cheapest way to get from Marrakesh–Safi to Rabat is to bus which costs MAD 150 - MAD 310 and takes 5h 22m.
The fastest way to get from Marrakesh–Safi to Rabat is to drive which takes 3h 9m and costs MAD 460 - MAD 700.
No, there is no direct bus from Marrakesh–Safi to Rabat. However, there are services departing from Bab doukkala and arriving at Rabat Stn via Marrakesh. The journey, including transfers, takes approximately 5h 22m.
No, there is no direct train from Marrakesh–Safi to Rabat. However, there are services departing from Marrakech and arriving at Rabat Ville via . The journey, including transfers, takes approximately 4h 27m.
The distance between Marrakesh–Safi and Rabat is 338 km. The road distance is 318.3 km.
The best way to get from Marrakesh–Safi to Rabat without a car is to train which takes 4h 27m and costs MAD 130 - MAD 300.
It takes approximately 4h 27m to get from Marrakesh–Safi to Rabat, including transfers.
Marrakesh–Safi to Rabat bus services, operated by CTM, depart from Marrakesh station.
Marrakesh–Safi to Rabat train services, operated by Moroccan Railways (ONCF), depart from Marrakech station.
The best way to get from Marrakesh–Safi to Rabat is to train which takes 4h 27m and costs MAD 130 - MAD 300. Alternatively, you can bus, which costs MAD 150 - MAD 310 and takes 5h 22m.
What companies run services between Marrakesh–Safi, Morocco and Rabat, Morocco?
Moroccan Railways (ONCF) operates a train from Marrakech to Rabat Ville hourly. Tickets cost MAD 130–270 and the journey takes 3h 37m. Alternatively, CTM operates a bus from Marrakesh to Rabat Stn 5 times a day. Tickets cost MAD 150–280 and the journey takes 4h 20m.
- Website
- royalairmaroc.com
Flights from Marrakech to Mohammed V International Airport
- Ave. Duration
- 57 min
- When
- Every day
- Estimated price
- MAD 850–6,000
- Website
- qatarairways.com
Flights from Marrakech to Mohammed V International Airport
- Ave. Duration
- 58 min
- When
- Every day
- Estimated price
- MAD 850–6,000
- Phone
- 2255
- [email protected]
- Website
- oncf-voyages.ma
Train from Marrakech to Rabat Ville
- Ave. Duration
- 3h 37m
- Frequency
- Hourly
- Estimated price
- MAD 130–270
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 130–190
- 1st Class
- MAD 200–270
Train from Gare Oasis to Rabat Ville
- Ave. Duration
- 1h 6m
- Frequency
- Hourly
- Estimated price
- MAD 35–75
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 35–55
- 1st Class
- MAD 55–75
- Phone
- 0 800 0900 30
- [email protected]
- Website
- ctm.ma
Bus from Marrakesh to Rabat Stn
- Ave. Duration
- 4h 20m
- Frequency
- 5 times a day
- Estimated price
- MAD 150–280
- Schedules at
- ctm.ma
- Confort
- MAD 150–170
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 Bali: What to do if Mount Agung erupts, How do I buy a London Underground ticket?, and The beginner’s guide to the 2018 World Nomad Games - to help you get the most out of your next trip.
More Questions & Answers
Marrakesh–Safi to Rabat bus services, operated by CTM, arrive at Rabat Stn station.
Marrakesh–Safi to Rabat train services, operated by Moroccan Railways (ONCF), arrive at Rabat Ville station.
Yes, the driving distance between Marrakesh–Safi to Rabat is 318 km. It takes approximately 3h 9m to drive from Marrakesh–Safi to Rabat.
Book your Marrakesh–Safi to Rabat train tickets online with 12go.asia.
Book your Marrakesh–Safi to Rabat bus tickets online with 12go.asia.
There are 1802+ hotels available in Rabat.











