Morocco is predominantly Muslim, and access to sacred buildings is regulated more strictly than in many neighbouring countries. Understanding this avoids misunderstandings and still leaves remarkable architecture to see.
The general rule
Working mosques are not accessible to non-Muslims. This includes the famous Koutoubia in Marrakech, which can only be viewed from outside and from the surrounding gardens. The rule derives from an administrative order of the French protectorate period and is applied consistently to this day.
The exception
The Hassan II Mosque in Casablanca is the only major religious building non-Muslims may see from inside. Completed in 1993, it stands partly over the Atlantic and has, at two hundred metres, the tallest minaret in the world. Guided tours run several times daily, cost about twelve euros and last around an hour.
The medersas
Former Quranic schools are museums today and freely accessible. The Ben Youssef Medersa in Marrakech and the Bou Inania Medersa in Fes show Moroccan craftsmanship at its purest: zellige mosaic, carved cedar and geometrically precise stucco. Entry costs three to five euros.
Other places
The mausoleum of Moulay Idris in Fes is a pilgrimage site visible only from outside. Volubilis nearby preserves Roman ruins, and neighbouring Moulay Idriss Zerhoun is regarded as the country's holiest town. Jewish heritage survives in the mellahs of Fes and Marrakech and in several restored synagogues.
Etiquette
Covered shoulders and knees are required at all religious sites, and at the Hassan II Mosque shoes must be removed as well. Access is suspended during prayer times. During Ramadan opening hours change considerably, and eating in public during daylight is considered disrespectful.
Ramadan
Travelling during the fasting month means seeing a different country. Many restaurants close during the day, museums shorten their hours, and traffic becomes hectic shortly before sunset as everyone heads home. After the fast is broken, however, nightlife wakes up, the souks stay open late and the mood is notably warm. Non-Muslims may eat and drink but should not do so publicly. The dates move roughly eleven days earlier each year.
The medersas fully compensate for the mosques staying shut — architecturally they are the finer work anyway.