Ben Youssef Medersa

Ben Youssef Medersa is a former Quranic school in Marrakech's northern medina, built in the 14th century and rebuilt by the Saadians in the 1560s. Once Morocco's largest Islamic college, its courtyard of carved cedar, stucco and zellij is the city's most photogenic interior. Go at opening, allow 30-45 min.

Once the largest Islamic college in Morocco, the Ben Youssef Medersa is arguably the single most beautiful interior in Marrakech. Built in the 14th century and rebuilt under the Saadians in the 1560s, this former Quranic school housed up to 900 students; today its central courtyard, reflecting pool and breathtakingly intricate carved plaster and cedar draw a steady stream of admirers.

Centuries of learning

Founded in the Marinid era and rebuilt by the Saadian sultan Abdallah al-Ghalib, the medersa was a centre of religious and legal scholarship for four centuries until it closed in 1960. Students lived in 130 small cells arranged around inner courtyards on the upper floors — you can still climb up and peer into them.

The courtyard that stops you

The central courtyard is the masterpiece: a long marble pool framed by walls of carved cedar, stucco and zellij, with Quranic calligraphy running in bands above. After a major restoration the medersa reopened in 2022 looking better than it has in generations. Come early — it is small, and it fills up.

The Student Cells, the Upper Floors and the Details to Notice

Beyond the celebrated central courtyard, the medersa's quieter pleasure lies upstairs, where some 130 small cells once housed students of the neighbouring mosque. Narrow staircases climb to a warren of tiny rooms arranged around interior light wells, several with little latticed windows overlooking the court below. They are spartan and low-ceilinged, a vivid reminder that this was a working college, not a palace. Throughout, the craftsmanship repays slow looking: carved cedar lintels, bands of Kufic inscription, honeycombed muqarnas vaulting and the great fields of zellij that climb the lower walls. Note how no human or animal figures appear, in keeping with the building's devotional purpose. Following its careful restoration, walkways guide visitors logically from court to prayer hall to cells. Wear sensible shoes for the worn stone steps, allow forty-five minutes to an hour, and arrive early, as the compact upper galleries grow congested once the day's tours converge.

Combining it with the northern medina

The medersa sits at the heart of a tight cluster of sights, and treating them as a single morning saves backtracking through the souks. The Almoravid Koubba stands a few steps away, a rare survival of the city's earliest dynasty and worth pausing over for its understated domed interior. The Marrakech Museum, housed in a restored riad, shares the same small square and gives your legs a rest under its enormous central lantern. A sensible order is the medersa first, when its light wells are at their best and the crowds thinnest, then the Koubba, then the museum as the day warms. From the square the lanes thread south into the souks and on towards Jemaa el-Fnaa, so you can let the visit flow naturally into an afternoon of wandering rather than retracing your route.

Photography and quiet looking

The courtyard rewards patience more than equipment. Early light falls softly into the space and the reflecting pool, when still, doubles the carved walls above it; waiting a few minutes for a lull between groups usually gives you a clean frame. A wide lens or a phone's wide setting captures the full sweep of cedar and zellij, while looking upward catches the calligraphy bands and honeycombed vaulting that the eye tends to skip. The upper galleries are narrow, so step aside to let others pass rather than blocking a staircase for a shot. This remains a place of devotional history, so dress modestly and keep your voice low; the hush is part of what makes the carving feel so alive. Tripods are often impractical in the crush, so brace against a wall or doorway for steadier low-light images.

Planning your visit to Ben Youssef Medersa

  • Best time: Open daily; go at opening
  • Cost: Entry fee (~50–100 MAD)
  • Time needed: 30–45 minutes
  • Tip: It sits beside the Marrakech Museum and the Almoravid Koubba — see all three together in the northern medina.

Why is the Ben Youssef Medersa famous?

It's renowned as one of the most beautiful examples of Moroccan Islamic architecture — a former Quranic school whose central courtyard, reflecting pool and intricately carved cedar and plaster are the most photographed interior in Marrakech. It once housed up to 900 students.

Is the Ben Youssef Medersa open after restoration?

Yes — it reopened in 2022 after a multi-year restoration and looks superb. It's open daily for a small entry fee; go right at opening to enjoy the courtyard before the crowds and get clean photos.

Nearby places

Experiences near Ben Youssef Medersa