Chefchaouen, the blue-washed town in the Rif mountains, is on almost every Morocco wish list, and it is very far from Marrakech. The two cities sit at opposite ends of the country's main tourist route. This guide explains how to get from Marrakech to Chefchaouen by train, bus, car or private transfer, how long each option takes and why splitting the trip is usually the smartest move.
How far is Chefchaouen from Marrakech?
By road, Chefchaouen is roughly 570 to 620 km from Marrakech, depending on whether you go via Rabat and Ouezzane or via Fes. That means about 8 to 9 hours of driving without long stops. Chefchaouen has no railway station and no airport; the nearest stations are in Tangier and Fes (and Ksar El Kebir), and the closest airports are Tetouan, Tangier and Fes.

Marrakech to Chefchaouen: all options compared
| Option | Route | Total time (approx.) | Comment |
|---|---|---|---|
| Train + bus via Tangier | Train Marrakech – Casablanca, Al Boraq to Tangier, bus to Chefchaouen | 8-10 h with connections | Comfortable trains, then about 2 h 30 to 3 h by bus |
| Train + bus via Fes | Train Marrakech – Fes, then bus to Chefchaouen | 11-12 h | Long, but lets you stop in Fes |
| Direct bus | CTM coach (often overnight) | 10-12 h | Cheap, tiring, limited departures |
| Private transfer | Via Rabat and Ouezzane, or via Fes | 8-9 h driving + stops | Door to door, best split over two days |
| Domestic flight | Marrakech to Tangier or Fes, then road | 5-7 h including transfers | Depends on available flights; check airlines |
Train timetables and fares are published by ONCF, Morocco's national railway, including the Al Boraq high-speed service between Casablanca and Tangier.
Option 1: train to Tangier, then bus
This is the fastest public transport route. Take an ONCF train from Marrakech to Casablanca (about 2 h 40), change to the Al Boraq high-speed train to Tangier (just over 2 hours), then take a CTM bus or a grand taxi from Tangier to Chefchaouen, which is about 115 km and roughly 2 h 30 to 3 hours by road. Our existing guide on getting from Tangier to Chefchaouen covers that last leg in detail.
Option 2: via Fes, with a stopover
Many travellers do not go straight to Chefchaouen at all: they stop in Fes for one or two nights, then continue. Fes to Chefchaouen is roughly 200 km and about 3 h 30 to 4 hours by road through the Rif foothills. You can reach Fes by train (a long ride from Marrakech, around 7 hours) or by car in about 5 h 30 on the motorway; our private transfer from Marrakech to Fes starts from 4,700 DH per vehicle.
Option 3: private transfer all the way
A private car is the most comfortable way to cover the full distance, especially for families or groups. Because the drive is long, we recommend splitting it:
- Day 1: Marrakech to Rabat (about 3 h 30 on the motorway) or Fes (about 5 h 30). Overnight and explore.
- Day 2: Rabat to Chefchaouen via Ouezzane (about 4 hours), or Fes to Chefchaouen (about 3 h 30 to 4 hours).
- Stop on the way for lunch and photos; the last stretch through the Rif is scenic and winding.
- Arrive in daylight; the final roads into Chefchaouen are mountainous.
- From Chefchaouen, continue to Tangier for your flight or ferry, or return south via Fes.
See our Marrakech to Rabat transfer for the first leg, and our intercity transfers for a quote on the full route.

Can you do Marrakech to Chefchaouen in one day?
Yes, but it is a very long day of 8 to 9 hours of driving or 8 to 10 hours of train and bus. Arriving tired in the evening on mountain roads is not ideal. If you are short on time, the Tangier train route is the most efficient one-day option. If you can spare an extra night, Rabat or Fes make the journey part of the trip rather than a slog.
Smart itinerary tip: fly in and out of different airports
Instead of travelling from Marrakech up to Chefchaouen and back, consider an open-jaw flight: arrive in Marrakech and leave from Tangier or Fes, or the other way round. This saves a full day of backtracking. Our guide to flying into Marrakech and out of Fes explains how this works.
What to see on the way north
A long transfer is easier when it includes a few highlights. On the motorway route, Rabat is the obvious stop: the Kasbah of the Udayas, the Hassan Tower and the Mohammed V Mausoleum are all close to the centre and can be seen in a couple of hours. Further north, the inland road through Ouezzane passes rolling farmland and olive groves before climbing into the Rif. If you go via Fes, the medina of Fes el-Bali deserves at least a full day with a licensed local guide, and the road to Chefchaouen crosses green hills that feel very different from the south of Morocco.
Your driver can suggest a lunch stop along the way. On the Ouezzane road, simple roadside restaurants serve grilled meat and tagines; on the motorway, service areas offer cafes and clean facilities.
Where do drivers drop you in Chefchaouen?
Like other old towns, Chefchaouen's medina is mostly pedestrian, with steep stepped lanes. Cars stop at the edge, usually near Bab el-Ain or the Ras el-Ma area, depending on where you are staying. Many guesthouses can send someone to help with luggage if you tell them your arrival time. Ask your accommodation for the closest drop-off point before you travel, and share it with your driver.
Practical tips
- Book Al Boraq and CTM tickets ahead in high season and on holiday weekends.
- Chefchaouen's medina is car-free on its steep lanes; drivers drop you at the nearest gate or square.
- Pack a warm layer: Chefchaouen sits at around 600 m in the mountains and evenings are cool much of the year.
- Carry cash; the drive through the Rif has fewer ATMs than the motorways.
Key takeaways
- Marrakech to Chefchaouen is about 570-620 km, or 8-9 hours by road.
- The fastest public transport is train to Tangier via Casablanca, then bus.
- Splitting the trip with a night in Rabat or Fes is the most comfortable plan.
- Open-jaw flights avoid backtracking to Marrakech.
Comparing self-drive with a driver for this long route? Read our guide to renting a car versus a private driver, or request your quote.



