Kech Travel Bus

Intercity route — motorways A7 then A3

Marrakech to Rabat327 km, 3 h 15on motorways A7 then A3

Marrakech and Rabat are 327 km apart on motorway A7 then A3. The drive takes 3 h 15 by car or private minibus, against 3 h 50 by ONCF train.

Rabat is Morocco’s administrative capital. The ONCF train runs eight departures a day from Marrakech, in 3 h 50.

Itinerary — motorway A7 then A3

Marrakech → Rabat

327 km · 3 h 15 driving · tolls 110 MAD

300 m700 m1,000 m
  1. Marrakech0 km · 466 m
  2. Benguerir75 km · 452 m
  3. Settat165 km · 330 m
  4. Berrechid200 km · 195 m
  5. Mohammedia245 km · 35 m
  6. Rabat327 km · 45 m
  • 327 kmroad distance
  • 3 h 15driving time
  • Motorways A7 then A3road
  • 110 MADcombined tolls
  • 3service areas on the route
  • 466 mhighest point, at Marrakech

Elevation profile, vertical scale exaggerated. Altitudes in metres above sea level.

What is the distance between Marrakech and Rabat?

The road distance between Marrakech and Rabat is 327 km on motorway A7 then A3. It is the longest run from Marrakech to a city served by rail. The return leg covers the same distance.

Motorway A7 reaches Casablanca at km 240, before motorway A3 takes over heading north to Rabat.

Both motorways are operated by Autoroutes du Maroc across the full 327 km, with no toll-free section.

How long does the Marrakech to Rabat journey take?

The journey takes 3 h 15 by car or private minibus on motorways A7 then A3. The ONCF train takes 3 h 50, the CTM coach 4 h 15. The grand taxi covers the same distance in 3 h 30.

The real average speed reaches 100 km/h on motorways A7 and A3, which are capped at 120 km/h along most of the route.

Both A7 and A3 are dual carriageways with a central reservation, with no single-lane section across the full 327 km.

Leaving before 7 a.m. avoids the Greater Casablanca jams crossed at km 240, ahead of the junction with motorway A3 toward Rabat.

How do the Marrakech to Rabat transport options compare?

The ONCF train competes with the private minibus on this link, with eight daily departures. The minibus stays the only door-to-door option reaching Rabat’s ministerial district. The grand taxi remains cheapest at 98 MAD a seat, ahead of the CTM coach at 115 MAD.

Marrakech – Rabat, fares and times recorded in March 2026
ModeDurationPriceFrequencyComfortLuggageDoor-to-door
Private minibus3 h 15€175 – 305On demandHighUnlimitedYes
ONCF train3 h 50130 – 250 MAD8 departures/dayHigh2 suitcasesNo
CTM coach4 h 15115 – 130 MAD4 departures/dayMedium1 in the holdNo
Grand taxi3 h 3098 MAD/seatWhen fullLow1 small bagNo
Rental car3 h 15350 MAD/dayOn demandHighBootYes
Scroll the table horizontally

Fares sourced from ONCF and CTM in March 2026. Supratours skips this link entirely, since Rabat already has its own ONCF station.

How do you get from Marrakech to Rabat?

The ONCF train, the CTM coach, the grand taxi and the private minibus all run this 327 km link. The train remains the direct competitor of the minibus on this route.

By ONCF train

Eight daily ONCF departures from Marrakech’s avenue Hassan II station reach Rabat in 3 h 50, for a fare of 130 to 250 MAD depending on class.

Rabat-Agdal station sits 2 km from the ministerial district where government offices are based.

By CTM coach

CTM runs four daily departures to Rabat from Guéliz, reaching it in 4 h 15 for 115 to 130 MAD.

The 20 kg hold-luggage allowance and its 5 MAD extra-kilo charge match every CTM line out of Marrakech.

By grand taxi

The grand taxi Mercedes 240 covers the 327 km to Rabat in a single run from Bab Doukkala, the longest direct link on the network, at 98 MAD a seat.

You can buy all six seats for 588 MAD and leave immediately rather than wait for other passengers.

By private minibus with a driver

The driver collects passengers at their hotel and drops them at the exact address in Rabat, including the ministerial district.

The trip includes the A7 and A3 motorway tolls, for a combined 110 MAD.

How much does the Marrakech to Rabat trip cost?

The private transfer costs €205 in a 9-seat minibus, or 2,255 MAD. The train costs 130 to 250 MAD per person, the CTM coach 115 to 130 MAD, and the grand taxi 98 MAD.

