On its hill east of the blue medina, the Spanish Mosque, also known as the Bouzafar mosque, is one of the most photographed viewpoints in Chefchaouen. Built during the Spanish protectorate, it was, according to most accounts, never adopted for prayer by local people.
A mosque built under the Spanish protectorate
Spanish troops entered Chefchaouen in October 1920, lost the town during the Rif War in 1924 and retook it in 1926. The mosque dates from this period: it was built in the 1920s by the Spanish authorities, who were then equipping the town with administrative, school and religious buildings.

Built by the occupying power, away from the town, it never became a neighbourhood mosque. Several accounts say it was not used for daily prayer, even if the call to prayer is said to have been made there from time to time.
The view over Chefchaouen
What brings visitors today is the view. From the esplanade, the blue and white houses of the medina spread out below, with the Rif mountains behind.

Sunset is the busiest time: the low light catches the façades of the medina while the lanes fall into shadow. Go up a little before, and bring a torch for the walk down after dark.
Walking up to the Spanish Mosque
Allow 20 to 30 minutes on foot from the medina. The path starts at Ras El Ma, near the bridge and Bab Onsar, one of the gates of the old town.
From Uta El Hammam square, walk up through the lanes to Bab Onsar and Ras El Ma, then take the path that climbs the hillside. The slope is steady and within reach of most walkers, with a few steeper sections. The path first passes the last houses of the town, then crosses a hillside covered with pines and Mediterranean scrub.
The monument today
The mosque was restored by the municipality in 2007. The interior is usually closed to the public, but the esplanade is enough to enjoy the view. We found no confirmed entrance fee: ask locally.




