Spanish Mosque Chefchaouen — The Sunset Hike

    If you do one thing at golden hour in Chefchaouen, make it the walk up to the Spanish Mosque. This small white building on a hill east of the medina is empty and locked — nobody prays there — yet it draws a crowd every evening for one reason: it is the finest chefchaouen sunset spot there is. From the terrace out front, the whole blue city spills down the valley below you while the Rif mountains turn pink behind it. The spanish mosque hike is short, free, and doable by most people. Here is exactly how to do it.

    What Is the Spanish Mosque & Its History

    The Spanish Mosque — locals also call it Mosquée Espagnole or Bouzafar Mosque — was built by the Spanish in the 1920s, during the era when northern Morocco was under Spanish protectorate. The idea was to win over the town. It never really worked: the people of Chefchaouen mostly kept their distance, and the mosque was barely ever used for prayer.

    For decades it sat abandoned on its hilltop. It has since been tidied up and restored on the outside, but it stays locked and empty inside — there is nothing to visit within the walls.

    So why does everyone go? • The location. It sits on Jbel Bouzafar directly across the valley from the old medina, at just the right height and angle to see the entire blue city at once. • The view. No other easy-to-reach spot gives you this panorama of Chefchaouen with the Rif behind it. In short: you come for the hill the mosque sits on, not the mosque itself.

    How to Hike to the Spanish Mosque from the Medina

    The chefchaouen spanish mosque walk starts at the eastern edge of the medina, at Ras el Ma — the spot where the mountain stream runs past the old washing basins. Everyone knows it; ask for "Ras el Ma" if you get lost in the alleys.

    From there:
    • Cross the little stream on the stone footbridge or stepping stones.
    • On the far bank, pick up the wide dirt path that climbs to your right. It is signposted and well trodden — you will likely see other walkers heading the same way.
    • Follow it uphill. The trail switches back a few times across the open hillside. It is rocky and uneven in places but never technical.
    • After 30 to 40 minutes the path levels out at the mosque and its flat terrace. That is your viewpoint.

    There is no entrance gate and no ticket — the walk and the viewpoint are completely free. Wear real shoes, not sandals; the surface is loose stone and it is easy to slip, especially on the way down.

    Best Time — Sunset & Photography Tips

    Aim to start the climb about one hour before sunset. That gives you time to walk up without rushing and still settle in before the light turns gold.

    • Golden light: In the last hour before dusk, the low sun hits the blue walls from the side and makes the whole medina glow — deep blues, warm ochre rooftops, green hills. It is the best light of the day for photos of the city.
    • The framing: Stand on the terrace in front of the mosque and shoot back toward the medina and the mountains behind it. A wide lens or a phone panorama captures the sweep.
    • Crowds: You will not be alone. The terrace gets busy at sunset, especially in spring and summer. Arrive early to claim a good spot on the wall.
    • Blue hour: Do not bolt the moment the sun drops. The ten minutes after sunset, when the sky goes deep blue and the town lights flick on, are quietly the best of all.

    One honest warning: once the sun is gone it gets dark fast, and the path has no lighting. Plan for the walk back in the dark (see the next section).

    What to Bring & How Hard Is It

    The hike is best described as moderate but short. It is a steady uphill effort on a rough path — nothing a reasonably fit person cannot manage, but not a smooth stroll either. Take it slowly and you will be fine.

    What to pack:
    • Shoes with grip — trainers or hiking shoes. The loose rock is the one real hazard, mostly on the descent.
    • Water — at least half a litre per person. There is nothing to buy at the top.
    • A torch or phone light — essential if you stay for sunset, because you will walk down in the dark.
    • A light layer — the hilltop catches the wind and cools quickly once the sun is down, even in summer.
    • Sun protection — hat and water if you go earlier in the afternoon; the hillside is fully exposed with no shade.

    Roughly plan 90 minutes to 2 hours for the whole outing: up, time at the top for the sunset, and back down. Families with older kids do it regularly. If you have knee trouble, the rocky descent in fading light is the part to be careful about — poles or a steady arm help.

    After the Hike — Unwind at Chefchaouen Spa

    Your legs will feel that descent the next morning. The rocky path down works your knees and calves harder than the climb up, and most people finish the evening pleasantly tired and a little dusty.

    That is where we come in. Chefchaouen Spa sits a short walk from the medina, and it is the natural end to a sunset hike:
    • A traditional hammam to steam off the trail dust and loosen tight muscles — exactly what tired legs want.
    • An argan oil massage to work out the knots from the uphill effort.
    • A float therapy session in our sensory-deprivation tank — Morocco's only one — to switch your body off completely after a day on your feet.

    We are rated 4.9/5 (TripAdvisor) by our guests, and a good number of them come in the day after doing the Spanish Mosque walk. Book a hammam and massage combo for the same evening, or a float session for the morning after. Reserve your session and let us take the ache out of the adventure.

    Treat Yourself During Your Stay

    Ask about a float session, massage or hammam at Chefchaouen Floating Center.

    Spanish Mosque — FAQs

    Book on WhatsApp