Route planning tool
Morocco Distance Calculator
Pick two places to see the road distance and a realistic driving time. As a guide, Marrakech to Essaouira is about 190 km (2.5–3 hours) and Marrakech to Merzouga is about 9 hours over the High Atlas. Direct trains run Marrakech–Fes in roughly six and a half to seven hours.
- Every pair answers
- Towns on the way
- Free driver quote
The calculator
Two places, one honest answer.
Marrakech to Fes
- Road distance
- about 530 km
- Driving time, non-stop
- about 6 h 30
- The road: A7 motorway to Casablanca, then the A2 to Fes. Motorway or a fast main road.
- On the way: Middle Atlas, Cedar forests, Berber villages.
- Or: N8 via Beni Mellal and Khenifra: shorter, but slower through the Middle Atlas.
- Add 20–30% for photo, tea and lunch stops. Mountain passes can be slower in winter.
The road atlas
Hours between ten places.
The old road-atlas triangle: find one place along the top, the other down the side, and read the non-stop driving time where they meet. Add 20–30% for stops.
| Tangier | Chefchaouen | Rabat | Casablanca | Fes | Marrakech | Essaouira | Agadir | Ouarzazate | |
|---|---|---|---|---|---|---|---|---|---|
| Chefchaouen | 2 h 15 | ||||||||
| Rabat | 2 h 45 | 4 h | |||||||
| Casablanca | 3 h 45 | 5 h 15 | 1 h 15 | ||||||
| Fes | 5 h 15 | 4 h | 2 h 30 | 3 h 15 | |||||
| Marrakech | 6 h 15 | 7 h 30 | 3 h 30 | 2 h 45 | 6 h 30 | ||||
| Essaouira | 8 h 45 | 10 h | 6 h | 5 h 15 | 8 h 30 | 2 h 30 | |||
| Agadir | 9 h 30 | 10 h 45 | 6 h 45 | 6 h | 9 h 15 | 3 h 15 | 2 h 45 | ||
| Ouarzazate | 10 h 15 | 11 h 30 | 7 h 30 | 6 h 45 | 10 h | 4 h | 6 h 30 | 7 h 15 | |
| Merzouga | 12 h 45 | 11 h 30 | 10 h | 10 h 45 | 7 h 30 | 9 h | 11 h 30 | 12 h 15 | 6 h |
Approximate, for planning. Pairs the table does not list directly are timed through the towns between them.
The roads behind the times: the A1 (Tangier–Rabat–Casablanca), A2 (Rabat–Fes) and A7 (Casablanca–Marrakech–Agadir) toll motorways run by ADM; the N9 over the Tizi n’Tichka pass (2,260 m) to Ouarzazate; the N10 east through Tinghir; and the N13 through Midelt to Errachidia and the desert. Mountain roads are slower than the kilometres suggest; check conditions locally in winter.
Ready-made routes
Four classic lines, with their totals.

Imperial Cities Circuit
about 820 km · 8 days suggested
Casablanca → Rabat → Meknes → Fes → Marrakech
The imperial citiesGrand Tour of Morocco
about 2,150 km · 14 days suggested
Casablanca → Rabat → Chefchaouen → Fes → Merzouga → Ouarzazate → Marrakech → Essaouira
The 14-day grand tour, day by daySouthern Explorer
about 1,180 km · 10 days suggested
Marrakech → Ouarzazate → Merzouga → Agadir
Sahara tripsNorthern Discovery
about 590 km · 7 days suggested
Tangier → Chefchaouen → Fes → Meknes → Rabat
Ten days with the blue north
Distances in Morocco: your questions
How far apart are Morocco’s main cities by road?
As a guide: Marrakech to Essaouira is about 190 km (about 2 h 30), Casablanca to Fes about 290 km by motorway (about 3–3.5 hours), and Marrakech to Merzouga in the Sahara about 560 km (about 9 h) over the High Atlas. The calculator above gives any pair.
Can I take the train instead?
Between the big cities, yes: ONCF trains link Tangier, Rabat, Casablanca, Meknes, Fes and Marrakech, and direct trains run Marrakech–Fes in roughly six and a half to seven hours. The railway stops at Marrakech, so the Atlas, the Sahara, the gorges and most of the coast are reached by road.
How long should I allow on top of the driving time?
Add 20–30% for photo, tea and lunch stops. Mountain roads such as the Tizi n’Tichka can be slower in winter, and long desert days are best split over two days.
How much does a private driver cost for a route?
It depends on the route, the vehicle, the number of days and your group size. Send us the route and dates and we quote it free within 24 hours.
Send the route. We quote the driver.
المغربⵜⴰⴳⵍⴷⵉⵜ ⵏ ⵍⵎⵖⵔⵉⴱThe Kingdom of Morocco

