Skip to main content

Guides

Marrakech to Chefchaouen: distance, travel options and the best way to go

Ahmed

Founder & Guide

· 8 min read

Marrakech and Chefchaouen are two of the most photographed places in Morocco, and they sit at almost opposite ends of the country. Marrakech lies on the plain below the High Atlas; Chefchaouen hides in the Rif mountains, closer to Tangier and the Mediterranean than to the Sahara. Many travellers only discover how far apart they are once they start planning. This guide explains the real distance, every way to make the journey, and how to turn a long transfer into one of the best parts of your trip.

In short: Chefchaouen is about 560 to 570 km by road from Marrakech, around 7 hours of driving without stops. There is no train to Chefchaouen: by public transport you combine a train to Casablanca, the Al Boraq high-speed train to Tangier and a bus, which takes 9 hours or more door to door. The most comfortable option is a private driver, ideally with one night on the way in Rabat, Meknes or Fes, so that you arrive in the blue city rested and with time to enjoy it.

How far is Chefchaouen from Marrakech?

By road, the journey is about 560 to 570 kilometres. Most of it is fast: you take the motorway north from Marrakech, past Casablanca and Rabat, and then leave the coast for country roads that climb through the farmland and olive groves of the Rif foothills, past Ouezzane, to Chefchaouen. Without stops, plan on around seven hours of driving. With a lunch break, coffee stops and a little traffic around Casablanca, it becomes a full day.

As the crow flies the two cities are not much further apart than the road distance, which tells you something important: there is no shortcut over the mountains. Whatever you choose, the journey runs up the Atlantic side of the country and then turns inland.

Travellers looking over the blue town of Chefchaouen from a viewpoint at sunset
Chefchaouen from the viewpoint above the town, worth the long road north.

All the ways to travel from Marrakech to Chefchaouen

Chefchaouen has no railway station and no airport. Every option therefore ends with a road journey, and the choice comes down to how many changes you are happy to make.

Train and bus via TangierUsually 9 hours or more, with two changesA conventional ONCF train from Marrakech to Casablanca, then the Al Boraq high-speed train from Casablanca to Tangier, which takes about 2 hours 10 minutes, then a bus or taxi for the last two and a half to three hours to Chefchaouen. Comfortable trains, but the connections need careful timing.

Train and bus via RabatAround 9 to 10 hoursTrain from Marrakech to Rabat, then a long-distance bus to Chefchaouen, a ride of around five hours. Buses on this leg are less frequent, so check the timetable on the bus company's website before you travel.

Bus all the wayAround 10 hours, the cheapest optionLong-distance coaches link Marrakech and Chefchaouen with a change, usually in Rabat. Good value, but a very long day in a seat, with little time to see anything on the way.

Fly to Tangier or TetouanFastest on paper, if a flight suits your datesDomestic flights from Marrakech to Tangier or Tetouan do not run every day, so check current schedules. From Tetouan, Chefchaouen is about an hour and a half by road; from Tangier, about two and a half to three hours. Add airport time and the saving shrinks.

Private driverAbout 7 hours of driving, door to doorOne vehicle from your riad in Marrakech to your guesthouse in Chefchaouen, with stops where you want them. The easiest choice for families, travellers with luggage and anyone who would rather spend the day looking out of the window than at a departures board.

A note on the future: Morocco is extending its high-speed line from Kenitra to Marrakech. Once it opens, Tangier and Marrakech should be about 2 hours 40 minutes apart by train, which will make the rail option much faster. Until then, the Casablanca to Marrakech section runs on the conventional line, and the train only takes you as far as Tangier.

Marrakech to Chefchaouen by private driver

For most of our guests, a private driver is the best balance of comfort and time. You leave after breakfast, stop when you like and arrive at the door of your guesthouse, which matters in Chefchaouen, where the medina is steep and cars stop at its edge. Your driver knows where to park and how to get your bags to the riad.

Seven hours in a vehicle is still a lot in one day, so we usually suggest one of two approaches:

  • A direct transfer if you are short on time, with a long lunch stop around Rabat or Ouezzane. You arrive in the late afternoon, in time for sunset from the viewpoint above the town.
  • Two days instead of one, with a night in Rabat, Meknes or Fes. This turns the transfer into sightseeing: the Kasbah of the Udayas in Rabat, the Roman ruins of Volubilis, or a first taste of the Fes medina.

We arrange private transfers between cities as well as full private tours. Read how a private driver in Morocco works to know what to ask, then send us your dates for a quote.

The best places to break the journey

The road north is not empty. A few of the places along it are worth an hour, a lunch or a night.

Casablanca: the Hassan II Mosque

