HomeMoroccoMarrakechBen Youssef Madrasa

Ben Youssef Madrasa 🇲🇦

A restored Islamic college, one of the finest examples of Moroccan craftsmanship.

CountryMorocco RegionMarrakesh-Safi Best timeMar · May · Oct · Nov TypeAttraction
© Wolfgang B / CC BY-SA 3.0
Must-seeThe finest example of Moroccan craftsmanship in the city — a jaw-dropping courtyard, freshly restored.

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.

Александр Галаган / CC BY-SA 4.0
© Александр Галаган / CC BY-SA 4.0

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.

Plan your trip

See the full Marrakech travel guide for where to stay, the best time to visit and the top things to do.

01 Weather

Weather right now · Ben Youssef Madrasa
84°
Clear sky
Feels 84° · Humidity 45% · Wind 6 mph
Today Clear sky 87° 75°
Fri Clear sky 91° 65°
Sat Clear sky 99° 69°
Sun Clear sky 98° 74° ☔ 24%
Mon Clear sky 99° 75°
Tue Clear sky 97° 74°
Weather by OpenWeather · updated hourly · weather map →

Frequently asked about Ben Youssef Madrasa

Is Ben Youssef Madrasa worth visiting?
Yes — it is one of the top things to do in Marrakech. A restored Islamic college, one of the finest examples of Moroccan craftsmanship.
Do you need a ticket for Ben Youssef Madrasa?
Yes — it is a ticketed attraction, so book a timed slot online ahead of time in busy periods.
How much time do you need at Ben Youssef Madrasa?
Most visitors spend from under an hour to a few hours, depending on how much they want to see.
×