Ben Youssef Madrasa: A Visiting Guide to Marrakech's Quranic College
The Ben Youssef Madrasa is one of the Marrakech medina's most spectacular monuments — a former Quranic school (madrasa) tucked into the streets near the Marrakech Museum and the Almoravid Koubba.

11 experiences
Ben Youssef Madrasa: what to know
The Ben Youssef Madrasa is one of the Marrakech medina's most spectacular monuments — a former Quranic school (madrasa) tucked into the streets near the Marrakech Museum and the Almoravid Koubba. The building visitors see today was erected in 1564–65 by the Saadian sultan Abdallah al-Ghalib, according to the madrasa's official history; many accounts trace an earlier college on the site to the 14th-century Marinids. In its heyday it ranked among the largest Islamic colleges in North Africa, housing many students in small cells arranged around a serene central courtyard with a reflecting pool. It is celebrated above all for its craftsmanship — exquisitely carved cedar, sculpted stucco and zellige tilework. Closed for an extended restoration in recent years, it has since been restored and reopened to visitors, and because it is now a historic monument rather than an active place of worship, non-Muslims may enter. This guide covers the courtyard and pool, the prayer hall and mihrab, the student cells upstairs, the craftsmanship, the surrounding sights, how long to allow, photography and etiquette. Ticket prices and opening hours change, so always check current information before you travel.
- 01
The central courtyard and reflecting pool
Highlight
The heart of the madrasa is its serene central courtyard, paved in marble and zellige and centred on a long rectangular reflecting pool. Galleries and richly decorated walls rise on every side, their surfaces layered with carved stucco, tilework and cedar. The pool mirrors the architecture and the sky, and the whole court was designed as a calm, contemplative space at the centre of student life — it remains the natural place to begin and to take in the scale of the building.
- 02
The prayer hall and mihrab
Highlight
Beyond the courtyard lies the prayer hall, the most richly worked interior in the complex, focused on a finely decorated mihrab — the niche indicating the direction of Mecca. Carved stucco, tilework and a worked ceiling frame the space, and the mihrab itself is among the building's decorative high points. As a former teaching college attached to the nearby Ben Youssef Mosque, the hall anchored the religious life of the students who lived and studied here.
- 03
The student cells upstairs
History
Around and above the courtyard run the small student cells (sometimes counted at around a hundred and thirty), reached by stairways to the upper floors. These plain, compact rooms — some looking onto the courtyard, others onto small internal light-wells — housed the many students who boarded at the college. Climbing up to wander the corridors and look into the cells gives a vivid sense of daily life here and a series of changing views down over the courtyard and pool.
- 04
The carved cedar, stucco and zellije
Craft
The madrasa is, above all, a showcase of Moroccan decorative craft. Cedar is carved and worked across the upper walls, lintels and ceilings; gypsum stucco (gebs) is sculpted into dense floral, geometric and calligraphic patterns; and zellige mosaic tilework runs along the dados and around the courtyard. The work was carried out by skilled maalems (master craftsmen), and much of a visit is simply an exercise in looking closely at how these three crafts are layered together.
- 05
A Marinid foundation, a Saadian rebuild
Story
The college is generally traced back to a 14th-century Marinid foundation, but the building visitors see was largely rebuilt and greatly enlarged under the Saadian dynasty in the 16th century. This makes it part of the same Saadian flowering of Marrakech architecture associated with monuments such as the Saadian Tombs. Knowing this layered history adds to the visit: you are walking through a much-expanded Saadian masterpiece built on older foundations.
- 06
Recently restored and reopened
Tip
The madrasa was closed for an extended restoration in recent years and has since reopened to visitors. The conservation work means the carved cedar, stucco and tilework can be appreciated in good condition. Because it is now preserved as a historic monument rather than functioning as an active place of worship or teaching, non-Muslim visitors are able to enter — unlike Marrakech's working mosques. Check current opening arrangements before you go, as access details can change.
- 07
Setting near the Marrakech Museum and Almoravid Koubba
Planning
The madrasa sits in the northern part of the medina, immediately beside the Marrakech Museum (housed in the Dar Menebhi palace) and the small Almoravid Koubba, one of the city's oldest surviving structures. The three are clustered around the same square, which makes them an easy and logical group to visit together. Many people pair the madrasa with the museum and koubba, then wander on through the surrounding souks.
- 08
Go early to enjoy the courtyard
Tip
The madrasa is one of the medina's most visited monuments, and the courtyard — where everyone gathers to photograph the pool and decorated walls — can become busy once tour groups arrive. The calmest visits are usually soon after opening, before the groups build up. Arriving early gives you a better chance to take in the reflecting pool and craftsmanship in peace, and softer light for photographs in the open court.
- 09
Photography in the courtyard and cells
Tip
The reflecting pool, decorated walls and the views down from the upper cells are all highly photogenic, and the symmetry of the courtyard rewards a patient eye. Light is best earlier in the day before the sun is high and harsh in the open court; interiors such as the prayer hall are dimmer, so a steady hand helps. Be considerate where others want the same framed shot, and check any current rules on tripods or professional shoots at the entrance.
- 10
Dress and etiquette
Tip
Although the madrasa is now a historic monument rather than an active religious building, it is a former Quranic college and respectful, modest dress is appropriate, in keeping with visiting any heritage site in the medina. Move quietly through the cells and prayer hall, keep to any marked routes, and be patient with the crowds in the courtyard. Treating the space with care makes for a calmer visit for everyone.
- 11
How long to allow
Planning
Most visitors spend roughly thirty to forty-five minutes exploring the madrasa — taking in the courtyard and pool, the prayer hall and a wander through the upstairs cells. The building is compact but rewards lingering over the craftsmanship, and at busy times the crowds in the courtyard can slow you down. Allow a little extra in high season, or go early, so the visit fits comfortably alongside the neighbouring museum and koubba.
Ben Youssef Madrasa: FAQ
What is the Ben Youssef Madrasa?
Can non-Muslims visit the Ben Youssef Madrasa?
How long should I spend at the Ben Youssef Madrasa?
What can I combine with a visit to the Ben Youssef Madrasa?
More things to do in Morocco
Plan a private Marrakech trip
We build a private, guided plan around the experiences you care about, with a driver, hand-picked riads and a written quote within 24 hours.