● A free public tool  ·  Built by Poptani Labs  ·  No sign-up  ·  Your data never leaves your browser
Around the World · 5-minute read

Chefchaouen: the Moroccan city painted blue

A narrow stepped alley in Chefchaouen, Morocco, with textured walls, arched doorways and a turquoise door all painted in shades of blue
Image: '2018 01 (Blue) - Chaouen.jpg' by Fbrandao.1963, CC BY-SA 4.0, via Wikimedia Commons

This is a research-based piece, drawn from the sources listed at the end. High in the Rif Mountains of northern Morocco sits a town where walls, doors, staircases and even flowerpots seem dipped in blue. Chefchaouen — the "Blue Pearl" — is one of the most photographed towns on Earth, yet nobody can say for certain why. The honest answer is a tangle of history, faith, folk wisdom and tourism — and the tangle is the interesting part. It looks invented, the way Socotra looks invented — except here, people did the inventing.

A fortress town that stayed shut for centuries

Chefchaouen was founded in 1471 by the Berber leader Ali ibn Rashid al-Alami, as a fortress against Portuguese raids. Its name roughly means "look at the horns", after the two peaks towering over it. After 1492, when Spain expelled its Jews and Muslims, refugees crossed the Strait of Gibraltar and settled here, bringing Andalusian crafts. The town then stayed closed to Christians, on pain of death, until Spanish troops walked in, unopposed, in October 1920 — nearly 450 years of isolation.

For most of that history, Chefchaouen was not blue: its medina was whitewashed limestone, as photographs from the 1920s and 1930s show. The blue was confined to one quarter, the mellah, the Jewish quarter — and nearly every explanation of the blue starts there.

The leading theory — and why it is not settled

In Jewish tradition, blue carries deep spiritual meaning. The Hebrew word is tekhelet: the blue thread the Torah asks to be woven into a prayer shawl's fringes, a reminder of the sky, the heavens and God's presence. The most widely told story is that Jewish families painted their homes blue for that reason, and that the practice intensified in the 1930s, when Jews fleeing persecution in Europe arrived. When most of Morocco's Jewish community emigrated to Israel after 1948, the custom stayed behind and spread through the whole medina.

It is the most credible origin story — but not a settled one. The town-wide blue is a recent, 20th-century development: in a 2016 BBC feature, guide Abdeslam Mouden put the citywide blue at roughly twenty years old at the time. The popular version — 1930s refugees arriving and painting the town blue — does not fit the record: the community was already there, and shrinking. The blue of the mellah probably does carry Jewish symbolism, but that explains one quarter of one small town, not a whole medina of blue staircases.

The rival theories each hold a grain of truth. Locals often say the blue keeps mosquitoes away, the walls resembling running water — but there is no scientific evidence for it; mosquitoes find people through smell, body heat and carbon dioxide. Others say the blue keeps houses cool — true of any light colour, so it explains why the walls are not dark, not why they are blue. Some point to water: the Ras el-Maa spring that feeds the town. And then there is the explanation nobody says out loud: since the 1970s the blue has become the town's identity and livelihood, and residents keep repainting because visitors keep coming. Like Setenil, a town defined by the rock above it, Chefchaouen is now defined by the colour around it — a civic habit, whatever started it.

The fun anecdote: the Spanish soldiers who heard the 1400s

The best story in Chefchaouen's history has nothing to do with paint. When Spanish troops marched into the town in October 1920, ending nearly four and a half centuries of isolation, some of them were startled by what they heard in the mellah: local Jewish families speaking a form of Spanish close to the Castilian of the fifteenth century. Their ancestors had carried the language out of Andalusia after the expulsions, and the town had kept it, sealed in a mountain valley, for four hundred years, while the language back in Spain moved on. The soldiers had come to conquer a forbidden town and found their own language as it sounded in Columbus's day.

Before 1920, only three outsiders are known to have slipped inside at all, each pretending to be someone he was not: the French explorer Charles de Foucauld, who crossed Morocco in 1883 disguised as a Jewish rabbi travelling with a real one; Walter Harris of The Times, who got in around 1889 dressed as a local; and an American missionary, William Summers, who reached the town in 1892 and died there.

The town today

Today the blue survives because it is constantly repainted. The old medina is washed with lime and blue pigment up to three times a year; every spring, in a tradition known as Al Awacher, young people and women's groups scrub walls, stairs and alley floors, with the local government handing out paintbrushes. The result: powder blues, cobalts and faded sky blues against red-tiled roofs, gathered around the main square, Plaza Uta el-Hammam, and the 15th-century kasbah.

Arrive early: the medina is at its best in the morning, before the day-trippers come from Tangier and Fez, when the alleys are empty and the blue deepens in the low sun. Chefchaouen is no longer the sealed fortress of 450 years — it is a working town that happens to be the most photogenic shade of blue, and if you ask ten residents why their houses are blue, expect ten different answers. Borders are rarely as simple as they look — something Baarle, a town split between two countries, knows well.

One Last Curiosity

Chefchaouen's blue began, most likely, in one quarter of one small town — and became the identity of the whole place. Whether it started as a reminder of heaven, a folk remedy for mosquitoes, or simply a colour people liked, it survived because generations kept picking up the brush. The mystery is not a failure of history; it is the town's signature — some places are explained by their past, others by the people still repainting them.

Related on Poptani Labs: Socotra: the island that looks like another planet, Setenil: the Spanish town living under a rock, Baarle: the town split between two countries. More in this category: Around the World.

Sources: AFAR — Why Is Chefchaouen, Morocco, Painted Blue?, ExploraMorocco — Why Is Chefchaouen Blue? The Real Reasons, G Adventures — Why is Chefchaouen, Morocco's 'blue city', so, well, blue?, Slow Morocco — Chefchaouen Before 1920: The Closed Town and the Men Who Got In, The Culture Trip — The Story Behind the Many Shades of Morocco's Blue City

← All posts