Nobody can say for certain why Chefchaouen is blue. The most widely repeated explanation links the colour to Jewish families who settled in the town and used blue as a symbol of the sky and the divine. Others credit practical reasons such as keeping houses cool or deterring insects, and many residents will tell you the blue has spread in recent decades because visitors love it. The truth is probably a blend of all of these.
This guide sets out the main explanations side by side, explains the town’s Andalusian and Jewish heritage, and offers practical advice on photographing the blue streets without intruding on the people who live there.
A short history of Chefchaouen
Chefchaouen sits in the Rif mountains of northern Morocco, below two peaks that are often said to resemble horns. Its name is usually explained with this image in mind. The town was founded in the late fifteenth century as a fortified base, at a time of conflict with the Portuguese and Spanish along the coast. Its kasbah, with its walls and towers, still stands at the heart of the medina.
Over the following decades, the town took in large numbers of Muslims and Jews leaving the Iberian Peninsula after the fall of Granada and the expulsions that followed. These families brought Andalusian building styles, crafts, music and food. Many historians see that heritage in the town’s whitewashed walls, tiled roofs, wooden balconies and small plazas, which recall villages in southern Spain.
For long periods Chefchaouen was relatively isolated, and few outsiders visited. In the twentieth century it fell within the Spanish protectorate in northern Morocco, and Spanish is still widely understood there today.
The competing explanations for the blue
No single document records when the town decided to turn blue, so what follows is tradition, local memory and reasonable guesswork. We present each explanation as it is commonly told and let you weigh them.
1. A Jewish tradition of blue
The best-known story credits the town’s Jewish community. In Jewish tradition, blue is associated with the sky, with heaven and with a reminder of God’s presence. It is the colour linked to tekhelet, the dye mentioned in scripture for prayer-shawl threads. According to this account, Jewish families painted their homes blue, or tinted the whitewash, and the habit gradually spread.
Accounts disagree on when this happened. Some link it to the refugees from Spain in the fifteenth and sixteenth centuries. Others point to Jewish families who arrived much later, in the twentieth century. Most of the town’s Jewish population eventually left Morocco in the decades after the mid-twentieth century, but the colour stayed.
2. Keeping cool
Some people say pale blue walls reflect light and help homes feel cooler in summer, as whitewash does. It is a reasonable idea, though summers in the Rif are milder than in Morocco’s interior, and the effect of a light blue tint compared with plain white is probably small.
3. Keeping insects away
Another popular claim is that blue deters mosquitoes and flies, perhaps because insects are thought to avoid the colour or the water-like look of it. You will hear this from some residents, but it is folk belief rather than an established fact.
4. Water and the spring
Chefchaouen grew around a spring, Ras el-Maa, which still flows at the edge of the medina. Some see the blue as a symbol of water and of the river that runs from it. It is a poetic idea rather than a historical claim.
5. Tourism and civic pride
Many visitors don’t hear this explanation, yet it may be the most important. Older photographs and many local accounts suggest the town was much less uniformly blue a few decades ago, with plenty of white and only patches of blue. As the town became famous for its colour, residents and the local authorities had good reason to keep repainting. Today the blue is partly a living tradition and partly a community choice that supports the local economy.
So which is true?
Most likely, several of these overlap. A tradition with roots in one community grew and was reinforced by practical beliefs, and in recent decades it was magnified by tourism and town pride. If you ask three people in Chefchaouen, you may well get three different answers, and that is part of the charm.
Seeing the town’s heritage beyond the blue
The colour is what draws people, but there is more to see:
- Outa el-Hammam. The main square, shaded by trees and overlooked by the kasbah and the Grand Mosque with its octagonal minaret.
- The Kasbah. Restored walls, a garden courtyard and a small museum. From the towers you get a view over the rooftops.
- Ras el-Maa. The spring and the stream below it, where some residents still do laundry by hand. This is a working space for local people, not a photo set.
- The Spanish Mosque viewpoint. A walk up the hillside opposite the town leads to a disused mosque with a wide view over Chefchaouen. It is popular at sunset.
- Crafts. Look out for woven blankets, woollen garments and goat’s cheese from the surrounding mountains.
Photographing the blue streets respectfully
The blue lanes of Chefchaouen are among the most photographed places in Morocco. They are also people’s homes. Residents have increasingly spoken about crowds on their doorsteps, so a little consideration goes a long way.
Do
- Ask before photographing people. Many Moroccans, especially older people and women, prefer not to be photographed. A gesture towards your camera with a questioning smile is enough. Accept a no gracefully.
- Go early. In the first hours of the morning the lanes are quiet, the light is soft, and you are less likely to get in anyone’s way.
- Keep moving and keep paths clear. Lanes are narrow. Step aside for residents, children walking to school and people carrying shopping.
- Buy something if you pose with a shop’s display. Some of the most photogenic corners are arranged by shopkeepers. If you use their pots or rugs as a backdrop, a small purchase or at least a thank you is fair.
Don’t
- Don’t sit on doorsteps or climb on private stairs for a shot. These belong to people’s houses.
- Don’t touch or move flowerpots, doors or belongings to stage a picture.
- Don’t photograph through open doors or windows into homes.
- Don’t fly a drone without checking the rules first. Morocco has strict regulations on drones, and bringing one in without the right permission can lead to it being held at customs.
Some lanes have signs asking visitors to be quiet or not to take photos. Please respect them. For a broader guide to local customs, our Moroccan etiquette tips for visitors is a good read before you travel, and our guide on what to wear in Morocco helps you dress comfortably for a conservative mountain town.
Practical tips for visiting
- Stay at least one night. Day-trippers fill the lanes from late morning to late afternoon. Evenings and early mornings are far calmer.
- Bring layers. The town sits at altitude, and nights can be cool even in late spring and early autumn. Winters can be cold and wet.
- Wear grippy shoes. The lanes are steep and often stepped, and painted surfaces can be slippery after rain.
- Get out into the hills. The surrounding Rif countryside offers good walking, including the popular route to the Akchour waterfalls, usually reached by road.
- Politely decline unwanted offers. As in other tourist towns, you may be approached in the street. A friendly “no, thank you” is enough.
Chefchaouen sits naturally on a northern route. Our northern Morocco itinerary links it with Tangier and Fes, and our guide to the best time to visit Morocco by region helps you pick a season.
Frequently asked questions
Is the whole of Chefchaouen blue?
The blue is mainly in the old medina. The newer parts of town look much like other Moroccan towns. Even in the medina, the shades vary, from pale sky blue to deep indigo.
Who paints the walls?
Mainly the residents, who usually repaint their homes regularly, often before important holidays. Public spaces may also be repainted as part of local upkeep.
When is the best time to visit Chefchaouen?
Spring and autumn generally bring pleasant temperatures and green hills. Summer is busier, and winter can be cold and rainy, though the town is beautifully quiet then.
Is Chefchaouen worth visiting for more than photos?
Yes. The town is relaxed, the mountain setting is lovely for walks, and its Andalusian history gives it a character quite different from Marrakech or Fes.
Plan your trip
Our Chefchaouen travel guide explores the town’s history, neighbourhoods, walks and food in more depth, with practical tips for getting there and around. Many travellers continue to Fes or the coast, and our Fes travel guide and Tangier travel guide help you plan the next leg.
This article was written with the assistance of artificial intelligence, and was reviewed and edited by the Enjoy Agadir Trip team. How we write and check our guides
