There are 5 ways to get from Marrakesh to Medina 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 Ville
3h 47mMAD 130–270Bus
- Take the bus from Marrakesh to Rabat Stn
4h 45mMAD 130–190Drive 318.2 km
- Drive from Marrakesh to Medina Rabat318.2 km
3h 30mMAD 452–653Fly to Mohammed V International Airport, train
- Fly from Marrakech (RAK) to Mohammed V International Airport (CMN)RAK - CMN
- Take the train from Casablanca to Rabat Ville
4h 48mMAD 956–1,134Fly to Rabat-Salé
- Fly from Marrakech (RAK) to Rabat-Salé (RBA)RAK - RBA
6h 13mMAD 721–2,162
Marrakesh to Medina Rabat by train and foot
Questions & Answers
The cheapest way to get from Marrakesh to Medina Rabat is to bus which costs MAD 130 - MAD 190 and takes 4h 45m.
The fastest way to get from Marrakesh to Medina Rabat is to drive which takes 3h 30m and costs MAD 450 - MAD 650.
Yes, there is a direct bus departing from Marrakesh and arriving at Rabat Stn. Services depart five times a day, and operate every day. The journey takes approximately 4h 35m.
Yes, there is a direct train departing from Marrakech and arriving at Rabat Ville. Services depart hourly, and operate every day. The journey takes approximately 3h 37m.
The distance between Marrakesh and Medina Rabat is 335 km. The road distance is 318.2 km.
The best way to get from Marrakesh to Medina Rabat without a car is to train which takes 3h 47m and costs MAD 130 - MAD 270.
The train from Marrakech to Rabat Ville takes 3h 37m including transfers and departs hourly.
Marrakesh to Medina Rabat bus services, operated by CTM, depart from Marrakesh station.
Marrakesh to Medina Rabat train services, operated by Moroccan Railways (ONCF), depart from Marrakech station.
The best way to get from Marrakesh to Medina Rabat is to train which takes 3h 47m and costs MAD 130 - MAD 270. Alternatively, you can bus, which costs MAD 130 - MAD 190 and takes 4h 45m, you could also fly, which costs MAD 700 - MAD 2,200 and takes 6h 13m.
What companies run services between Marrakesh, Morocco and Medina 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 130–190 and the journey takes 4h 35m.
- Website
- royalairmaroc.com
Flights from Marrakech to Mohammed V International Airport
- Ave. Duration
- 55 min
- When
- Every day
- Estimated price
- MAD 900–19,000
Flights from Marrakech to Rabat-Salé via Laayoune
- Ave. Duration
- 4h 10m
- When
- Wednesday and Friday
- Estimated price
- MAD 1,500–2,600
- Website
- ryanair.com
Flights from Marrakech to Rabat-Salé via Madrid
- Ave. Duration
- 5h 3m
- When
- Monday, Tuesday, Friday, Saturday, and Sunday
- Estimated price
- MAD 650–2,400
Flights from Marrakech to Rabat-Salé via Malaga
- Ave. Duration
- 9h 15m
- When
- Friday and Saturday
- Estimated price
- MAD 700–2,000
- Website
- qatarairways.com
Flights from Marrakech to Mohammed V International Airport
- Ave. Duration
- 55 min
- When
- Every day
- Estimated price
- MAD 900–19,000
- Phone
- 2255
- communication.digitale@oncf.ma
- 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 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
- Phone
- 0 800 0900 30
- ctmweb.ma@gmail.com
- Website
- ctm.ma
Bus from Marrakesh to Rabat Stn
- Ave. Duration
- 4h 35m
- Frequency
- 5 times a day
- Estimated price
- MAD 130–190
- Schedules at
- ctm.ma
- Comfort
- MAD 130–190
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 How to get from London City Airport into central London, How to get from Gatwick Airport into central London, 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 to Medina Rabat bus services, operated by CTM, arrive at Rabat Stn station.
Marrakesh to Medina Rabat train services, operated by Moroccan Railways (ONCF), arrive at Rabat Ville station.
Yes, the driving distance between Marrakesh to Medina Rabat is 318 km. It takes approximately 3h 30m to drive from Marrakesh to Medina Rabat.
There are 1592+ hotels available in Medina Rabat.












