There are 7 ways to get from Marrakesh to Rabat 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 53 min

  1. Take the train from Marrakech to Rabat Ville

$14 - $26

Cheapest option

Bus, train  •  5 h 20 min

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

$13 - $22

5 alternative options

Grand Taxi  •  4 h 35 min

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

$18 - $39

Drive  •  3 h 12 min

  1. Drive from Marrakesh to Rabat 203.3 miles

$30 - $45

Fly to Casablanca, train  •  4 h 57 min

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

$119 - $338

Fly to Rabat  •  8 h 1 min

  1. Fly from Marrakech (RAK) to Rabat (RBA) RAK - RBA

$55 - $178

Fly to Fes, train  •  6 h 53 min

  1. Fly from Marrakech (RAK) to Fes (FEZ) RAK - FEZ
  2. Take the train from Fès to Rabat Ville

$199 - $400

Questions & Answers

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

More details

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

More details

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

Get driving directions

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

More details

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

More details

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

Moroccan Railways (ONCF) operates a train from Marrakesh to Rabat every 4 hours. Tickets cost $14 - $26 and the journey takes 4 h 53 min. Alternatively, TUI fly Belgium, Ryanair and five other airlines fly from Marrakesh to Rabat every 4 hours.

Airlines
Royal Air Maroc
Website
royalairmaroc.com
Flights from Marrakech to Casablanca
Ave. Duration
47 min
When
Every day
Estimated price
$100 - $450
Flights from Marrakech to Rabat via Paris Orly
Ave. Duration
7 h 5 min
When
Every day
Estimated price
$150 - $650
Flights from Marrakech to Rabat via Casablanca, Marseille
Ave. Duration
7 h 40 min
When
Saturday
Estimated price
$140 - $550
Flights from Marrakech to Rabat via Casablanca, Madrid
Ave. Duration
7 h 40 min
When
Monday and Friday
Estimated price
$120 - $390
Flights from Marrakech to Fes via Casablanca
Ave. Duration
2 h 35 min
When
Monday, Wednesday and Friday
Estimated price
$170 - $650
Ryanair
Website
ryanair.com
Flights from Marrakech to Rabat via Madrid
Ave. Duration
6 h 55 min
When
Saturday
Estimated price
$30 - $150
Flights from Marrakech to Rabat via Marseille
Ave. Duration
8 h 20 min
When
Tuesday, Thursday and Saturday
Estimated price
$50 - $200
Flights from Marrakech to Rabat via Rome Ciampino
Ave. Duration
8 h 25 min
When
Tuesday and Saturday
Estimated price
$60 - $220
Flights from Marrakech to Rabat via London Stansted
Ave. Duration
9 h 35 min
When
Tuesday, Thursday and Saturday
Estimated price
$65 - $240
Flights from Marrakech to Rabat via Charleroi
Ave. Duration
11 h 50 min
When
Tuesday, Thursday and Saturday
Estimated price
$65 - $230
TUI fly Belgium
Website
tuifly.be
Flights from Marrakech to Rabat via Paris Orly
Ave. Duration
7 h 27 min
When
Friday and Sunday
Estimated price
$120 - $650
Transavia France
Website
transavia.com
Flights from Marrakech to Rabat via Paris Orly
Ave. Duration
8 h 55 min
When
Tuesday, Thursday and Saturday
Estimated price
$110 - $550
Air France
Website
airfrance.com
Flights from Marrakech to Rabat via Paris CDG
Ave. Duration
12 h 30 min
When
Every day
Estimated price
$190 - $800
Air Arabia Maroc
Website
airarabia.com
Flights from Marrakech to Fes
Ave. Duration
1 h
When
Wednesday, Friday and Sunday
Estimated price
$60 - $200
Train operators
Moroccan Railways (ONCF)
Email
ketary@oncf.ma
Website
oncf.ma
Train from Marrakech to Rabat Ville
Ave. Duration
4 h 53 min
Frequency
Every 4 hours
Estimated price
$14 - $26
Schedules at
oncf.ma
2nd Class
$14 - $18
1st Class
$18 - $26
Train from Casablanca Port to Rabat Ville
Ave. Duration
1 h 13 min
Frequency
Hourly
Estimated price
$4 - $9
Schedules at
oncf.ma
2nd Class
$4 - $5
1st Class
$6 - $9
Train from Casa-Voyageurs to Rabat Ville
Ave. Duration
1 h 8 min
Frequency
Every 30 minutes
Estimated price
$3 - $8
Schedules at
oncf.ma
2nd Class
$3 - $5
1st Class
$5 - $8
Train from Fès to Rabat Ville
Ave. Duration
3 h 15 min
Frequency
Hourly
Estimated price
$9 - $18
Schedules at
oncf.ma
2nd Class
$9 - $12
1st Class
$12 - $18
Bus operators
CTM
Phone
0800090030
Email
ctmweb.ma@gmail.com
Website
ctm.ma
Bus from Marrakech to Casablanca
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 Marrakesh to Casablanca
Ave. Duration
3 h
Frequency
Hourly
Estimated price
$11 - $29
Schedules at
heymorocco.com
Rideshare from Casablanca to Rabat
Ave. Duration
1 h 5 min
Frequency
Hourly
Estimated price
$6 - $11
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 What documents do I need to cross Niagara Falls?, French strikes 2018: What are my alternative transport options? and Is ride-sharing platform BlaBlaCar right for you? - to help you get the most out of your next trip.