Our vehicle on a mountain village road in the south, photographed on one of our trips

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.

Approximate non-stop driving hours between ten places in Morocco
TangierChefchaouenRabatCasablancaFesMarrakechEssaouiraAgadirOuarzazate
Chefchaouen2 h 15
Rabat2 h 454 h
Casablanca3 h 455 h 151 h 15
Fes5 h 154 h2 h 303 h 15
Marrakech6 h 157 h 303 h 302 h 456 h 30
Essaouira8 h 4510 h6 h5 h 158 h 302 h 30
Agadir9 h 3010 h 456 h 456 h9 h 153 h 152 h 45
Ouarzazate10 h 1511 h 307 h 306 h 4510 h4 h6 h 307 h 15
Merzouga12 h 4511 h 3010 h10 h 457 h 309 h11 h 3012 h 156 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.

A panorama of Tinghir and its palm oasis, photographed on one of our trips
  1. Imperial Cities Circuit

    about 820 km · 8 days suggested

    Casablanca → Rabat → Meknes → Fes → Marrakech

    The imperial cities
  2. Grand 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 day
  3. Southern Explorer

    about 1,180 km · 10 days suggested

    Marrakech → Ouarzazate → Merzouga → Agadir

    Sahara trips
  4. Northern 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.

ⴰⵣⵓⵍ
azul · hello, in Tamazight

Send the route. We quote the driver.

Your route, your dates and how many of you. A planner in Casablanca replies within 24 hours with the days on the road, the stops worth making and an itemised quote, free.

Free quote · Step 1 of 3

Your route, quoted

Who's travelling
How many
When
Free · no obligation · reply within 24 h or WhatsApp +212 701 664 704

المغربⵜⴰⴳⵍⴷⵉⵜ ⵏ ⵍⵎⵖⵔⵉⴱThe Kingdom of Morocco