ModePrice in MADPrice in EURBilling basis
Private 7-seater minibus1,925 MAD€175per vehicle
Private 9-seater minibus2,255 MAD€205per vehicle
Private 15-seater minibus3,355 MAD€305per vehicle
ONCF train, 2nd class130 MAD€12per person
ONCF train, 1st class250 MAD€23per person
CTM coach115 – 130 MAD€10 – 12per person
Grand taxi, one seat98 MAD€9per person
Grand taxi, whole vehicle588 MAD€53per vehicle
Scroll the table horizontally

Converted at 11 MAD to €1. Private fares include fuel, the driver and both the A7 and A3 tolls.

What towns does the road between Marrakech and Rabat cross?

Five towns punctuate motorways A7 then A3: Benguerir, Settat, Berrechid, Mohammedia and Skhirat. The private minibus can pull in at any of them, at no extra charge to the passenger.

The junction between motorway A7 and motorway A3, at Mohammedia, marks the handover from the country’s southern motorway network to its northern one.

Townkm from MarrakechWhat it isTypical stop
Benguerir75 kmMining town on the Rehamna plateau15 min, coffee and fuel
Settat165 kmProvincial capital of the Casablanca-Settat regionNo stop on the motorway
Berrechid200 kmIndustrial town at the southern edge of Greater Casablanca10 min, fuel
Mohammedia245 kmCoastal town and oil port, junction between motorway A7 and motorway A320 min, ADM service area
Skhirat300 kmSeaside municipality 27 km south of RabatNo stop on the motorway
Scroll the table horizontally

How do you reach Rabat from Marrakech Menara airport?

The direct transfer to Rabat covers 333 km in 3 h 20 from Marrakech Menara airport (RAK). Waiting is free for 60 minutes after landing, and the transfer uses the southern ring road, 6 km from the city centre, without crossing the medina.

The trip follows the same southern ring road as a departure from central Marrakech, before joining motorway A7 and then motorway A3. The extra 6 km adds only 5 minutes to the total journey.

Waiting is free for 60 minutes after the actual landing time, then billed at €8 an hour beyond that.

Our private Marrakech to Rabat transfer

We run the Marrakech – Rabat transfer by private minibus from €205, driver, fuel and the A7 and A3 tolls included. The price is fixed and does not change with the number of passengers.

Our private Marrakech to Rabat transfer
VehiclePassengersOne wayReturn
Mercedes Vito7€175€315
Hyundai Staria9€205€370
Mercedes Sprinter long15€305€550
Scroll the table horizontally

A same-day return from Rabat leaves up to 6 hours free before the drive back.

  • Licensed driver
  • Fuel and the A7 and A3 motorway tolls
  • Cold water on board
  • Child seats on request
  • Onboard 4G wifi

Which pages continue from this route?

Three other pages continue from Marrakech – Rabat: the road to Casablanca, the longer run to Tangier, and the tour that links the six imperial cities of the kingdom. Marrakech to Casablanca covers 240 km, while Marrakech to Tangier covers 580 km.

Frequently asked questions

Is there a train between Marrakech and Rabat?

Yes. ONCF runs eight departures a day in 3 h 50. The fare ranges from 130 to 250 MAD depending on class. Rabat-Agdal station sits 2 km from the ministerial district.

Is there a toll on the Marrakech to Rabat route?

Yes, the A7 and A3 motorway tolls total 110 MAD. Autoroutes du Maroc operates both roads across the full 327 km. The private transfer fare has this toll built in already.

What is the fastest way from Marrakech to Rabat?

The private minibus and the rental car are fastest, at 3 h 15. The train follows at 3 h 50, the grand taxi at 3 h 30. The CTM coach is the slowest, at 4 h 15.

Is Rabat farther from Marrakech than Casablanca?

Yes, by 87 km. Rabat sits 327 km from Marrakech, against 240 km for Casablanca. That extra 87 km adds 45 more minutes of driving on motorway A3, north past Casablanca.

Does the Marrakech to Rabat route cross mountainous terrain?

No, Marrakech itself is the summit of this route, at 466 m. The road drops steadily all the way to the Atlantic coast. No mountain pass and no hairpin bend interrupt the 327 km.

Does Supratours serve Marrakech to Rabat?

No. Supratours only runs to Moroccan towns without a railway station, which rules out Rabat entirely. The CTM coach and the ONCF train cover this link, alongside the private minibus.

Does fog affect the road to Rabat?

Yes, coastal fog reduces visibility near Skhirat in summer. It forms on mornings from June to August before clearing after 9 a.m. The Chaouia plateau sees a distinct winter fog further south.

Get a quote

Where are you going?

Send your dates and how many of you are travelling. You get a priced itinerary back — no commitment, no deposit.

Office
Avenue Mohammed VI, Guéliz — 40000 Marrakech
Hours
Every day, 7:00 – 23:00 (GMT+1)