A very interesting place to visit! I was fascinated by how beautifully it was restored and by the amount of craftsmanship that went into bringing it back to life. There was a bit of a line, but since it was included in our tour, we were able to use the faster entrance. The ticket was around 50 dirhams and it felt much more affordable compared with some of the other attractions in Marrakech. There isn’t a huge amount to do besides walk around, look at the architecture and ruins, and learn about the history, but that’s really the beauty of it. Definitely worth visiting!!
Ben Youssef Madrasa
Above the entrance gateway, an inscription reads: "You who enter my door, may your highest hopes be exceeded." It sets an expectation, and the madrasa keeps it. Step through the dark, tile-lined vestibule and the central courtyard opens up — a near-square space of carved cedar, zellij mosaic in cobalt and ochre, and a long shallow pool that doubles everything in reflection.
The Ben Youssef Madrasa was built in 1564–65 under the Saadian sultan Abdallah al-Ghalib, on a site where a Marinid madrasa had stood since the 14th century. At completion it was the largest madrasa in the Maghreb, housing upwards of 800 students across 134 small rooms. It closed in 1960, reopened as a heritage site in 1982, and emerged from a major restoration in April 2022.
💛 What travellers fall for
People who come back tend to head straight for the upper dormitory galleries before the tour groups arrive — the view down into the courtyard from the second-floor corridors is unhurried and close. The prayer hall at the southeastern end, where an 11th-century marble basin from Cordoba now sits after the restoration, often gets skipped. It shouldn't be.
Experiences you don't want to miss
Deals in Ben Youssef Madrasa
Book directly at the providerHow Ben Youssef Madrasa came to be
A Marinid madrasa first occupied this site under Sultan Abu al-Hasan in the 14th century, attached to the Ben Youssef Mosque — itself founded by the Almoravid sultan Ali ibn Yusuf in the 12th century as Marrakech's principal place of worship. The current structure dates from 1564–65 CE, when the Saadian sultan Abdallah al-Ghalib ordered a complete rebuilding. His architects drew on Moroccan and Andalusi traditions: Carrara marble underfoot, Atlas cedar overhead, zellij tilework rising to calligraphic friezes and stucco carved so finely it reads more like lace than plaster.
For nearly four centuries it functioned as a working school of Islamic learning before closing in 1960. A restoration opened it to visitors in 1982, and a second, more thorough intervention — begun November 2018 — brought it back in April 2022, including the reinstallation of an 11th-century marble basin from Cordoba that Ali ibn Yusuf had originally imported for the adjacent mosque.
Who and what shaped it
People who shaped it
Landmark buildings
See Ben Youssef Madrasa in motion
Plan your visit
On the map
When to go
October through April is the most comfortable window — mornings are cool enough to linger in the courtyard without the sun bearing down. Summer visits are possible but the medina heat is relentless by midday, and the madrasa offers little shade once you leave the covered vestibule.
Right now
What travellers say about Ben Youssef Madrasa
A historic preserved former palace in the heart of Marekesh. Located in the souk near Jamal fnar. The craftsmanship used on the floors, walls and ceilings is outstanding. Classic islamic geometric designs in mosaic tiles, and relief carving. There's a fountain in the main courtyard, and the former hammam's have been repurposed to show the work of a local artist. Highly recommended.
Well worth a visit. Probably enjoyed seeing the beautiful architecture here as much as the Bahia Palace. Although the Medersa/Madrassa is pretty busy it is much easier and less frantic to find your own way around and find some quiet spots throughout your visit. An audio guide is available, but we did not use it and still felt we got a lot out of the visit. As good as some of the better known examples of Moorish architecture in Andalusia, though on a smaller scale.
Medersa Ben Youssef is one of Marrakech’s most beautiful and worthwhile historical sights. This former Islamic college is a masterpiece of Moroccan architecture, filled with intricate zellige mosaics, delicate stucco carvings, richly detailed cedarwood ceilings, and a stunning central courtyard with a reflecting pool. The building has an exceptionally calm, almost timeless atmosphere. It is easy to spend time simply admiring the craftsmanship—the details are remarkable wherever you look. The small former student cells on the upper floors add another layer to the visit, giving a real sense of the building’s original purpose and daily life within the school. Following its restoration and reopening, it is presented in excellent condition. It is worth arriving at opening time or later in the afternoon to avoid the largest tour groups and enjoy the courtyard in a quieter atmosphere. Allow around 45–60 minutes for the visit, or longer if you enjoy photography and architecture. Admission is reasonably priced at about 50 MAD for international adult visitors, and tickets are usually available at the entrance, so advance booking is generally unnecessary. Its location near the Marrakech Museum and Almoravid Koubba also makes it an easy and rewarding stop while exploring the northern medina. A highly recommended visit: elegant, atmospheric, and one of the finest places in Marrakech to appreciate the extraordinary detail of traditional Moroccan design.
A beautiful building and good exhibition rooms that were informative. Only downside is it was unclear to see how the rooms were originally laid out/used so it would have been nice to have a display room. The detail for restoration is incredible and can tell the time and effort gone into it. Not too busy.
↡ Shopping areas
Background & history adapted from Wikipedia (CC BY-SA) · specs from Wikidata (CC0) · weather from Open-Meteo · map data © OpenStreetMap contributors · photos from Wikimedia Commons / Unsplash with per-image credit. No third-party reviews or social posts reproduced.