The Ben Youssef Madrasa is a historical Islamic college situated in Marrakesh, Morocco. Positioned alongside the Ben Youssef Mosque, the complex stands as a premier example of Saadian and Moroccan architecture. Initially established at this location under the Marinid dynasty by Sultan Abu al-Hasan, the current structure was commissioned in 1564–1565 by the Saadian sultan Abdallah al-Ghalib. Historically dedicated to educating Islamic scholars in Maliki law, jurisprudence, and Qur'anic recitation, it was once the largest madrasa in the Maghreb, capable of housing up to 800 students across 130 dormitory rooms. Following its closure in 1960 and subsequent restoration projects—most recently completed in 2022—it now functions as a major historical landmark that welcomes thousands of visitors annually.

Occupying an almost square footprint of roughly 40 by 43 meters, the building's floor plan centers around a primary courtyard containing a shallow reflective pool measuring about 3 by 7 meters. Guests enter through a street doorway beneath a sculpted muqarnas vault, proceeding along a narrow corridor into a vestibule. This entryway connects via a wooden mashrabiyya screen to the central courtyard, while secondary passages and stairways lead to student quarters arranged across two levels around six smaller light wells. The ground level features an eastern passageway leading to a square ablutions chamber topped by a muqarnas cupola, four marble columns, and a central water basin encircled by latrines. To the southeast lies a large prayer hall featuring a decorated mihrab.
Architecturally, the madrasa reflects traditions rooted in Marinid and Andalusi design. Lower interior walls are lined with zellij mosaic tiling, transitioning upward into calligraphic friezes, intricately carved stucco featuring arabesques, sebka motifs, and pine cones, and topped by elaborate wooden eaves. Bronze-plated entrance doors display geometric patterns, while cedar wood lintels and wall surfaces bear extensive Arabic calligraphic inscriptions and Qur'anic verses.
Inside the prayer hall, visitors can view an 11th-century carved marble basin originally crafted in Madinat al-Zahra near Cordoba between 1002 and 1007. Brought to Marrakesh in the 12th century and later repurposed for the madrasa, this historical artifact was displayed for a period in the Dar Si Said Museum before being returned to the Ben Youssef Madrasa's prayer hall.
Ben Youssef Madrasa in pictures
See the full Marrakech travel guide for where to stay, the best time to visit and the top things to do.
01 Weather




