Bou Inania Madrasa

Just a few steps from the Blue Gate of Fes, behind a heavy bronze-covered door, lies one of the most beautiful buildings in Morocco. The Bou Inania Madrasa is a 14th century masterpiece of Marinid art, where every surface tells a story: zellige mosaics at the base, carved stucco like lace in the middle, and cedar wood carved and painted up to the roof. It is also one of the very few religious buildings in Fes that non-Muslim visitors can enter, which makes it an essential stop on any visit to the city.

This guide explains the history of the Bou Inania Madrasa, what to look for inside, the mystery of its famous water clock, how to visit, opening practicalities, and what to see nearby in the Fes medina.

DetailInformation
LocationTalaa Kebira, near Bab Boujloud, Fes el Bali
BuiltMid-14th century, under the Marinid sultan Abu Inan Faris
FunctionTheological school (madrasa) and congregational mosque
Open to non-MuslimsYes, the courtyard and main areas; not the prayer hall
HighlightsCourtyard, zellige, carved stucco and cedar, minaret, water clock facade
Visit timeAbout 30 to 45 minutes

The Bou Inania Madrasa was built in the 1350s by Abu Inan Faris, one of the most powerful sultans of the Marinid dynasty, which ruled Morocco from Fes in the 13th to 15th centuries. The Marinids built several madrasas in Fes to train students in religious sciences, law and Arabic, and to strengthen the city as a center of learning around the famous Al Quaraouiyine.

What makes Bou Inania unusual is that it is both a madrasa and a congregational mosque with its own minaret and Friday prayers, something rare for a school. Its scale and decoration were meant to impress. Legends say the sultan, when told of the enormous cost, replied that what is beautiful is never too expensive.

The building was carefully restored in modern times, preserving its original decoration.

The courtyard

The heart of the madrasa is a marble-paved courtyard with a central basin for ablutions. Around it, walls rise in three bands of decoration: colorful zellige tiles at the bottom, carved stucco with Arabic inscriptions and geometric patterns in the middle, and carved cedar wood above, with a projecting wooden canopy.

The prayer hall

Across the courtyard, a small canal of water separates the courtyard from the prayer hall, symbolically marking the passage into a sacred space. Non-Muslims cannot enter the prayer hall, but you can admire its entrance and decoration from the courtyard.

The minaret

The green-tiled minaret rises above the medina and is visible from many terraces. It is one of the landmarks of the upper medina near Bab Boujloud.

Student rooms

On the upper floors, small rooms once housed students who lived, studied and prayed here. Their simplicity contrasts with the rich decoration of the courtyard.

The decoration

The craftsmanship is extraordinary:

  • Zellige: hand-cut ceramic tiles forming complex geometric stars.
  • Stucco: carved plaster with calligraphy, floral motifs and muqarnas, the honeycomb vaults typical of Islamic architecture.
  • Cedar wood: carved friezes, brackets and doors.
  • Bronze doors: decorated with geometric patterns.

Across the street from the madrasa, high on a facade, you can see a row of wooden windows and brass bowls. This is the remains of the Dar al-Magana, a hydraulic water clock built around the same time as the madrasa. It is said to have marked the hours, possibly for prayer times, by dropping metal balls into the bowls. How it worked exactly is still debated, and it has not functioned for centuries. Look up as you leave the madrasa.

  • Location: on Talaa Kebira, one of the two main streets of the medina, a short walk downhill from Bab Boujloud, the Blue Gate.
  • Tickets: there is a small entrance fee, paid at the door.
  • Opening: the madrasa usually opens daily, but closes to visitors during prayer times, especially around Friday midday prayers. Hours can change during Ramadan and religious holidays.
  • Dress code: dress modestly, with shoulders and knees covered.
  • Photography: allowed in the courtyard; be respectful of anyone praying.
  • Time needed: around 30 to 45 minutes.

Come early in the morning, before tour groups arrive, when the light falls softly on the courtyard. Avoid Friday around midday. Combine it with your arrival at Bab Boujloud to start your medina walk.

Fes has another famous madrasa, Al Attarine, near Al Quaraouiyine, which is smaller but also exquisite. In Marrakech, the Ben Youssef Madrasa is larger and later, from the Saadian period.

MadrasaCityPeriodNotable for
Bou InaniaFesMid-14th century, MarinidMadrasa and mosque, grand courtyard, minaret, water clock
Al AttarineFes14th century, MarinidIntimate size, refined decoration
Ben YoussefMarrakechRebuilt in the 16th century, SaadianLargest madrasa in Morocco, long courtyard pool
  • Bab Boujloud, the Blue Gate, built in 1913.
  • The streets of Talaa Kebira and Talaa Seghira with their souks.
  • Dar Batha museum and gardens.
  • The Chouara Tannery, further down; see our guide to the Chouara Tannery.
  • Al Quaraouiyine and Place Seffarine.

Read our guides to Fes attractions, the medina of Fes and landmarks in Morocco.

  • Look up: the most impressive details are often on the upper walls and ceilings.
  • Bring small change for the ticket.
  • Hire a licensed guide to understand the symbolism and history.
  • Respect silence if prayer is taking place nearby.
  • Combine with lunch in a traditional restaurant near Bab Boujloud.

If you only enter one historic building in Fes, make it the Bou Inania Madrasa. In a few minutes, it shows you the peak of Marinid craftsmanship, the importance of learning in Fes, and the harmony between geometry, calligraphy and light that defines Moroccan architecture. Go early, look up, and take your time. Our Fes tours and Morocco custom tours include guided medina visits with Bou Inania.

What is the Bou Inania Madrasa?

It is a 14th century Marinid theological school and mosque in Fes, famous for its decoration and open to non-Muslim visitors.

Can non-Muslims visit the Bou Inania Madrasa?

Yes. Non-Muslims can visit the courtyard and main areas, but not the prayer hall.

Who built the Bou Inania Madrasa?

The Marinid sultan Abu Inan Faris built it in the 1350s.

Where is the Bou Inania Madrasa?

On Talaa Kebira in Fes el Bali, a short walk from Bab Boujloud, the Blue Gate.

How long does a visit take?

About 30 to 45 minutes.

What is the water clock of Bou Inania?

It is the remains of a 14th century hydraulic clock, the Dar al-Magana, on a facade opposite the madrasa. It no longer works and its mechanism is still debated.

Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou and the dunes of Erg Chebbi.

Morocco Desert Tours: Camel trekking and a night under the stars in a Sahara desert camp.

Tours from Fes: The oldest medina in Morocco, then the Middle Atlas and the desert.

Tours from Casablanca: Begin at the Hassan II Mosque and travel through the imperial cities.

Tours from Tangier: Start in the north with Chefchaouen and the Rif Mountains.

Tours from Ouarzazate: Kasbahs, film studios and the gorges of the south.

Name
Lahcen Saadi, a professional local guide from the Exploring Morocco Trips team, in traditional attire in front of a 4x4 in the Sahara dunes

Your Local Experts

Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.

Scroll to Top