Marrakech to Chefchaouen: How to Get There and How Long It Takes

By · · Updated · 5 min read
Marrakech to Chefchaouen route via Fes - view over the medina
In short: Chefchaouen is roughly 570-620 km from Marrakech, about 8-9 hours by road. The fastest public transport is the train to Tangier via Casablanca (Al Boraq), then a 2.5-3 hour bus. Most travellers split the trip with a night in Rabat or Fes, by train or private transfer.

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.

View over Fes, a common stopover on the route from Marrakech to Chefchaouen
Fes is the most popular overnight stop between Marrakech and Chefchaouen.

Marrakech to Chefchaouen: all options compared

OptionRouteTotal time (approx.)Comment
Train + bus via TangierTrain Marrakech – Casablanca, Al Boraq to Tangier, bus to Chefchaouen8-10 h with connectionsComfortable trains, then about 2 h 30 to 3 h by bus
Train + bus via FesTrain Marrakech – Fes, then bus to Chefchaouen11-12 hLong, but lets you stop in Fes
Direct busCTM coach (often overnight)10-12 hCheap, tiring, limited departures
Private transferVia Rabat and Ouezzane, or via Fes8-9 h driving + stopsDoor to door, best split over two days
Domestic flightMarrakech to Tangier or Fes, then road5-7 h including transfersDepends 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:

  1. Day 1: Marrakech to Rabat (about 3 h 30 on the motorway) or Fes (about 5 h 30). Overnight and explore.
  2. Day 2: Rabat to Chefchaouen via Ouezzane (about 4 hours), or Fes to Chefchaouen (about 3 h 30 to 4 hours).
  3. Stop on the way for lunch and photos; the last stretch through the Rif is scenic and winding.
  4. Arrive in daylight; the final roads into Chefchaouen are mountainous.
  5. 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.

Rabat, a convenient overnight stop when travelling from Marrakech to Chefchaouen
Rabat breaks the journey north into two comfortable days.

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.

Heading north? Split the journey with a private driver and stop in Rabat or Fes on the way.

Marrakech to Fes transferMarrakech to Rabat transfer

Frequently asked questions

How long does it take to get from Marrakech to Chefchaouen?

By car the journey takes about 8 to 9 hours of driving for roughly 570 to 620 km. By public transport, the train to Tangier via Casablanca followed by a bus takes around 8 to 10 hours with connections. Via Fes it takes longer. Splitting the trip over two days is more comfortable.

Is there a train from Marrakech to Chefchaouen?

No. Chefchaouen has no railway station. The closest option is to take the train from Marrakech to Tangier, changing in Casablanca for the Al Boraq high-speed service, then a CTM bus or grand taxi for the last 115 km. Alternatively, take the train to Fes and continue by road.

What is the best stopover between Marrakech and Chefchaouen?

Fes and Rabat are the most popular stopovers. Fes offers its famous medina and is about 3.5 to 4 hours from Chefchaouen. Rabat, the capital, sits on the motorway and is about 4 hours from Chefchaouen via Ouezzane. Both turn a long transfer into two manageable days.

Is there a direct bus from Marrakech to Chefchaouen?

CTM has operated long-distance coaches towards Chefchaouen, often overnight and taking 10 to 12 hours, but schedules change. Check the current timetable and book in advance. Many travellers find the train to Tangier or Fes plus a shorter bus ride more comfortable than a single long coach journey.

Transfers Airport Morocco Editorial Team — Drivers & transfer planners in Marrakech. Written by the team that organises private airport and intercity transfers across Morocco, based on the routes our drivers cover every week.

Related guides