About three hours from Marrakech, the Hassan II Mosque stands on the edge of the Atlantic. It is one of the few mosques in Morocco open to non-Muslim visitors, on guided tours at set times. If you leave Marrakech early, a stop here fits into a long transfer day.

Rabat: the capital's old town

Rabat is calm, green and easy to walk. The Kasbah of the Udayas, with its white and blue lanes above the river mouth, the Hassan Tower and the Mausoleum of Mohammed V are close together. It is the most practical place to spend a night if you want to split the journey evenly.

Meknes and Volubilis

Slightly inland, the imperial city of Meknes has monumental gates and a quieter medina than Fes. Nearby, Volubilis is the best-preserved Roman site in Morocco, with mosaics still in place. Both make sense if you take the inland route and spend a night in Meknes or Fes.

Fes: the great detour

Fes is not on the direct road, but many travellers combine it with Chefchaouen. From Fes, the blue city is about 200 km away, a drive of around four hours through rolling hills. Read our guide to things to do in Fes to plan your days there.

A café terrace with blue walls in the medina of Chefchaouen
A slow afternoon in Chefchaouen is the reward for the road north.

Three routes that work well

Marrakech to Chefchaouen is rarely a trip on its own. It is usually one leg of a longer journey, and the direction you travel changes everything.

Through the SaharaMarrakech, the desert, Fes, ChefchaouenThe classic loop: over the High Atlas to the Merzouga dunes, north to Fes, then on to the blue city. Nothing is driven twice. See the 9 day Morocco tour from Marrakech via Fes and Chefchaouen.

Along the imperial citiesMarrakech, Casablanca, Rabat, Chefchaouen, FesIdeal if you are not going to the desert, or if you fly into Casablanca. Our 6 day tour from Casablanca and the 2 day Chefchaouen tour from Casablanca follow this northern side of the country.

Ending in the northFinish in Tangier, not back in MarrakechIf you can book an open-jaw flight, arrive in Marrakech and leave from Tangier or Fes. From Chefchaouen, Tangier is about two and a half to three hours away, which avoids driving the whole country twice.

For a wider view of how these legs fit together, our Morocco itinerary planner compares routes from 3 to 15 days.

How long to stay in Chefchaouen

After a long day on the road, one night is too short: you arrive tired and leave the next morning. Two nights is the right amount for most travellers. It gives you a full day to wander the medina before the day-trippers arrive, climb to the Spanish Mosque for sunset, and walk to the Ras el-Maa spring at the edge of town. If you enjoy walking, a third day lets you hike in the Rif mountains or visit Akchour, with its river and waterfalls, in the warmer months.

Our Chefchaouen travel guide has the details on the medina, the viewpoints and where to go beyond the blue walls.

Can you visit Chefchaouen as a day trip from Marrakech?

No. With around 14 hours of driving for the return journey, a day trip from Marrakech is not realistic, and anyone who offers one is selling a day in a vehicle. Chefchaouen is a day trip from Fes or Tangier, not from Marrakech. If you are based in the north, see the Chefchaouen day trip from Fes or the day trip from Tangier.

Practical tips for the journey

  • Start early. Leaving Marrakech by 8 am gets you past Casablanca before the worst of the traffic and to Chefchaouen before dark.
  • Book trains in advance at busy times. Al Boraq seats can sell out around holidays and weekends. Timetables and tickets are on the national railway company's website.
  • Pack a small bag for the medina. Chefchaouen's lanes are steep and stepped. Large suitcases are hard work; porters with handcarts can help at the edge of the old town.
  • Bring a warm layer. The Rif mountains are cooler than Marrakech, especially in the evenings from November to March, and Chefchaouen is the rainiest of the places most travellers visit. See what to wear in Morocco.
  • Check the season. Spring and autumn are the most pleasant months in the north, and summer in Chefchaouen is cooler than in Marrakech. Our best time to visit Morocco guide goes month by month.

“People often tell me they almost skipped Chefchaouen because it looked too far. Nobody has ever told me they regretted the drive.”

— Ahmed, Founder & Guide

Planning your trip with us

We organise private tours and private transfers that include Chefchaouen, from Marrakech, Fes, Casablanca and Tangier. Tell us where you land, where you fly home from and how many days you have, and we will suggest the route with the least time on the road and the most time in the places you came to see. Prices depend on the number of days, the vehicle, the accommodation and the season, so ask us for the price with your dates.

Ready to plan your route north? Send us your dates or message us on WhatsApp for a free, no-obligation quote.

FAQ

Quick answers about guides

Ready to plan your journey?

Reach out to share your ideas so we can help you build a journey that fits you perfectly.

Chat on WhatsApp