Geography & context
Chefchaouen (شفشاون), the famous 'blue city', is a mountain town in northern Morocco, nestled in the Rif, in the Tanger-Tétouan-Al Hoceïma region. Located at roughly 35.17° north latitude and 5.26° west longitude, at about 600 metres of altitude at the foot of the Rif peaks, it has a Mediterranean mountain climate: hot, dry summers, cool and humid winters. Renowned for its blue-painted medina, Chefchaouen sees its high latitude produce prayer times with a strong seasonal swing.
History & religious heritage
Chefchaouen was founded in 1471 by Moulay Ali ben Rachid as a stronghold meant to resist Portuguese incursions on the coast. The city then welcomed Muslim and Jewish refugees from Andalusia after the Spanish Reconquest, which lastingly marked its architecture and culture. Long remaining off the beaten track, it has preserved a medina of great authenticity. Religious practice here follows the Maliki rite, common to all of Morocco.
Religious life in Chefchaoun
Religious life in Chefchaouen sits within the Maliki Islamic tradition of the Rif, carried by the Grand Mosque of the medina and a network of neighbourhood mosques. The Friday prayer brings together residents of the old town and the newer districts. Ramadan is lived with a strong communal dimension. The Grand Mosque, recognisable by its octagonal-plan minaret, dates back to the city's earliest days.
Hijri calendar & local specifics
As everywhere in Morocco, the Hijri calendar in Chefchaouen follows rukyat, the official sighting of the crescent moon announced by the Ministry of Habous. Located in a mountain area, the city can, on cloudy evenings, find lunar observation hampered by clouds clinging to the Rif relief. During Ramadan, Morocco suspends summer time, shifting all prayer times by about an hour for the duration of the month.
Climate & effect on prayer times
The high latitude (~35.2° N) and the mountain altitude give Chefchaouen prayer times with a strong seasonal swing. In winter, Fajr is observed around 06:35 and Maghrib around 17:45 — a compressed prayer day; in summer, Fajr falls around 04:10 and Isha around 22:00–22:30 depending on the method. The Rif relief surrounding the city can, at the end of the day, slightly advance the impression of the sun setting behind the ridges. The published times follow the Ministry of Habous method.
Notable mosques
Chefchaouen has many mosques, from the Grand Mosque of the medina to the neighbourhood mosques. Here are some of the most notable.
A mosque overlooking the medina from the heights of Bouzafer, much appreciated for its view over the blue city.
2. Grande Mosquée de Chefchaouen
الجامع الأكبر
Place Outa el Hammam
View on Maps ↗The main mosque of the medina, dating back to the city's founding, recognisable by its octagonal minaret.
The 'white mosque of the souk', at the heart of the merchant alleys of the medina.
A mosque on Rue Jamaa Sebanin, in the old town.
A mosque on Avenue Ibn Zouhr, one of the city's busy places of prayer.
'Badr' evokes the Battle of Badr (year 2 of the Hijra), the first great victory of the Muslims. A neighbourhood mosque.
Content verified on 18 September 2026.