MoroccoWise
All travel guides

Destinations

The Spanish Mosque: Breathtaking Sunset Views Over the Blue City

Walk the hillside trail to Chefchaouen's white Spanish Mosque for sweeping views over the blue medina, especially in the soft light near sunset.

7 min read
The Spanish Mosque: Breathtaking Sunset Views Over the Blue City

Set on a hill above Chefchaouen's eastern side, the Spanish Mosque is a popular viewpoint overlooking the blue medina and the Rif Mountains. The small white mosque was built in the 1920s during the Spanish Protectorate period. Though it is no longer used for regular worship, the hilltop location has become a favorite destination for a short walk and a broad view of town.

The white Spanish Mosque on a hill above Chefchaouen

Finding the hillside trail

The route begins near Ras el Ma, at the edge of the medina, and climbs along a well-known path toward the mosque. The walk is relatively short for many visitors, but it is uphill and can be uneven, dusty, or slippery depending on recent weather. Wear shoes with a good grip, bring water, and take your time if you are not used to climbing.

Follow the established path and avoid shortcuts across loose ground. If you are unsure about the route, ask your accommodation or a local guide for current directions. Conditions and access can change, so check locally before setting out, particularly after rain or if you plan to walk close to dusk.

Why sunset is so popular

In the late afternoon, the sun softens and the medina's blue and white walls take on warmer tones. From the hillside, rooftops, minarets, and the surrounding mountain slopes form a layered panorama. Sunset can be especially beautiful when skies are clear, though clouds and haze are common enough that the view is never guaranteed.

Panoramic view over Chefchaouen from the Spanish Mosque trail

Arrive early enough to enjoy the view and descend before the path becomes dark. Many other visitors have the same idea, so expect company near the viewpoint. If you prefer a quieter experience, consider a morning walk when the light is cooler and fewer people may be on the trail.

A viewpoint, not an active mosque

The Spanish Mosque's name reflects its construction history, but the building is generally treated today as a landmark and viewpoint rather than an active place of worship. Respect the structure and do not climb on its walls or enter areas that are closed. Leave the site clean and keep noise low so everyone can enjoy the setting.

Golden-hour light falling across Chefchaouen and the Rif Mountains

Practical tips for the walk

Take a light layer in cooler months, and avoid starting too late if you need to return through unfamiliar lanes. Carry your phone with enough battery for navigation, but do not rely on it as your only way back. If hiking conditions are poor or you feel tired, turn around; the medina itself offers beautiful views and rewarding walks.

The Spanish Mosque is a simple destination with an outsized view. The short climb gives you a fresh perspective on Chefchaouen's layout and mountain setting. Plan around daylight, respect the path and the building, and enjoy the panorama without rushing the walk back down.