Area

Wooden Mashrabiya Screens

Wooden Mashrabiya Screens
Photo by abdullah alallah on Pexels
Wooden Mashrabiya Screens
Photo by NADER AYMAN on Pexels
Wooden Mashrabiya Screens
Photo by Dashielle Nourhan Tan on Pexels
Wooden Mashrabiya Screens
Photo by Сокіл Sokil on Pexels
Wooden Mashrabiya Screens
Photo by Cristhian David Duarte on Pexels
Wooden Mashrabiya Screens
Photo by Alexandra Kollstrem on Pexels

Stand at the threshold of the central courtyard and look up before you look around. The cedar mashrabiya screens framing the archway — their lattice cut in repeating geometric and floral patterns — are doing two things at once: filtering the light into something cooler and more considered, and marking a clear boundary between the world outside and the one within. Cedar was chosen for a reason. It resists warping in heat, holds carving well, and over centuries develops that particular warm grain.

Across the courtyard, the same logic repeats itself: wooden lintels, latticed window screens on the student rooms above, carved cedar doors. The screens aren't decoration applied to a structure — they are part of how the building breathes.

💛 What travellers fall for

People who've been through more than once tend to spend longer at the screens than anywhere else. The trick is to crouch to eye level with the lowest carved panels near the courtyard entrance — the detail there is finer than it looks from standing height. Go on a weekday, just after opening, when the light through the lattice falls at its sharpest.

Good to know
Tickets are cash only (50 DH adults, 10 DH under-12s). The madrasa opens at 9am daily; the hour after opening and late afternoon on weekdays are the quietest. Walk from Jemaa el-Fna takes 10–15 minutes through the souks. An hour is enough to take it all in properly.
The story

How Wooden Mashrabiya Screens came to be

The madrasa takes its name from Almoravid Sultan Ali ibn Yusuf, who ruled from 1106 to 1142 CE and founded the adjacent Ben Youssef Mosque — though the building standing today has no direct connection to him. A Marinid madrasa occupied the site first, commissioned under Sultan Abu al-Hasan in the fourteenth century. That structure was eventually torn down and replaced entirely.

The current building — including its cedar screens and carved courtyard — dates to 1564–65 CE, commissioned by Saadian sultan Abdallah al-Ghalib (r. 1557–1574). At completion it was the largest madrasa in the Maghreb, housing up to 900 students in 130 cells. It closed in 1960, reopened as a historical site in 1982, and completed a full restoration in April 2022.

People & landmarks

Who and what shaped it

People who shaped it

Abdallah al-Ghalib
Saadian sultan (r. 1557–1574) who commissioned and built the current Ben Youssef Madrasa in 1564–65 CE.
Ali ibn Yusuf
Almoravid Sultan (r. 1106–1142) after whom the madrasa is named; founded the adjacent Ben Youssef Mosque.
Abu al-Hasan
Marinid Sultan (r. 1331–1348) who founded the first madrasa on this site during the fourteenth century.

Landmark buildings

Ben Youssef Madrasa
Largest madrasa in the Maghreb when completed in 1564–65; housed 900 students in 130 dormitory cells; features cedar mashrabiya screens, carved plaster, and ceramic tilework; closed 1960, reopened 1982, restored and reopened April 2022.
Wooden Mashrabiya Screens
Cedar lattice screens framing the central courtyard entrance and adorning student rooms; carved with geometric and floral patterns to filter light and provide privacy and ventilation.
Ben Youssef Mosque
Adjacent mosque founded by Almoravid Sultan Ali ibn Yusuf (r. 1106–1142); the madrasa takes its name from this sultan.
Practical

Plan your visit

On the map

When to go

Spring (March–May) and autumn (late September to mid-November) are the most comfortable seasons — temperatures sit between roughly 20°C and 28°C in spring, cooling gradually through autumn. Summer pushes 35–40°C, which makes the shade of the cedar screens welcome but the medina lanes tiring; winter days are mild but evenings can drop close to freezing.

Right now

28°C
Partly cloudy
Sat
40°
24°
Sun
38°
24°
Mon
38°
22°
Tue
41°
22°
Weather data: Open-Meteo

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.

Top