Serenity Morocco

Once North Africa's largest Quranic college, the restored Ben Youssef Madrasa is Marrakech's most photogenic interior. Here's how to visit it well.
Get Morocco Travel Insights
Ben Youssef Madrasa is a 14th-century Islamic college in the heart of the Marrakech medina, once the largest such school in North Africa, home to hundreds of students. After a multi-year restoration it reopened to visitors, who pay a small entry fee to walk the carved courtyard, the tiled prayer hall, and the warren of tiny student cells upstairs. It's widely considered the finest piece of historic interior architecture in the city.
If the Koutoubia is the city's exterior signature, the Ben Youssef Madrasa is its interior masterpiece, and unlike the mosques, you can actually go in. This is the place to understand what Moroccan craftsmanship looked like at its peak: cedar carved into honeycomb, plaster cut into Arabic calligraphy and arabesque, and floors and walls sheathed in zellij, the hand-cut mosaic tilework Marrakech is known for.
It's also a rare quiet interior in a loud city. Step in off a tight medina lane and the noise drops away to the sound of a fountain in a still reflecting pool. For photographers, the central courtyard is one of the most rewarding compositions in Morocco. For everyone else, it's simply a beautiful, contemplative half hour.
The recent restoration matters, too. It cleaned and stabilised centuries of decoration without over-polishing it, so what you see reads as genuinely old rather than rebuilt.
The madrasa was founded in the 14th century under the Marinid dynasty and largely rebuilt and expanded in the 16th century by the Saadian sultan Abdallah al-Ghalib, which is the building you walk through today. It takes its name from the adjacent Ben Youssef Mosque.
For centuries it functioned as a residential college, where students of theology, law, and Quranic study lived and learned. At its height it housed several hundred of them in the small upstairs cells. Teaching continued here into the 20th century before the building was closed and eventually opened as a historic monument.
The most recent restoration ran over several years and reopened the madrasa to the public, addressing structural issues and conserving the woodwork, plaster, and tile. It is once again one of the must-see stops of the medina.
The central courtyard is the showpiece and the reason most people come. A long marble-edged reflecting pool runs down the middle, flanked by walls that rise through bands of zellij tile, carved stucco, and cedar. Get there early and the still water mirrors the whole façade.
The prayer hall, at the far end of the courtyard, carries the densest decoration: a mihrab (prayer niche) under a carved cedar dome, with pinecone and palm motifs worked into the plaster and stalactite-like muqarnas in the corners.
The student cells are the surprise. Upstairs, a maze of around 130 tiny rooms ring small interior light wells, each one barely big enough for a person. Many open onto little balconies overlooking the courtyard. Walking them gives you a real sense of how spartan student life was, in deliberate contrast to the lavish public rooms below.
The detail everywhere. Look up. The ceilings, the lintels, the friezes of Kufic script running along the walls. Almost no surface is left plain, yet it never tips into clutter.
Hours: Open daily, roughly 9:00am to 7:00pm. During Ramadan (in early 2026, approximately mid-February to mid-March) hours are shortened, often around 10:00am to 4:00pm. As with all Moroccan monuments, confirm current hours before you go, as they shift seasonally.
Tickets: Around 50 MAD for adult foreign visitors (roughly €5 / $5 at current rates), with reduced rates for Moroccan residents and children under 12. Treat these as a guide and confirm the current price at the door, as fees are revised periodically. Tickets are sold at the entrance; online booking isn't generally available.
How to get there: It's in the northern medina, near the Marrakech Museum and the Almoravid Koubba, about a 12- to 15-minute walk from Jemaa el-Fnaa through the souks. Lanes are narrow and signage is thin; a maps app or a guide helps. Taxis can only drop you at the edge of the medina, so the last stretch is always on foot.
How long to spend: Forty-five minutes to an hour is comfortable, less if it's crowded, more if you're photographing.
Best time to avoid crowds: Be at the door when it opens. The courtyard pool is calmest and the light softest in the first hour, and you'll get the reflection shot without a dozen people in it. Late afternoon is the second-quietest window.
The madrasa sits in a cluster of worthwhile stops. The Marrakech Museum is right next door in a restored palace, and the Almoravid Koubba, the city's oldest surviving monument, is steps away. The souks lie between here and Jemaa el-Fnaa, so the walk back is half the fun. Together they make a natural northern-medina morning before you drop down to the square for lunch.
The decoration here is dense with meaning, the Kufic inscriptions, the symbolism of the muqarnas, the way the building's plainness upstairs and richness downstairs reflect its purpose. A guide turns a pretty courtyard into a story you'll remember. On our Marrakech tours we bring guests to the madrasa first thing, while the pool is still and the cells are empty, then thread back through the souks. For a day shaped entirely around the medina's architecture and your own pace, our private tours handle the navigation, the timing, and the context. See everything on offer on our tours page.
Is the Ben Youssef Madrasa open to visitors? Yes. After its restoration it reopened to the public and welcomes visitors daily for a small entry fee. Unlike the city's working mosques, the interior is fully accessible.
How much does it cost to enter? Around 50 MAD for adult foreign visitors (roughly €5 / $5), with lower rates for Moroccan residents and children. Confirm the current price at the entrance, as fees change.
What are the opening hours? Generally about 9:00am to 7:00pm daily, with shorter hours during Ramadan. Check current times before visiting, as they vary by season.
Can I take photos inside? Yes, photography is allowed and encouraged. The central courtyard with its reflecting pool is the highlight. Go at opening time for the clearest, least crowded shots.
How long should I plan to stay? About 45 minutes to an hour covers the courtyard, prayer hall, and the upstairs student cells comfortably. Photographers will happily spend longer.
Share this article
Skip the guesswork. Tell us what you love and our Morocco specialists will design a private, bespoke itinerary — with a free quote and zero obligation.
Continue your journey through Morocco with these curated reads
Destination GuidesTickets, hours, and insider tips for Jardin Majorelle, the cobalt-blue garden Yves Saint Laurent saved from demolition.
Read Article
Destination GuidesHours, tickets, and what to look for inside Bahia Palace, the 19th-century Marrakech residence built to be the most beautiful of its time.
Read Article
Destination GuidesHours, tickets, and what to see at the Saadian Tombs, the sealed royal mausoleum rediscovered in Marrakech in 1917.
Read ArticleJoin our community of travel enthusiasts and receive exclusive content, travel tips, and special offers directly to your inbox.
Weekly
Insights
Curated
By Experts
Free
Forever