Getting to Chefchaouen: Every Route from Fez and Tangier
The blue city isn't on the train line, which trips up first-timers. The coach from Fez, the route from Tangier, the grand-taxi option, and how it fits a loop.
Chefchaouen catches first-timers out because the blue city sits in the Rif mountains with no train line, so the smooth ONCF rail that carries you between the other cities simply stops short of it. Reaching it means a coach or a shared taxi, and knowing the routes in advance keeps this leg from becoming the awkward gap in an otherwise easy itinerary. Here is every way in and how it fits a trip.
Why there's no train
Chefchaouen is not on Morocco's rail network, and no line reaches the Rif mountains where it sits, so any plan that assumes a train there will fail. This is the single fact to absorb before routing a trip through the blue city: you arrive by road, from Fez or Tangier, by coach or grand taxi. Building the leg around that reality rather than discovering it late is the whole trick.
From Fez: the common route
The most common approach is the coach from Fez, a scenic mountain journey of roughly four hours run by reliable operators like CTM and Supratours. It is comfortable, inexpensive and the standard way first-timers arrive, pairing naturally with a Fez stay earlier in the loop. Book a day or two ahead in high season, since seats on the popular departures fill and the schedule is not frequent.
Booking the coach
CTM and Supratours sell tickets online and at their stations, and reserving ahead secures a seat on the timing you want rather than leaving you to the next departure hours later. Arrive with a little time in hand, keep the ticket for the journey, and treat the mountain scenery as part of the experience rather than dead transit. It is one of the prettier legs of a Moroccan trip.
From Tangier
Chefchaouen is also reachable from Tangier in a couple of hours by coach or grand taxi, which suits trips that start in the north or combine the blue city with the Tangier region. This routing works well if you are arriving by ferry from Spain or flying into the north, letting you take in Chefchaouen before heading south to Fez and beyond. The road is shorter than from Fez but the principle is the same: no rail, so coach or taxi.
The grand taxi option
Shared grand taxis run these routes too, leaving when full and priced per seat, and they are faster and more flexible than the coach if you do not mind the shared-sedan format. You can also charter a whole taxi for a private, immediate departure at roughly six times the seat fare — a reasonable choice for a group or a family wanting to leave on their own schedule. Agree the per-seat or whole-car price before you set off.
How long the journey really takes
The Fez route runs about four hours by coach and the Tangier route around two, and treating those as half-day commitments each way is the honest way to plan. Adding the wait for a scheduled departure and the transfer to your riad, a travel day to or from Chefchaouen is a travel day, not a morning. Planning it as such — arriving with the afternoon free rather than the whole day gone to logistics — keeps the leg from feeling like a slog.
Onward from the blue city
Leaving Chefchaouen follows the same rules in reverse: coach or grand taxi back to Fez or on to Tangier, with the same advice to book ahead in high season. If the blue city is your northern turnaround, plan the onward leg before you arrive so a relaxing stay does not end in a scramble for the last seat out. The mountains reward planning the exit as carefully as the entrance.
How it fits a loop
Chefchaouen slots most naturally between Fez and the north, added as a two-night detour rather than squeezed into a day, since the mountain journey each way eats real time. A common shape is Marrakech and the desert first, then Fez, then the coach up to Chefchaouen, then onward or back. Treating it as a restful pause in the mountains, not a rushed tick-box, is how the blue city rewards the effort of reaching it.
The Chefchaouen leg is a clean example of sequencing mattering: a place off the rail line reshapes the order and pace of a whole trip. How the blue city fits with the desert, Fez and the rest is worked out in the complete Morocco trip guide.