When to visit the Ben Youssef Madrasa?
Come between 9 am and 10 am: the morning light fills the central courtyard and the pool reflects the galleries before the groups arrive. Avoid 11 am to 1:30 pm, the busiest period; in the afternoon the site gradually empties. In high season there may be a queue at the ticket office.
The madrasa's official website lists opening hours of 9 am to 7 pm every day, and 9 am to 4:30 pm during Ramadan. Check before your visit, especially on religious holidays.
A 16th-century Koranic school
Founded in the 14th century by the Marinid sultan Abu al-Hasan, the madrasa was entirely rebuilt in 1564–1565 under the Saadian sultan Abdallah al-Ghalib. It takes its name from the neighbouring Ben Youssef mosque. It was one of Morocco's most important Koranic schools, able to house up to 900 students in small cells around the courtyard.
What not to miss
- The central courtyard: look up and read the three bands of decoration, zellige at the bottom, carved stucco in the middle, carved cedar wood at the top.
- The marble pool, which reflects the galleries and the sky: move around to vary your compositions.
- The students' cells, on the upper floors: go up for the view down into the courtyard and to see the stucco close up.
- The prayer hall, at the far end of the courtyard, with its calligraphic inscriptions.
How long to allow?
Allow 1 hour to 1 hour 30 to take in the details.
Getting there
The madrasa is on Place Ben Youssef, in the north of the medina, next to the Almoravid Koubba.
- On foot from Jemaa el-Fna square: about 15 minutes heading north through the souks.
- By taxi: get out near Jemaa el-Fna, then continue on foot.
Accessibility and facilities
The ground floor and the courtyard are accessible; the upper floors, where the cells are, are reached by stairs. On site: toilets. Clothing that covers shoulders and knees is recommended out of respect for this religious site.
Beware of scams
- Fake guides: people present themselves as licensed guides at the entrance. Ask to see the official professional card.
- Fake "skip-the-line" offers: never pay cash to someone offering special access outside the entrance; tickets are sold at the ticket office.
- Touts: after the visit, strangers offer to take you to shops, for a commission they do not mention.
Combine with other visits
The madrasa is the starting point for a half-day in the north of the medina: the Almoravid Koubba right next door, Dar Bellarj a short walk away, then Dar El Bacha or Bab Dbagh, before heading back down through the souks to Jemaa el-Fna.



















