Area

Mihrab (Prayer Niche)

Mihrab (Prayer Niche)
Photo by Rüveyda Akkaya on Pexels
Mihrab (Prayer Niche)
Photo by Sami TÜRK on Pexels
Mihrab (Prayer Niche)
Photo by Sami TÜRK on Pexels
Mihrab (Prayer Niche)
Photo by ORHAN BADUR on Pexels
Mihrab (Prayer Niche)
Photo by Hilal on Pexels
Mihrab (Prayer Niche)
Photo by Ahmet Polat on Pexels

At the southeastern end of the courtyard, past the reflective pool and the tiers of carved stucco, the prayer hall opens into the mihrab — a niche oriented toward Mecca and covered in some of the most concentrated ornament in the entire madrasa. Muqarnas cells stack up inside the arch like a honeycomb in slow collapse. Around the frame, a Kufic inscription carries the basmala, the tasliyya, and verses from Surah an-Nur — words of light, literally, encircling a space designed to direct prayer.

The arabesque and pine cone motifs carved into the flanking stucco reward the kind of looking you usually reserve for paintings. Stand close enough and the geometry keeps subdividing. This is not a room you pass through — it's where the building's decorative logic reaches its conclusion.

💛 What travellers fall for

People who've been more than once tend to arrive before 9:30 AM and head straight here, before the courtyard fills. The mihrab chamber is small enough that a crowd of ten makes quiet contemplation impossible. Come early, let the light settle on the stucco, and give yourself a few unrushed minutes with the inscription.

Good to know
Tickets (50 DH adults, 10 DH children under 12, cash only) are sold at the entrance on Rue Assouel — no advance booking. The walk from Jemaa el-Fna takes 10–15 minutes through the souks; no car access. The mihrab itself is a brief detour from the main courtyard circuit, so budget your full hour for the madrasa rather than rushing it.
The story

How Mihrab (Prayer Niche) came to be

The site traces back to the Marinid dynasty, when Sultan Abu al-Hasan founded the first madrasa here in the fourteenth century. What stands today is a Saadian commission: Sultan Abdallah al-Ghalib ordered the current structure, completed in 1564–1565, as part of a broader effort to assert Saadian authority through monumental architecture. The madrasa could house upwards of 800 students across 134 rooms and 13 courtyards.

After centuries of use, it closed in 1960 and reopened as a heritage site in 1982. A second closure for restoration ran from November 2018 until April 2022, and the mihrab's stucco — including its muqarnas dome — emerged from that work in notably sharp condition.

People & landmarks

Who and what shaped it

People who shaped it

Abdallah al-Ghalib
Saadian sultan (r. 1557–1574) who commissioned the current madrasa structure, completed 1564–1565.
Abu al-Hasan
Marinid sultan (r. 1331–1348) who founded the first madrasa on this site during the Marinid dynasty.

Landmark buildings

Mihrab (Prayer Niche)
Southeastern prayer chamber featuring muqarnas dome, Kufic inscriptions from Surah an-Nur, and carved stucco arabesques; the madrasa's most ornately decorated space.
Ben Youssef Madrasa
Saadian-era educational complex (1564–1565) with 134 rooms across 13 courtyards, central reflective pool, and capacity for 800 students; reopened as heritage site in 1982 after restoration in 2018–2022.
Practical

Plan your visit

On the map

When to go

The mihrab chamber is indoors, but reaching it means crossing the open courtyard — plan for early morning in summer (July daytime highs around 36°C) and bring a layer for winter evenings, when temperatures can drop toward freezing. Spring and late autumn are the most comfortable windows.

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