Above the old town, a path climbs to the Spanish Mosque, a hilltop building that gives the classic view of Chefchaouen spread out below in blue and white with the Rif mountains behind. The viewpoint sits at about 670 metres and is one of the most popular spots in the region. Most people go for sunset, when the town glows and the call to prayer drifts up from the medina, but early morning is quieter and the light is soft. The route begins at the medina and climbs steadily, partly paved and partly rocky, passing the Ras el-Maa spring along the way. Reports of how long the walk takes vary from a short climb to about an hour, so allow plenty of time and do not rush the last steep section.
Start from Plaza Uta el-Hammam and follow signs for the Mezquita Espanola out of the medina. The first stretch is paved, and you pass the spring after a while. Beyond it the trail forks, and when in doubt the uphill branch is the right one. The final section is the steepest and runs over rocky ground, so wear proper shoes instead of sandals.
Carry water, because there is no shade near the top and no shop. Comments from walkers describe the view as spectacular and the place as very popular and busy at sunset, so arrive early to claim a spot on the wall.
The mosque interior is not always open, and one walker was told it would open only in the late afternoon, so treat access as a bonus rather than a plan. Stay a little after sunset for the blue hour and the call to prayer, but bring a torch or phone light for the rocky descent, and tell your hotel your plan if you are walking alone.
Tuesday to Thursday tends to be quieter than the weekend. A small tip is sometimes requested by local children who offer to guide you; it is optional, and the path is easy to follow without help.
What to expect
The experience
A self-guided uphill walk from the edge of the medina to a hilltop mosque and viewpoint, free to visit, with a wall to sit on and a wide view of the town.
Best time
Sunset for the glow and the call to prayer, or early morning for fewer people and soft light.
How long
Allow about an hour and a half to two hours for the round trip with time at the top.
Tips
Wear sturdy shoes, carry water, bring a torch for the descent and arrive early at sunset to get a spot on the wall.
Quick picks
- Best for
- Anyone who wants the postcard panorama of Chefchaouen and a gentle hike that needs no guide.
- Families
- Fine for older children who can manage a steep, rocky path, but not for strollers.
- Couples
- Go for sunset, stay for the blue hour and carry a phone light for the walk down.
- Pair with
- Pass the Ras el-Maa spring on the way, and finish with dinner or tea in the medina.
- Time needed
- About an hour and a half to two hours including time at the top.
Good questions
How long is the walk to the Spanish Mosque?+
Sources differ, from a short climb to about an hour uphill from the main square. Allow extra time and go at an easy pace, especially on the steep last stretch.
Can I go inside the mosque?+
Access is not guaranteed, and opening times have been reported as irregular. Most visitors enjoy the view from outside.
When is the best time to go?+
Sunset is the most popular and the most crowded, while early morning is quieter. Midweek tends to be calmer than weekends.
Is the walk safe?+
The path is well used and signed, and phone coverage is reliable near the top. Bring a light if you stay after dark and tell your hotel if you are alone.
Does it cost anything?+
There is no entry fee. Local children sometimes offer to guide you for a small tip, which is optional.




