• Our partners include:

  • Booking.com
  • Skyscanner
  • Airbnb
  • Expedia
  • Uber
  • Rentalcars.com

There are 5 ways to get from Rabat to Marrakesh by train, bus, rideshare, 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  •  4 h 45 min

  1. Take the train from Rabat Ville to Marrakech

$14 - $27

Cheapest option

Train, bus  •  5 h 36 min

  1. Take the train from Rabat Ville to Casablanca Port
  2. Take the bus from Casablanca to Marrakech

$13 - $21

3 alternative options

Grand Taxi  •  4 h 35 min

  1. Take the Grand Taxi from Rabat to Casablanca
  2. Take the Grand Taxi from Casablanca to Marrakesh

$17 - $39

Drive  •  3 h 11 min

  1. Drive from Rabat to Marrakesh 203.6 miles

$30 - $45

Train, fly  •  5 h 4 min

  1. Take the train from Rabat Ville to Casa-Voyageurs
  2. Fly from Casablanca (CMN) to Marrakech (RAK) CMN - RAK

$105 - $323

Questions & Answers

The cheapest way to get from Rabat to Marrakesh is to train and bus which costs MAD 120 - MAD 210 and takes 5 h 36 min.

More details

The quickest way to get from Rabat to Marrakesh is to drive which costs MAD 280 - MAD 420 and takes 3 h 11 min.

More details

Yes, there is a direct train departing from Rabat Ville and arriving at Marrakech. Services depart every four hours, and operate every day. The journey takes approximately 4 h 45 min.

More details

The distance between Rabat and Marrakesh is 286 km. The road distance is 325.7 km.

Get driving directions

The best way to get from Rabat to Marrakesh without a car is to train which takes 4 h 45 min and costs MAD 130 - MAD 250.

More details

The train from Rabat Ville to Marrakech takes 4 h 45 min including transfers and departs every four hours.

More details

Rabat to Marrakesh train services, operated by Moroccan Railways (ONCF), depart from Rabat Ville station.

More details

The quickest flight from Casablanca Airport to Marrakech Airport is the direct flight which takes 50 min.

Search flights

Rabat to Marrakesh train services, operated by Moroccan Railways (ONCF), arrive at Marrakech station.

More details

Yes, the driving distance between Rabat to Marrakesh is 326 km. It takes approximately 3 h 11 min to drive from Rabat to Marrakesh.

Get driving directions

Map of how to get from Rabat to Marrakesh.
Launch map view
  • Distance: 178.8 miles
  • Duration: 4 h 45 min

What companies run services between Rabat, Morocco and Marrakesh, Morocco?

Moroccan Railways (ONCF) operates a train from Rabat to Marrakesh every 4 hours. Tickets cost $14 - $27 and the journey takes 4 h 45 min.

Airlines
Royal Air Maroc
Website
royalairmaroc.com
Flights from Casablanca to Marrakech
Ave. Duration
50 min
When
Every day
Estimated price
$110 - $450
Qatar Airways
Website
qatarairways.com
Flights from Casablanca to Marrakech
Ave. Duration
50 min
When
Every day
Estimated price
$110 - $450
Train operators
Moroccan Railways (ONCF)
Email
ketary@oncf.ma
Website
oncf.ma
Train from Rabat Ville to Marrakech
Ave. Duration
4 h 45 min
Frequency
Every 4 hours
Estimated price
$14 - $27
Schedules at
oncf.ma
2nd Class
$14 - $18
1st Class
$18 - $27
Train from Rabat Ville to Casablanca Port
Ave. Duration
1 h 15 min
Frequency
Hourly
Estimated price
$4 - $9
Schedules at
oncf.ma
2nd Class
$4 - $5
1st Class
$6 - $9
Train from Rabat Ville to Casa-Voyageurs
Ave. Duration
1 h 5 min
Frequency
Every 30 minutes
Estimated price
$3 - $9
Schedules at
oncf.ma
2nd Class
$3 - $5
1st Class
$5 - $9
Bus operators
CTM
Phone
0800090030
Email
ctmweb.ma@gmail.com
Website
ctm.ma
Bus from Casablanca to Marrakech
Ave. Duration
3 h 45 min
Frequency
Hourly
Estimated price
$9 - $13
Schedules at
ctm.ma
Regular
$10
Comfort Plus
$10
Premium
$13
Other operators
Grand Taxis
Email
info@HeyMorocco.com
Website
heymorocco.com
Rideshare from Rabat to Casablanca
Ave. Duration
1 h 5 min
Frequency
Hourly
Estimated price
$6 - $11
Schedules at
heymorocco.com
Rideshare from Casablanca to Marrakesh
Ave. Duration
3 h
Frequency
Hourly
Estimated price
$11 - $29
Schedules at
heymorocco.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 Need to know: Eurostar, 4 of the smartest ways to explore Australia and Italian Lakes: Getting around by train - to help you get the most out of your next trip.

More Questions & Answers

Qatar Airways and Royal Air Maroc offer flights from Casablanca Airport to Marrakech Airport.

Search flights

There are 2025+ hotels available in Marrakesh. Prices start at $43 USD per night.

More details

Check out Blablacar's carpooling service for rideshare options between Rabat and Marrakesh. A great option if you don't have a driver's licence or want to avoid public transport.

Read Rome2rio's guide to Blablacar