Why Is Chefchaouen Blue? The Theories, History and Facts
Chefchaouen Explained

Why Is Chefchaouen Blue? The Theories, History and Facts

Morocco's 'blue city' is one of the country's most photographed places, but no one can point to a single, documented reason its medina turned blue. This guide weighs the five leading explanations, from Jewish heritage to keeping cool and repelling insects, sets them against the town's 550-year history, and maps the bluest lanes and best viewpoints so you can judge for yourself.

10 min read Updated July 2026 Chefchaouen, Morocco

The short answer

No single proven reason; several theories, likely combined

Founded

1471, as a fortress town by Moulay Ali ben Rachid

Leading theory

Jewish refugees painted blue as a symbol of sky and the divine

Most practical theory

Blue lime-wash reflects heat and is repainted regularly

Bluest area

The medina below the kasbah, toward Ras el-Maa

Best viewpoint

The Spanish Mosque hill at sunset, over the blue town

By City Tours Morocco Editorial Team

Published 17 July 2026 Last updated 17 July 2026

The short answer: no single proven reason

If you want one tidy fact, Chefchaouen disappoints: there is no contemporaneous document that records who first painted the town blue or why. What survives instead is a set of overlapping explanations, some historical, some practical, some spiritual and at least one commercial, none of which fully excludes the others. The honest answer historians give is that the blue evolved over time and that several motives probably reinforced each other, which is why you will hear a different story from almost every guide, shopkeeper and blog.

It also helps to know that the town was not always this blue. For much of its history the medina was lime-washed white, often with green (the colour of Islam) picked out on doors and details, as in many northern Moroccan towns. The pervasive, wall-to-wall blue that defines Chefchaouen today is largely a twentieth-century development that has intensified in the decades since, maintained and extended by residents who repaint regularly. So the real question is less 'why was it built blue' than 'why did it become, and stay, blue', which the theories below try to answer.

A 550-year history behind the colour

Chefchaouen was founded in 1471 by Moulay Ali ben Rachid as a fortified base in the Rif mountains, partly to resist Portuguese expansion along the coast. Over the following decades it absorbed waves of Muslim and Jewish refugees fleeing the Reconquista in Spain, and their Andalusi taste shaped the medina you walk today: whitewashed houses with red-tiled roofs, arched doorways, tight stepped lanes and a Hispano-Moorish feel unusual in Morocco. The kasbah and the main square, Place Outa el-Hammam, date from this formative era.

For centuries the town was famously closed and conservative, off-limits to outsiders, and it remained small and remote well into the twentieth century, when a Spanish protectorate period and, later, mass tourism opened it up. That long isolation preserved the compact old medina almost intact, giving the blue a perfect, uniform canvas of narrow lanes and stairways. Understanding this backstory matters, because two of the leading colour theories, Jewish heritage and spiritual symbolism, are rooted directly in the refugee history and the town's insular, devout character. The kasbah's story is told in the kasbah museum guide.

The five leading theories, weighed

Five explanations dominate the debate, and it is worth taking them one at a time rather than accepting the first you are told. The best-known is the Jewish-heritage theory: that Jewish residents, especially refugees arriving in the 1930s, painted their homes and the town blue because in Judaism blue (tekhelet) evokes the sky, the heavens and the divine. It is the most romantic and most repeated story, and it fits the town's refugee history, though critics note the all-over blue postdates much of the historic Jewish presence.

The others are more prosaic. The cooling theory holds that blue lime-wash reflects sunlight and keeps interiors cooler, a genuine property of pale paint, and that repainting maintains hygiene. The mosquito theory, that blue deters insects because it resembles water or confuses them, is popular but has little scientific backing and is best treated as folklore. The spiritual or aesthetic theory says blue simply induces calm and reflects the sky and mountain streams, echoing Sufi and mystic sensibilities. And the tourism theory, hard to dismiss, recognises that whatever started the blue, the town now maintains and expands it because it draws visitors from around the world.

TheoryThe claimHow well it holds up
Jewish heritageBlue symbolises sky and the divine (tekhelet)Most cited; fits refugee history, but all-over blue is later
Keeping coolPale lime-wash reflects heat, aids hygienePlausible and practical; a real property of the paint
Repelling mosquitoesBlue deters insects near waterPopular folklore, little scientific support
Spiritual / aestheticBlue evokes calm, sky and streamsCultural resonance rather than hard evidence
Tourism / upkeepThe town keeps it blue because it draws visitorsClearly true today, whatever the origin
Chefchaouen's blue: the theories weighed

What the blue is actually made of

The colour itself is not paint in the modern sense but a lime-wash tinted with blue pigment. Traditionally the base is slaked lime (chaux), coloured with a blue powder, historically natural indigo or copper-based pigments and today usually inexpensive synthetic blue powders sold in the souk. Residents mix it with water and brush it over walls, steps and doorframes, which is why the shade varies from a pale, chalky powder-blue to deep cobalt and even lilac from lane to lane and season to season.

Crucially, lime-wash fades, so the town has to be repainted often, commonly once a year and frequently before the summer season. That constant renewal is part of why the blue looks so vivid in photographs and why no two visits look quite the same. It also explains the tourism theory neatly: keeping the medina blue is an active, ongoing choice by its residents, not a one-off historic act. If you visit in late spring you may catch fresh coats going on, which is when the colour is at its most saturated.

  • The blue is lime-wash tinted with pigment, not modern emulsion paint.
  • Shades vary because mixes and pigments differ house to house.
  • It fades and is repainted roughly yearly, often before summer.
  • Colour is most vivid just after repainting, typically in late spring.

Where the bluest lanes and best photos are

