There are 5 ways to get from Rabat to Marrakesh 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.
Recommended option
Train • 3h 39m
4 alternative options
Bus • 4h 30m
Drive • 3h 27m
Fly from Rabat-Salé • 6h 29m
Rabat to Marrakesh by train
Questions & Answers
The cheapest way to get from Rabat to Marrakesh is to bus which costs MAD 130 - MAD 190 and takes 4h 30m.
The fastest way to get from Rabat to Marrakesh is to drive which takes 3h 27m and costs MAD 440 - MAD 650.
Yes, there is a direct bus departing from Rabat and arriving at Marrakesh. Services depart four times a day, and operate every day. The journey takes approximately 4h 30m.
Yes, there is a direct train departing from Rabat Ville and arriving at Marrakech. Services depart every two hours, and operate every day. The journey takes approximately 3h 39m.
The distance between Rabat and Marrakesh is 334 km. The road distance is 317.8 km.
The best way to get from Rabat to Marrakesh without a car is to train which takes 3h 39m and costs MAD 130 - MAD 250.
The train from Rabat Ville to Marrakech takes 3h 39m including transfers and departs every two hours.
Rabat to Marrakesh bus services, operated by CTM, depart from Rabat station.
Rabat to Marrakesh train services, operated by Moroccan Railways (ONCF), depart from Rabat Ville station.
The best way to get from Rabat to Marrakesh is to train which takes 3h 39m and costs MAD 130 - MAD 250. Alternatively, you can bus, which costs MAD 130 - MAD 190 and takes 4h 30m, you could also fly, which costs MAD 1,100 - MAD 2,800 and takes 6h 29m.

- Distance: 334 km
- Duration: 3h 39m
What companies run services between and ?
Moroccan Railways (ONCF) operates a train from Rabat Ville to Marrakech every 2 hours. Tickets cost MAD 130 - MAD 250 and the journey takes 3h 39m. Alternatively, CTM operates a bus from Rabat to Marrakesh 4 times a day. Tickets cost MAD 130 - MAD 190 and the journey takes 4h 30m.

- Website
- royalairmaroc.com
Flights from Casablanca to Marrakech
- Ave. Duration
- 58 min
- When
- Every day
- Estimated price
- MAD 1,500 - MAD 3,500

- Website
- qatarairways.com
Flights from Casablanca to Marrakech
- Ave. Duration
- 55 min
- When
- Every day
- Estimated price
- MAD 1,800 - MAD 4,700
Flights from Rabat-Salé to Marrakech via Barcelona
- Ave. Duration
- 7h 15m
- When
- Friday
- Estimated price
- MAD 1,100 - MAD 2,700

- Website
- ryanair.com
Flights from Rabat-Salé to Marrakech via Malaga
- Ave. Duration
- 7h 31m
- When
- Monday, Tuesday, Wednesday, Thursday, Saturday and Sunday
- Estimated price
- MAD 1,000 - MAD 2,400

- Website
- vueling.com
Flights from Rabat-Salé to Marrakech via Barcelona
- Ave. Duration
- 7h 15m
- When
- Friday
- Estimated price
- MAD 1,100 - MAD 2,700
_202111160906.png)
Morocco’s comfortable and fast train network is operated by ONCF (Office National des Chemins de Fer) and links many tourist destinations, including a high-speed TGV link from Tangier via Rabat and Casablanca to Marrakech. For popular destinations where there is no train service, ONCF-operated Supratours offers connecting bus services from the nearest railway station to places like Agadir, Tétouan and Essaouira.
Contact Details
- Phone
- 2255
- communication.digitale@oncf.ma
- Website
- oncf-voyages.ma
Train from Rabat Ville to Marrakech
- Ave. Duration
- 3h 39m
- Frequency
- Every 2 hours
- Estimated price
- MAD 130 - MAD 250
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 130 - MAD 190
- 1st Class
- MAD 190 - MAD 250
Train from Rabat Ville to Casablanca
- Ave. Duration
- 55 min
- Frequency
- Hourly
- Estimated price
- MAD 30 - MAD 70
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 30 - MAD 50
- 1st Class
- MAD 50 - MAD 70

- Phone
- 0 800 0900 30
- ctmweb.ma@gmail.com
- Website
- ctm.ma
Bus from Rabat to Marrakesh
- Ave. Duration
- 4h 30m
- Frequency
- 4 times a day
- Estimated price
- MAD 130 - MAD 190
- Schedules at
- ctm.ma
- Comfort
- MAD 130 - MAD 190
- Confort
- MAD 160 - MAD 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 Need to know: Eurostar, Why you should take the train in the US and Travelling Croatia’s Dalmatian Coast by boat, bus, car and train - to help you get the most out of your next trip.
More Questions & Answers
Rabat to Marrakesh bus services, operated by CTM, arrive at Marrakesh station.
Rabat to Marrakesh train services, operated by Moroccan Railways (ONCF), arrive at Marrakech station.
Yes, the driving distance between Rabat to Marrakesh is 318 km. It takes approximately 3h 27m to drive from Rabat to Marrakesh.
There are 8140+ hotels available in Marrakesh. Prices start at MAD 0 per night.