Chefchaouen sits at 600 metres in the Rif Mountains of northern Morocco, four hours from Fès and an hour from Tetouan — about as far as you can get from the Erg Chebbi dunes and still be in the same country. That distance is the point. For travellers whose trip is built around the Sahara, the blue city is the cool, green-shouldered opposite: a working mountain town with a distinct culture, a milder climate, exceptional goat cheese, and streets that are genuinely as blue as you hoped. It is the most photographed town in the country, and also one of the most misunderstood.
Why is Chefchaouen painted blue?
The blue-and-white palette of the medina has at least three competing origin stories, all of which are probably partly true. The most historically documented explanation is Sephardic: when Jewish refugees expelled from Spain in 1492 settled in Chefchaouen, they introduced the tradition of painting thresholds and public walls in tekhelet — a blue associated in Jewish tradition with heaven and divine protection. Blue repels mosquitoes, too, which may have encouraged the broader adoption of the colour.
The practice was adopted by the Muslim population over succeeding generations and today is maintained as a point of civic identity. The municipality actively enforces a consistent palette — homeowners who repaint in unsanctioned colours are asked to correct it. Walking the medina, you notice that the blue is not uniform: some walls are cobalt, some periwinkle, some almost violet, depending on the pigment used and how many seasons of mountain weather they have absorbed. The variation is part of what makes it beautiful.
What is there to do in Chefchaouen beyond photography?
The medina is compact — walkable in forty minutes — but rewards slow exploration. Start at Plaza Uta el-Hammam, the central square, where the fifteenth-century Kasbah and its hexagonal minaret anchor the northern end. The Kasbah museum inside documents the town's Andalusian heritage with ceramics, weapons and textiles worth thirty minutes of attention.
From the square, walk east toward Ras el-Maa, the mountain spring where women traditionally wash wool in the cold rushing water. It is a working part of the town, not a tourist attraction, and the ten-minute walk takes you through increasingly local streets where the tour groups thin out. The waterfall itself is modest but the setting — blue-washed walls against the forested hillside — is excellent.
The Spanish mosque on the hill above the medina (a twenty-minute uphill walk from Plaza Uta el-Hammam) offers the best panoramic view of the blue rooftops against the Rif Mountains. Non-Muslims cannot enter, but the terrace outside is open and sunrise from here — the town still quiet, the light raking across the rooftops — is among the most memorable moments Morocco offers.
The morning market near the grand mosque sells Rif Mountain produce: fresh goat cheese (jben) sold in rush baskets, dried figs, wild thyme and oregano, hand-spun wool, and cannabis resin (openly sold in the northern Rif, legally ambiguous for foreigners — use your judgement).
Day trip or overnight: which is better?
A day trip from Fès is logistically feasible — four hours each way, three to four hours in the town — but leaves you in Chefchaouen at its most crowded, between 11am and 4pm. The blue streets are genuinely beautiful at this hour, but you are photographing them alongside significant numbers of other people doing the same.
One night changes everything. By 6pm the day-trip coaches have left. The medina reverts to its own pace: locals setting up chairs in the square, the call to prayer bouncing off the blue walls, the mountain air noticeably cooler than the city you came from. Dawn — particularly in spring and autumn — produces soft, warm light before the tour groups arrive. Two nights is our standing recommendation for anyone who wants to photograph seriously or simply exhale.
How do you get to Chefchaouen?
From Fès: four hours by private car via the N13; five to six hours by CTM bus (two to three departures daily from the Fès bus station). This is the most natural pairing — Fès and Chefchaouen complement each other well as a northern Morocco circuit.
From Tangier: two to three hours by private car; Tangier Med port is an efficient entry point for travellers crossing from Spain. The Tangier–Chefchaouen–Fès route is a classic northern Morocco itinerary.
From Marrakech: six to eight hours by private car, making Chefchaouen a natural stop in a broader circuit (Marrakech — Fès — Chefchaouen — Tangier) rather than a same-trip companion to the southern dunes. If your heart is set on both the blue city and the Sahara, allow ten days or more and run the desert leg out of Marrakech or Fès first, then head north to Chefchaouen to cool off. No direct train serves the town; the nearest railhead is Meknès (three hours) or Tangier (two and a half hours).
See our destinations guide and private tours for itineraries that pair Chefchaouen's blue medina with nights in the Sahara.
What are the best photography spots in Chefchaouen?
- Rue Targhi — the most iconic lane in the blue quarter, with a staircase that photographs well from below. Best at 8–9am or 5–6pm.
- Plaza Uta el-Hammam at dusk — café lights reflecting on the blue walls; bring a wide-angle lens.
- The Spanish mosque terrace at sunrise — the only time you will have the panoramic view largely to yourself.
- Ras el-Maa — women washing wool against blue walls and rushing water; photograph respectfully and ask before including people close-up.
- The alleyways north of the Kasbah — less visited than the central quarter, with older, more faded blue walls that feel genuinely worn-in.
Frequently asked
Why is Chefchaouen painted blue?
Several explanations coexist. The most historically grounded is that the blue-and-white palette was introduced and reinforced by Sephardic Jewish refugees who settled in Chefchaouen after the 1492 expulsion from Spain — blue held spiritual significance in Jewish tradition. A secondary explanation attributes the colour to its practical effect: blue is believed to repel mosquitoes. The practice was adopted by the broader Muslim population over generations and today is a point of civic pride maintained by local ordinance.
Is Chefchaouen worth visiting, or is it just a photo opportunity?
Chefchaouen is a genuine Rif mountain town with a living community, an active wool and leather market, historic mosques, and a distinct Andalusian-Moroccan character — the cool, blue-washed counterpoint to the golden Sahara dunes most of our travellers come for. The photography draw is real, but so is the substance. A night or two lets you experience the medina after the day-trippers leave: quieter, cooler and more authentic.
How do you get to Chefchaouen, and can it be combined with a Sahara trip?
From Fès, Chefchaouen is approximately four hours by private car or five to six hours by CTM bus, making it an easy overnight bookend to a Fès-and-Sahara itinerary. From Marrakech the journey is six to eight hours by private car, so it works best as part of a longer loop. Because Chefchaouen sits in the far north and the Erg Chebbi dunes lie deep in the southeast, most travellers treat the blue city as a separate northern extension rather than a same-week add-on to the desert. No train serves Chefchaouen directly; the nearest station is Meknès or Tangier.
Is a day trip to Chefchaouen from Fès enough?
A day trip is feasible but rushed — you arrive around midday, spend three to four hours in the medina at the busiest time of day, and leave in the late afternoon. An overnight stay transforms the experience: the blue streets at dusk and dawn, without the tour groups, are genuinely different. Two nights is our minimum recommendation for a relaxed visit.
What is the best time of year to visit Chefchaouen?
Spring (March–May) and autumn (September–November) offer the most comfortable temperatures — 18–24°C during the day — and the clearest light for photography. Summer is busy with Moroccan domestic tourists escaping the coastal heat; the town fills up considerably in July and August. Winter can be cold and occasionally snowy, which is beautiful but requires warm layers.
What should you not miss in Chefchaouen?
The medina's blue quarter around Plaza Uta el-Hammam is the obvious draw. Beyond that: the Spanish mosque on the hill above the town offers the most photographed panoramic view of the blue rooftops, best at sunrise. The Ras el-Maa waterfall at the eastern edge of the medina is a local gathering point and worth the ten-minute walk. The wool and goat-cheese market near the grand mosque operates in the mornings and is genuinely local.
From blue streets to golden dunes
We build Chefchaouen into journeys that end in the Sahara.
Fès, Chefchaouen and the Rif, then south to the Erg Chebbi dunes for camel trekking and a night under the stars. Private car, curated guesthouses and desert camps, early starts. Tell us what you are looking for.
Request an itinerary