The blue town in the Rif
Chefchaouen sits at about 600 metres in the western Rif Mountains, in the foothills below two peaks that are often said to give the town its name, from a phrase meaning "look at the horns". It lies between Tetouan and Ouazzane and has no railway station; most visitors arrive by CTM bus or taxi from Tangier, Tetouan or Fes.
The town was founded in 1471 by Ali ibn Rashid al-Alami as a small fortress against Portuguese attacks on the northern coast. It grew as Muslim and Jewish refugees from al-Andalus settled there. In the 20th century it was occupied by Spanish forces in 1920, became part of Abd el-Krim's Rif Republic from 1924 to 1926, and was retaken by Spain in 1926.
Why the town is blue
There is no single agreed explanation. Theories range from symbolism of the sky and spiritual life to the idea that blue helps keep mosquitoes away. Some local accounts say that widespread blue painting was encouraged in the 1970s, partly with visitors in mind. Whatever the origin, the blue and white walls are now repainted regularly, and the most photographed lanes are in the upper medina.
Outa el Hammam and the Kasbah
The central square, Outa el Hammam, is named after a public bathhouse in its northwest corner and was probably laid out in the 16th century. It is surrounded by cafes and restaurants, the Great Mosque with its octagonal minaret, and the Kasbah.
The Kasbah is the oldest part of the town: a walled enclosure of rammed earth with ten towers and a taller west tower. Today it houses a small museum and a garden, and the towers give good views over the medina rooftops. It is the logical starting point for any walk.
Souika and the older lanes
Southwest of the Kasbah is Souika, whose name means "little souk". It dates to the 15th century and is one of the oldest quarters of the medina. Its lanes are narrower and more residential than those around the square, with small shops, bakeries and doorways rather than rows of souvenir stalls. Walking slowly through Souika and the lanes that climb north and east from the square is the best way to see the town as a living neighbourhood rather than a backdrop.
A few habits make these walks better:
- Go early in the morning, before tour groups arrive from Fes and Tangier, when the lanes are quiet and the light is soft.
- Respect residents. Many of the most photographed doorways are private homes; do not sit on steps or block entrances, and ask before photographing people.
- Expect stairs. The medina climbs steeply, and many lanes are stepped.
Ras el-Maa and the Spanish Mosque
On the eastern edge of the medina, just outside the old walls, is Ras el-Maa, the spring that was the town's original water source. The water emerges from a stone enclosure, with an old mill and an old bridge nearby, and locals still use the area for washing and as a place to cool off in summer.
From Ras el-Maa a path climbs the hillside to the east to the Spanish Mosque, a disused mosque built by the Spanish in the 1920s. The walk takes roughly half an hour on foot, and the viewpoint looks back across the whole blue town and the mountains behind. It is busiest at sunset; morning visits are quieter.
The Rif mountains around the town
Chefchaouen is also a base for walking. The Talassemtane National Park lies to the east, and day trips to the Akchour area, with its river gorge, waterfalls and natural rock arch known as God's Bridge, are popular in the warmer months. These walks involve river crossings and uneven paths, so wear proper shoes and go with local transport or a guide if you are unsure of the route.
Practical tips
- Stay at least one night. Day trippers fill the medina between late morning and late afternoon, and the town is at its calmest in the evening and early morning.
- Nights can be cold in winter, and some guesthouses have limited heating, so check before booking.
- Cash is useful for small shops and cafes; ATMs are located mainly around the edges of the medina and in the new town.
- The new town outside the walls has the bus station, supermarkets and banks.