Rabat is the most underrated capital in North Africa. While travellers crowd into Marrakech and Fes, it offers palm-lined boulevards, a peaceful medina where you can wander without being hassled, the white-and-blue Kasbah of the Udayas perched above the ocean, and the Hassan Tower, an unfinished twelfth-century minaret. A UNESCO World Heritage city, it deserves far more than a quick stop. That leaves a practical question: how do you get to Rabat from Marrakech, just over 320 kilometres away? Train, bus, plane or private driver: here are the options, the real journey times and our advice.
The options at a glance
| Transport | Door-to-door time | Strengths | Drawbacks |
|---|---|---|---|
| ONCF train | 5 to 5 h 30 | Affordable, comfortable | Stations, timetables, bags to carry |
| CTM or Supratours bus | 5 to 6 hours | Cheapest | Bus stations, few stops of your choice |
| Plane | 4 to 5 hours | Fast in the air | Few direct flights, airports, security |
| Private driver | 3 h 30 to 4 hours | Door to door, stops when you like | Pricier alone, good value as a group |
The train: simple and affordable
Trains link Marrakech station to Rabat Ville in about four hours, several times a day, via Casablanca. Rabat Ville station is right in the centre, a few minutes from the medina. In first class, the comfort is decent, with reserved seats. But add the ride to Marrakech station, the wait on the platform and the taxi at the other end, and door to door often exceeds five hours. A high-speed line to Marrakech is under construction and will cut this journey sharply in a few years. Our guide to trains in Morocco explains how to book.
The bus: for tight budgets
CTM and Supratours run regular services. It is the cheapest option, but also the slowest, with fixed stops. Our article on CTM and Supratours buses explains how they work.
A private driver: the journey becomes part of the trip
By car, the motorway links Marrakech to Casablanca and then Rabat in 3 h 30 to 4 hours without stopping. The real benefit lies elsewhere: you leave your riad when you like, your bags stay in the vehicle, and you can stop along the way.
- The Hassan II Mosque in Casablanca, one of the largest in the world, set on the ocean. It is visited with a guide at set times, and it is the most popular stop on the route.
- The Ain Diab corniche, for a fish lunch facing the Atlantic.
- A coffee at a motorway service area, clean and quick, to stretch your legs.
With a stop in Casablanca, it makes a lovely day: leave Marrakech around 8 am, visit the mosque in the late morning, have lunch on the corniche, and reach Rabat by mid-afternoon. Our article on Marrakech to Casablanca covers this first leg in detail.
What to see in Rabat in one or two days
- The Kasbah of the Udayas, its white-and-blue lanes, its Andalusian garden and its terrace over the mouth of the Bou Regreg.
- The Hassan Tower and the Mausoleum of Mohammed V, guarded by horsemen in ceremonial dress.
- The Chellah, a Marinid necropolis built on an ancient Roman town and home to storks.
- The medina, calm and authentic, with Rue des Consuls and its craftsmen.
- The banks of the Bou Regreg, with the marina, the Grand Theatre and the Mohammed VI Tower, the capital’s new skyline landmark.
Rabat is easily seen in a day and a half. Our driver can also stay with you there, by the half day or full day, to link sites that are far apart.
Rabat in a wider itinerary
Rabat is a natural stop on the road north. From the capital, Meknes and Volubilis are about two hours away, Fes just over two and a half hours and Chefchaouen nearly four. Many of our travellers build a loop: Marrakech, Casablanca, Rabat, Meknes, Fes, then back to Marrakech through the Middle Atlas or via the desert. Our article on the imperial cities tour sets out this itinerary, and our guide to Marrakech to Chefchaouen explains how to reach the blue city.
A same-day return: is it sensible?
It is possible but long: eight hours of driving for a few hours in the city. We advise against it, except for an official or business appointment in Rabat. One night there changes everything, and the riads of the Rabat medina or the hotels of Agdal are pleasant and often cheaper than in Marrakech.
Our practical tips
- Leave early to enjoy the morning light and avoid arriving in Rabat at rush hour.
- Plan the Hassan II Mosque visit around the tour times, which change on Fridays and during Ramadan.
- Wear clothes covering shoulders and knees for the mosque and the mausoleum.
- Give your exact accommodation: in the Kasbah of the Udayas as in the medina, cars stop at the gates.
Book your Marrakech to Rabat journey
We organise the Marrakech to Rabat journey by private vehicle, with or without a stop in Casablanca, from your hotel or riad, at a fixed price per vehicle confirmed in writing. Flying into Casablanca? The Casablanca airport transfer can take you straight to Rabat, and the Casablanca airport to Marrakech transfer does the reverse. Our article on private transfer prices explains how the fare is worked out. Ask for a quote from the contact page or see the private taxi in Marrakech page.