The blue is not uniform across town, so knowing where to point yourself saves time. The most intense, photogenic lanes cluster in the medina below the kasbah, on the slope running down toward Ras el-Maa, the little waterfall at the medina's edge where streams and washing points gather. Here the stepped alleys, plant pots, studded doors and hanging rugs give the classic Chefchaouen shot. Place Outa el-Hammam and the kasbah anchor the medina, while the shopping lanes fan out from there, covered in the Chefchaouen shopping and crafts guide.

For the best light, come early: the famous flowery blue staircases and narrow passages are quiet and softly lit soon after dawn, before day-trippers arrive and while shadows are long. The other essential shot is from above, and the Spanish Mosque on the hill east of the medina delivers a sweeping view over the whole blue town, unbeatable at sunset and detailed in the Spanish Mosque sunset guide. The waterfall corner is mapped in the Ras el-Maa guide.

SpotWhy goBest time
Lanes below the kasbahClassic blue stepped alleys, plant potsJust after dawn
Ras el-Maa waterfall edgeBlue lanes meet streams and greeneryMorning
Place Outa el-HammamKasbah, cafes, medina heartLate afternoon
Flowery blue staircasesIconic Instagram alley shotsEarly morning, quiet
Spanish Mosque hillPanorama over the whole blue townSunset
Bluest lanes and best photo spots

So, why is Chefchaouen blue?

Pulling it together, the most defensible answer is that Chefchaouen is blue for several reasons at once, layered over time. A refugee-era spiritual meaning likely seeded the colour, practical benefits like cooling and the folk belief about insects encouraged its spread, an aesthetic and mystic appreciation of blue helped it stick, and tourism now guarantees its survival. Anyone who tells you it is purely one of these is oversimplifying a story that the historical record simply does not settle.

For a visitor, the uncertainty is part of the charm: you can walk the lanes, hear three different explanations before lunch, and decide which you find most convincing. Whatever the origin, the experience is the same, a small mountain medina painted every shade of blue and repainted with pride each year. To build a visit around it, use the one-day Chefchaouen itinerary and, if you are still deciding whether to make the trip north, the honest verdict in is Chefchaouen worth visiting.

Frequently Asked Questions

Why is Chefchaouen painted blue?

There is no single proven reason. The most repeated story is that Jewish refugees painted the town blue as a symbol of the sky and the divine (tekhelet). Other explanations include practical cooling, since pale lime-wash reflects heat; a folk belief that blue repels mosquitoes; a spiritual and aesthetic love of blue evoking sky and streams; and, undeniably today, tourism, as the town maintains and extends the blue because it draws visitors. Most historians think the colour resulted from several of these motives combined over time.

Is the Jewish-heritage theory true?

It is the most cited origin story and fits the town's history as a refuge for Jews fleeing Spain and, later, Nazi Europe in the 1930s, with blue carrying strong spiritual meaning in Judaism. However, historians caution that Chefchaouen was mostly white for much of its past and that the pervasive, all-over blue is largely a twentieth-century development, in some cases postdating the main Jewish presence. So the theory is plausible and popular, but not the whole story, and it cannot be confirmed from the historical record alone.

Does the blue paint really repel mosquitoes?

Probably not in any meaningful way. The idea that blue deters mosquitoes, perhaps by resembling water or confusing insects, is a widely repeated local belief but has little scientific support. It is best treated as folklore that may have encouraged repainting rather than as the real reason the town is blue. The more credible practical explanation is that pale lime-wash reflects heat and keeps interiors cooler, and that regular repainting maintains cleanliness, both genuine benefits of the tradition.

Was Chefchaouen always blue?

No. For much of its history since its founding in 1471, the medina was lime-washed white, often with green details picked out on doors, as in many northern Moroccan towns. The wall-to-wall blue that defines it today is largely a twentieth-century phenomenon that has intensified in recent decades, actively maintained by residents who repaint the lime-wash roughly every year. So while the town is old, the famous blue is a relatively modern and continually renewed feature rather than an original one.

Where are the bluest streets in Chefchaouen?

The most intense blue clusters in the medina below the kasbah, on the slope down toward the Ras el-Maa waterfall, where stepped alleys, plant pots and studded doors give the classic look. The famous flowery blue staircases are best photographed just after dawn, before crowds arrive. For a panorama over the whole blue town, climb to the Spanish Mosque on the hill east of the medina, which is spectacular at sunset. Place Outa el-Hammam and the kasbah anchor the old town in between.

When is the best time to photograph the blue city?

Early morning and the golden hour. Soon after dawn the famous lanes and staircases are quiet and softly lit, before day-trippers arrive, which is ideal for the classic close-up alley shots. Late afternoon into sunset suits the wider view from the Spanish Mosque hill, when warm light bathes the blue town. The colour is at its most saturated in late spring, when many residents apply a fresh coat of lime-wash before summer, so a visit then rewards photographers.

Plan it with a local expert

Travel Morocco with Serenity Morocco Tours

Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.

Moroccan-owned 100% Private Tours 100% private tours since 2018
Sahara Desert Luxury Expedition — Marrakech → Erg Chebbi, Morocco
from $2,011
5 days Marrakech → Erg Chebbi

Sahara Desert Luxury Expedition

Essential Morocco: Imperial Cities Circuit — Marrakech · Fes · Meknes · Rabat, Morocco
from $2,054
7 days Marrakech · Fes · Meknes · Rabat

Essential Morocco: Imperial Cities Circuit

Sahara to Sea: Morocco Complete — Full-country circuit, Morocco
from $5,978
14 days Full-country circuit

Sahara to Sea: Morocco Complete

Browse all 15+ private tours — from $924 →