
مدرسة ابن يوسف
The Ben Youssef Madrasa was, for centuries, among the most important Quranic schools in the western Islamic world, housing hundreds of students who came to study in Marrakech. Set deep in the medina near the Ben Youssef Mosque, the complex is a concentrated showcase of Moroccan craftsmanship: zellige tilework, carved cedarwood, and intricately worked stucco wrap nearly every surface.
The heart of the madrasa is its rectangular central courtyard, anchored by a long reflecting pool and framed by arcades. Beyond it lies the prayer hall, while the upper floors are honeycombed with small student cells that look down onto the court. The decoration grows richer as it rises — geometric tile at the base, calligraphic and floral stucco above, and carved cedar lintels and screens crowning the composition.
The building reopened to visitors after a substantial multi-year restoration that cleaned and stabilised the decoration and reworked the visitor route. As a result it presents extremely well today, and its courtyard is one of the most rewarding photographic subjects in Marrakech.
Because the madrasa no longer functions as a school, the entire complex — including the prayer hall and student quarters — is open to visitors of all faiths, a contrast with Marrakech's active mosques.
A school on this site dates to the Marinid period in the 14th century, but the madrasa as seen today was largely rebuilt in the mid-16th century under the Saadian sultan Abdallah al-Ghalib. The Saadians lavished resources on the project, and the resulting decoration reflects the dynasty's wealth and its embrace of Andalusian-influenced ornament.
At its height the madrasa accommodated a large body of students in its many cells, who studied religious sciences alongside the curriculum of the adjacent mosque. It remained in use as a teaching institution into the 20th century before closing and later being conserved as a heritage monument.
A comprehensive restoration in recent years addressed decades of wear, returning crispness to the carved plaster and brilliance to the zellige. The work also improved interpretation and circulation, helping visitors understand how the building functioned as a place of both study and residence.
Today the Ben Youssef Madrasa stands as one of the finest accessible examples of Saadian-era architecture in Marrakech, complementing the nearby Saadian Tombs as a record of the dynasty's artistic legacy.
Just after opening, before the courtyard fills

The carved cedar and zellige decoration typical of the madrasa

Arcaded courtyard architecture in the Marrakech medina

Hand-cut zellige in classic geometric patterns

Tiled courtyard and fountain detailing of Marrakech's historic monuments