Ben Youssef Madrasa
مدرسة ابن يوسف
Coranic School (106589859).jpeg
The main courtyard of the madrasa and its reflective pool
General information
Architectural styleSaadian, Moroccan, Islamic
LocationMarrakesh, Morocco
Coordinates31°37′55″N 7°59′10.3″W / 31.63194°N 7.986194°W / 31.63194; -7.986194Coordinates: 31°37′55″N 7°59′10.3″W / 31.63194°N 7.986194°W / 31.63194; -7.986194
Completed1564-65CE (972AH)
Other dimensions40 m × 43 m (131 ft × 141 ft)
Technical details
Materialcedar wood, brick, stucco, tile
Floor count2

The Ben Youssef Madrasa (Arabic: مدرسة ابن يوسف; also transliterated as Bin Yusuf or Ibn Yusuf Madrasa[1]) is an Islamic madrasa (college) in Marrakesh, Morocco. Functioning today as a historical site, the Ben Youssef Madrasa was the largest Islamic college in Morocco at its height.[2] The madrasa is named after the adjacent Ben Youssef Mosque founded by the Almoravid Sultan Ali ibn Yusuf (reigned 1106-1142). The madrasa building which stands today was commissioned by the Sa'di (or Saadian) Sultan Abdallah al-Ghalib in the 16th century, following a style established during the earlier Marinid period.[2]


A simple student's room in the Ben Youssef Madrasa.
A simple student's room in the Ben Youssef Madrasa.

The madrasa is named after the adjacent Ben Youssef Mosque, which was originally the main mosque of the city, founded by the Almoravid Sultan Ali ibn Yusuf (reigned 1106-1142 ad.)[1][3] The first madrasa on this site was founded during the Marinid Islamic dynasty by Sultan Abu al-Hasan (ruled 1331-1348).[4][3] This dynasty, known for its perpetuation of the arts and literature, ruled from 1196 to 1465 AD and was responsible for constructing many madrasas across Morocco.[5][3] The current building, however, was constructed by the Saadian Sultan Abdallah al-Ghalib (reign 1557-1574 AD), a major builder of his period, and completed in 1564-65 AD (972 AH).[2][6]

Historically, madrasas have served as a center for learning, worship and community interaction.[7] In addition to teaching Quranic Tasfeer and Islamic jurisprudence, Islamic schools often taught a wide variety of subjects, including literature, science and history.[8] The Ben Youssef Madrasa, in fulfilling these functions, was also one of the largest theological colleges in North Africa, reportedly able to accommodate upwards of 800 students.[2]

Closed down in 1960, the building was refurbished and reopened to the public as a historical site in 1982.[9] The Ben Youssef Madrasa currently attracts thousands of tourists every year and remains one of the most important historical buildings in Marrakesh.[10] It closed for restoration again in November 2018 and reopened to the public in April 2022.[11][12][13]



The madrasa's floor plan occupies a nearly square space measuring approximately 40 by 43 meters.[6]: 130 [1] The building is entered from a single street entrance, from which a narrow corridor leads to a vestibule chamber, which in turn gives access to the central courtyard.[10] This process of entry, like in many Islamic buildings, is carefully designed to inspire revelation and astonishment in an unexpected opening of space into the main courtyard.[10] The layout of the building centers around the main courtyard, which is surrounded by east and west galleries and student dormitories on the upper and lower levels.[10] Like many Islamic buildings, the courtyard is itself centered around a large shallow reflective pool, measuring approximately 3 by 7 meters.[10] At the southeastern end of the courtyard is another large chamber which served as a prayer hall, equipped with a mihrab (niche symbolizing the direction of prayer) featuring especially rich stucco decoration.[6]

As in classic Marinid madrasas constructed during the century, the layout of the Ben Youssef madrasa contains student dormitory cells clustered around the first and second levels of the central courtyard. The madrasa's vestibule chamber gives access to two secondary corridors that circulate around the courtyard to give access to the dormitories on the ground floor, while two stairways from the vestibule give access to similar corridors on the second level. The dorm rooms are additionally arranged around a series of six small courtyards (three in the northeast wing, three in the southwest wing) which open on both levels from these corridors.[10][6] Together, the madrasa consisted of 130 student rooms and housed up to 800 students; making it the largest madrasa in Morocco.[10][2]

