Distances Between Moroccan Cities: The Travel-Time Chart
Morocco looks compact on a map, but distances are paid in hours, especially once you cross the Atlas or head for the desert. Here are real distances and travel times between the main cities, by car and public transport, so you can build a realistic itinerary.
The most common journeys: Casablanca to Marrakech 240 km (2h30-3h by car, 2h40-3h20 by train), Marrakech to Agadir 250 km (about 3h on the motorway), Marrakech to Essaouira 170-190 km (2h30-3h), Casablanca to Tangier 340 km (2h10 on the Al Boraq high-speed train), Marrakech to Fes 530 km (6-7h by car or by train with a change), Fes to Chefchaouen 200 km (3h30-4h) and Marrakech to Merzouga 560 km (9-10h of driving, best done as a 3-day tour). The train is fastest on the Tangier-Rabat-Casablanca-Marrakech line and to Fes; elsewhere you need a car, a bus (CTM, Supratours) or a transfer. Times exclude stops and traffic.
Distance and Travel-Time Chart
| Route | Road distance | Car | Public transport |
|---|---|---|---|
| Casablanca ↔ Marrakech | 240 km | 2 h 30 – 3 h | ONCF train: 2 h 40 – 3 h 20 |
| Casablanca ↔ Rabat | 90 km | 1 h | ONCF train: 50 min – 1 h |
| Casablanca ↔ Tangier | 340 km | 3 h 30 | Al Boraq high-speed train: 2 h 10 |
| Rabat ↔ Tangier | 270 km | 2 h 30 | Al Boraq high-speed train: 1 h 30 |
| Rabat ↔ Fes | 200 km | 2 h – 2 h 30 | ONCF train: 2 h 40 |
| Fes ↔ Meknes | 60 km | 1 h | ONCF train: 40 min |
| Marrakech ↔ Fes | 530 km | 6 h – 7 h | Train (change at Casablanca): 6 h – 7 h 30 |
| Marrakech ↔ Agadir | 250 km | 3 h | CTM / Supratours bus: 3 h 30 |
| Marrakech ↔ Essaouira | 170-190 km | 2 h 30 – 3 h | CTM / Supratours bus: 3 h |
| Agadir ↔ Essaouira | 170-180 km | 2 h 30 – 3 h | CTM / Supratours bus: 3 h |
| Agadir ↔ Taghazout | 20 km | 25 – 30 min | Taxi or local bus: 30 min |
| Marrakech ↔ Ouarzazate | 200 km | 4 h | CTM bus or tour: 4 h – 5 h |
| Ouarzazate ↔ Ait Ben Haddou | 30 km | 30 min | Taxi or local bus: 30 – 40 min |
| Marrakech ↔ Merzouga | 560 km | 9 h – 10 h | 3-day organised tour |
| Fes ↔ Merzouga | 470 km | 7 h – 8 h | 3-day organised tour |
| Fes ↔ Chefchaouen | 200 km | 3 h 30 – 4 h | CTM / Supratours bus: 4 h |
| Tangier ↔ Chefchaouen | 100-115 km | 2 h – 2 h 30 | CTM / Supratours bus: 2 h 30 – 3 h |
| Tangier ↔ Asilah | 50 km | 45 min – 1 h | Train or bus: 40 min |
| Casablanca ↔ El Jadida | 100 km | 1 h 15 | Train or bus: 1 h 30 |
Road distances and typical times, excluding stops, traffic and checkpoints. Train and bus timetables change: check before you travel.
Driving in Morocco: What Slows You Down
- Motorways: Tangier-Rabat-Casablanca-Marrakech-Agadir and Rabat-Fes are fast toll roads; this is where the chart's times hold.
- Mountains: the Tizi n'Tichka pass (Marrakech-Ouarzazate) and the Rif roads (Chefchaouen) are slow and winding, so allow extra time.
- Desert: beyond Ouarzazate distances grow and fuel stations thin out.
- At night: avoid driving off the motorway after dark (pedestrians, donkeys, vehicles without lights).
Train, Bus or Transfer?
The ONCF network covers Tangier, Rabat, Casablanca, Marrakech, Fes, Meknes and Oujda, with the Al Boraq high-speed train between Tangier and Casablanca: details and fares in our guide to trains in Morocco (ONCF and Al Boraq) and our Morocco by train itinerary. For Essaouira, Agadir, Chefchaouen and Ouarzazate, CTM and Supratours buses are reliable and cheap. For every option, see getting around Morocco and our Morocco car rental guide.
Journeys Not to Do in One Day
Three links often trap over-tight itineraries: Marrakech to Merzouga (560 km), best as a 3-day desert tour from Marrakech with a night in the dunes; Marrakech to Chefchaouen, over 600 km, to split at Fes or Rabat; and Merzouga to Chefchaouen, also over 600 km. For a first one-week trip, pick one axis (Marrakech + desert, or Fes + the north): see our 7-day Morocco itinerary.
Book your arrival transferYou will be redirected to our partner GetTransfer.To avoid changes with luggage, a private transfer or a tour with hotel pick-up often saves half a day.
See day trips from Marrakech· GetYourGuideFree cancellation up to 24h before on most activities · the best time slots sell out first in high seasonReserve now, pay later on many activities
Book trains or buses online: Omio compares ONCF trains and CTM coaches in one search, with e-tickets.
Compare trains and buses on Omio· Omio
Compare car rentals
DiscoverCars search: dozens of rental companies in Morocco, free cancellation on most offers.












