Skip to content
Departly.
Spanish Mosque viewpoint, Morocco
Spanish Mosque viewpoint

Tanger-Tetouan-Al Hoceima

Spanish Mosque viewpoint

A short uphill walk to a disused 1920s mosque above Chefchaouen — the single best sunset spot over the blue rooftops and the Rif.

Written by the Departly editorial team Reviewed against GOV.UK on 17 Jun 2026

Where

Chefchaouen, Morocco

Opening hours

Open access (always open) — there is no gate and no opening hours, as the mosque building itself is disused and shut. The path is unlit, so allow enough daylight to walk back down after sunset. Confirm current details locally before setting out.

Tickets

Free — no ticket needed to walk up or use the viewpoint. You may be asked for a small tip by anyone who offers to guide you, but none is required.

Time needed

Allow about 1 to 1.5 hours including the 20–30 minute walk up, time at the top for the light, and the walk back down.

In short

Visiting Spanish Mosque viewpoint

A 20–30 minute uphill walk from the medina leads to a disused 1920s mosque on the hillside above Chefchaouen. It is the single best sunset spot over the blue rooftops and the Rif mountains, so go for golden hour rather than the harsh midday glare. The mosque is closed, but the terrace beside it is the draw.

The walk up

If you do one thing in Chefchaouen beyond wandering the blue lanes, make it the climb to the Spanish Mosque. From the eastern edge of the medina you cross the little Ras el-Maa river and follow a clear but rough path up the opposite hillside; reckon on 20 to 30 minutes at a steady pace. It is uphill the whole way and there is barely any shade, so wear proper shoes, take water, and do not attempt it in the full heat of the early afternoon.

The mosque itself was built by the Spanish in the 1920s and has been disused and locked for decades, so do not expect to go inside or find a custodian — the point is the open terrace and the hillside around it. The whole thing is free; you may be approached by someone offering to guide you up the unmissable path, but you do not need them and no payment is required, though a small tip is polite if you accept help.

Timing it for the light

The reason everyone makes this climb is the view back over the town. From up here the blue-washed rooftops spill down the valley with the Rif mountains rising behind, and at sunset the low light deepens the blue and warms the stone into something genuinely beautiful. Come at midday and you get a flat, glary version of the same scene that never quite earns the photos; come 45 minutes before sunset and you understand why people rave about it.

Plan the descent honestly: the path is unlit, and the light goes quickly once the sun drops behind the ridge. Enjoy the colour, then start back down while you can still see your footing — a head-torch or phone light helps for the last stretch. Bring a layer too, as the breeze on the exposed hillside picks up as the sun goes. It is a small effort for the best vantage point in town, and the one spot that puts the whole of Chefchaouen in front of you at once.

Planning the rest of your trip? See the Chefchaouen city guide.

More to see in Chefchaouen

Book the essentials

Tours & tickets

Book tours & ticketsvia GetYourGuide
See the full Morocco guide

Spanish Mosque viewpoint FAQs

How hard is the walk to the Spanish Mosque?
It is a steady 20–30 minute uphill walk on a rough but clear path from the edge of the medina, crossing the small river and climbing the hillside opposite. There are no steps to speak of, but the surface is uneven and there is little shade, so wear proper shoes and carry water. Most reasonably mobile visitors manage it comfortably; it is not a technical hike.
When is the best time to go?
Late afternoon for golden hour and sunset, when the low light turns the blue medina its richest colour and the Rif glows behind it. Midday is harsh and washed out, and the climb is hot. Arrive 30–45 minutes before sunset to claim a spot, then allow enough light to get back down the unlit path.
Can you go inside the mosque?
No — the 1920s Spanish-built mosque has long been disused and is closed to visitors, so the attraction is the open terrace and hillside beside it, not the building. It is the viewpoint over the town and mountains that people make the walk for.