On the ground floor, the eastern corridor from the vestibule also gives access to an ablutions chamber in the northeastern corner of the building. The chamber has a square floor plan with four marble columns upholding four arches below a central cupola of muqarnas (similar to the one in front of the madrasa's entrance). The middle of the chamber is occupied by a square water basin, while a series of latrine rooms are accessible around the chamber's perimeter. Notably, it was also in this chamber that an 11th-century marble basin from Cordoba was first noted by Jean Gallotti (a historical arts inspector working for the French Protectorate) in 1921. The basin was removed for study and is now housed at the Dar Si Said Museum.[6]: 134 


The ornamentation of the Ben Youssef Madrasa derives closely from that of earlier Moroccan and Andalusian architecture, which makes use of pools, gardens, fountains, and surfaces covered in zellij (mosaic tilework) and intricately carved stucco and wood.[5] In particular, the decorative arrangement follows the architectural traditions established in earlier Marinid madrasas: zellij tiling is used along lower walls, calligraphic friezes are generally present at eye-level, and the middle and upper areas of the walls are covered in stucco decoration before transitioning into wooden elements, including ornately-carved eaves. The arches of the ground-floor galleries in the courtyard also have stucco consoles supporting carved wooden lintels that bridge the distances between each pier.[6] The main central courtyard of the madrasa communicates a strong visual experience for visitors and students via these embellishing elements and their symmetrical arrangement. This courtyard is entered from the vestibule via a wooden screen (mashrabiyya) under a monumental archway which is itself decorated with carved stucco.[10] Although the student cells that surround the courtyard have little to no interior decorative elements, the small secondary courtyards that grant access to them do bear some stucco and wooden decoration.[10] The motifs carved into wood and stucco include traditional elements such as arabesques, sebka (or dark wa ktaf), calligraphic inscriptions, and muqarnas, as well as more distinctly Saadian-era motifs such as pine cones.[6]

The street entrance of the madrasa is overlooked by an elaborate muqarnas (stalactite or honeycomb-like sculpting) cupola in front of the doorway, while another muqarnas cupola is found in the ablutions chamber. The doors of the madrasa are plated with bronze forming an interlacing geometric pattern and enhanced with shallow carved arabesque motifs.[6] The cedar wood lintel above the doors is carved with an Arabic inscription on an arabesque background. The inscription names and praises Sultan Abdallah as the builder of the madrasa.[6] Numerous other inscriptions are also found throughout the building on various surfaces, often consisting of Qur'anic verses. The large Kufic inscription around the arch of the mihrab, for example, includes the basmala and the tasliyya followed by verse 36 and the beginning of verse 37 from the Surah an-Nur.[6]: 148 

See also


  1. ^ a b c "Discover Islamic Art - Virtual Museum - monument_ISL_ma_Mon01_15_en". Retrieved 2018-12-12.
  2. ^ a b c d e Yeomans, Richard (2000). The Story of Islamic Architecture. New York: New York University Press. pp. 11–113.
  3. ^ a b c Marçais, Georges (1954). L'architecture musulmane d'Occident. Paris: Arts et métiers graphiques. p. 392.
  4. ^ Bloom, Johnathan (2009). The Grove Encyclopedia of Islamic Art and Architecture. Oxford University Press. p. 160.
  5. ^ a b Bloom, Jonathan (2009). The Grove Encyclopedia of Islamic Art and Architecture. Oxford University Press. pp. 164–165.
  6. ^ a b c d e f g h i j Salmon, Xavier (2016). Marrakech: Splendeurs saadiennes: 1550-1650. Paris: LienArt. pp. 118–169. ISBN 9782359061826.
  7. ^ Bloom, Johnathan (2009). The Grove Encyclopedia of Islamic Art and Architecture. Oxford University Press. pp. Vol. 2 464–465.
  8. ^ "IBN YUSUF MADRASA in Marrakesh, Morocco". Retrieved 2018-12-12.
  9. ^ Razer, David (2015). Morocco Revealed: Fez, Marrakech, Meknes and Rabat. Approach Guides. pp. 1931–2000. ISBN 978-1936614479.
  10. ^ a b c d e f g h i "Ben Youssef Madrasa". Archnet. Retrieved 2018-12-11.
  11. ^ "Morocco's Largest Madrasa". Atlas Obscura. Retrieved 2022-06-22.
  12. ^ "the emblematic Medersa of Ben Youssef, an architectural gem, H24info". Morocco News. 2022-05-02. Retrieved 2022-06-22.
  13. ^ "The Madrasa Ben Youssef in Marrakech finally reopens its doors". Visit Marrakech. 2022-04-22. Retrieved 2022-06-22.