Medersa Ben Youssef in Marrakech is absolutely worth visiting and, in my opinion, one of the most impressive places in the whole city. The complex is surprisingly large, with many beautifully preserved rooms and corridors that you can freely explore. Every corner feels different, and the architecture is incredibly detailed – carved wood, intricate tiles, and stunning geometric patterns everywhere you look. What I also appreciated is that the ticket pricing is fair and transparent – no feeling of being overcharged or “tourist traps,” which can sometimes happen in Marrakech. On top of that, it’s a dream spot for photos. The light, symmetry, and craftsmanship make it one of the most photogenic places in the entire medina. Overall, it’s definitely a must-see attraction and honestly one of the highlights of Marrakech.
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.
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
Absolutely stunning. Mesmerizing. The architecture, the intricacy. Id say this place is easily a MUST GO TO place when you are in Marrakech. The sun reflecting of marvellous marble tiles gives this place true Moroccan vibes. Buying tickets didnt take long, and option to pay by card as well. Family friendly and kids will have fun too. Just remember to go early in the morning to avoid massive crowds.
Amazing historic building with beautiful architecture. It was fascinating to explore and see the rooms where students once lived and studied. The only downside was the number of visitors more interested in social media photos than the history of the site. Seeing people leaning against the historic walls and treating it as a photo backdrop took away from the atmosphere somewhat. Still, a must-visit in Marrakesh.
The madrasa in Marrakech is a very beautiful and atmospheric place. It was reopened a few years ago after renovation, and it was definitely worth it. Everything is very clean, with beautiful tiled courtyards, and three floors open to visitors. There are also clean and working restroom facilities. I recommend coming right at opening time around 9:00 — there are very few people, so you can take great empty photos. Another good tip is to go upstairs while a group is downstairs, and then switch — a nice little hack to avoid crowds and get better shots.
Wonderful to see such a beautiful historic place kept alive to be enjoyed by so many tourists. Was particularly great to see the student’s rooms and gain insight into what life living there would have been like. Only thing to note is there isn’t much written guidance so maybe read up on the historical context before visiting.
↡ 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.