Courtyard facade of the Cherratine Madrasa in Fez with the title Cherratine Madrasa
Morocco Travel Tips

Cherratine Madrasa in Fez: History, Architecture and Visiting Tips

The Cherratine Madrasa is the largest madrasa in Fez and the only one of the city’s great historic madrasas that was not built by the Marinids. Sultan Moulay Rachid, of the Alaouite dynasty, founded it in 1670 a short walk from the Al Qarawiyyin Mosque, as a home for students who came to study from outside the city. Most visitors head straight for Bou Inania or Al-Attarine, yet Cherratine has a calm, beautifully proportioned courtyard, one of the oldest surviving Alaouite prayer halls and a hidden network of small courtyards where up to about 150 students once lived.

Quick answer

What it is: a madrasa, meaning a student residence with its own prayer hall, in the heart of the Fez el-Bali medina.

When and who: founded around 1670 by Moulay Rachid and completed under his brother, Moulay Ismail.

What to look for: the courtyard and its marble fountain, the prayer hall with its carved stucco mihrab, the great metal-clad door and the small courtyards of the student rooms.

Tip: pair it with Al-Attarine Madrasa next door, and let a licensed city guide steer you if it is your first day in the medina.

What is the Cherratine Madrasa? 

A madrasa in Fez was not quite a school. Most teaching took place in the Al Qarawiyyin mosque-university, and the madrasas around it housed the students and teachers who arrived from other towns. Each had its own prayer hall. The Archnet architecture archive adds that they also served as neighbourhood mosques, venues for official ceremonies and charitable foundations, kept running by habous endowments that paid for their upkeep.

The name comes from the rope makers’ market, the cherratine (الشراطين), whose workshops stood next to it. It is also known as the Er-Rachidia Madrasa, after its founder. In Morocco you will usually see the word spelled medersa, the French rendering of the local pronunciation.

What sets it apart is its size and its date. It is the largest madrasa in Fez and the only great historic madrasa in the city that is not Marinid: the others, from Saffarine in 1271 to Bou Inania in the mid fourteenth century, were all built by that dynasty. Cherratine came three centuries later, under the Alaouite dynasty that still reigns in Morocco today.

Courtyard of the Cherratine Madrasa in Fez seen from the upper floor, with the marble fountain and two visitors
The courtyard from the upper floor, with the fountain at its centre.
Cherratine Madrasa courtyard facade and green tiled roof seen from an upper gallery window
The view from one of the student floors.
Courtyard of the Cherratine Madrasa in Fez seen from the upper floor, with the marble fountain and two visitors
Cherratine Madrasa courtyard facade and green tiled roof seen from an upper gallery window
A short video tour of the courtyard, the prayer hall and the mihrab.

History: Moulay Rachid’s madrasa 

Moulay Rachid, the sultan who established Alaouite rule across the country, entered Fez in 1666 and reigned until his death in 1672. The city had been neglected for decades and he set about restoring it. In 1670 he commissioned the madrasa. A carved wooden beam above the main entrance records that Moulay Rachid “founded this blessed madrasa” in the Hijri year 1080, which corresponds to 1669-1670, according to a study by historian Mina El Mghari of Mohammed V University in Rabat.

Out in the street, beside the door, a marble plaque in Arabic sums it up in one line: “The Cherratine Madrasa, founded by Moulay Rachid the Alaouite in the year 1080 of the Hijra.”

Marble plaque with an Arabic inscription beside the entrance of the Cherratine Madrasa, below a carved stucco panel
The plaque by the entrance: founded by Moulay Rachid in the Hijri year 1080.
Marble plaque with an Arabic inscription beside the entrance of the Cherratine Madrasa, below a carved stucco panel

Moulay Rachid did not live to see it finished. Another text praising his brother and successor, Moulay Ismail, records that he was the one who completed the building, and the inscription around the arch of the mihrab wishes him “glory, victory and everlasting happiness” as Commander of the Faithful. The sultan had further plans: according to the historian an-Nasiri, author of the Kitab al-Istiqsa, he intended to build a madrasa next to the Ibn Salih mosque in Marrakech, to keep the cultural and spiritual balance between Fez and Marrakech, the two great cities of the makhzen. He died before he could.

Traditional sources say the plot was once occupied by an older madrasa, known as el-Lebbadin. Building on a cleared site would explain why Cherratine has such a regular rectangular plan, rare in the dense fabric of the medina.

Green glazed tile roof and carved cedar eaves above the courtyard of the Cherratine Madrasa
Green glazed tiles and cedar eaves crown every side.
Upper courtyard facade of the Cherratine Madrasa framed by a dark archway
The upper facade seen through an archway.
Green glazed tile roof and carved cedar eaves above the courtyard of the Cherratine Madrasa
Upper courtyard facade of the Cherratine Madrasa framed by a dark archway

For historians of Moroccan art, it is a key building. El Mghari points out that its prayer hall is one of the oldest Alaouite mosques still standing, and that its architecture and decoration became a reference for many later Alaouite foundations. For centuries it housed students of Al Qarawiyyin. In the early twentieth century, according to historian Roger Le Tourneau, it was the largest madrasa in its quarter and took in mostly students from the Rif, the Tafilalt, other eastern regions and Algeria.

The courtyard, from floor to roof 

You enter through a decorated doorway and a corridor that opens onto the courtyard, which is almost square and has a fountain with a marble basin in the middle. A portico runs around all four sides with the same rhythm on each: one large central arch between two smaller ones. Above it, three sides have windows framed by large blind arches, the central one bigger than the others.

Compared with the Marinid madrasas, the decoration is restrained. Zellige, the mosaic of hand-cut glazed tiles, stays on the floor and at the foot of the piers. The ornament is concentrated in the cedar lintels, the stucco corbels and the upper walls, with rectangular panels of arabesques. That restraint lets the courtyard breathe, and the light, which comes only from above, does the rest.

The diagram rebuilds one side of the courtyard from the bottom up, with the materials named in the documentation (cedar, brick, stucco and tile) and those you can see in the photos.

One side of the courtyard, from floor to roof 12345678© experiumorocco.com
  1. 1Zellige floor and fountaina marble basin in the middle of the courtyard
  2. 2Zellige dadosonly at the foot of the piers
  3. 3Porticoone large arch between two small ones, on every side
  4. 4Cedar lintelcarved wood above the arches
  5. 5Blind arches and carved stuccorectangular panels of arabesques
  6. 6Screened windowsthe galleries of the student rooms lie behind them
  7. 7Cedar eavesresting on wooden brackets
  8. 8Green glazed tile roofcrowning all four sides

Simplified diagram, not to scale, based on Archnet descriptions and the photos in this article. Original drawing by experiumorocco.com.

Corner of the Cherratine Madrasa courtyard with tall piers, zellige dados and carved upper walls
Tall piers with zellige only at their base.
The three arches leading into the prayer hall of the Cherratine Madrasa, with zellige piers and a hanging lamp
The arches of the prayer hall, on the south-east side.
Corner of the Cherratine Madrasa courtyard with tall piers, zellige dados and carved upper walls
The three arches leading into the prayer hall of the Cherratine Madrasa, with zellige piers and a hanging lamp
Carved cedar ceiling and stucco corbels of the portico of the Cherratine Madrasa, with light from a skylight
Under the portico: carved cedar overhead and stucco corbels.
Carved cedar ceiling and stucco corbels of the portico of the Cherratine Madrasa, with light from a skylight

The prayer hall and its mihrab 

On the south-east side of the courtyard, three horseshoe arches lead into the prayer hall, a rectangular room that is wider than it is deep. From inside, the arches frame the courtyard like a stage, with the fountain right on the axis. At the far end is the mihrab, the niche that shows the direction of Mecca, set in a large carved stucco panel with lobed arches and interlacing patterns.

Mihrab of the Cherratine Madrasa in Fez set in a large panel of carved stucco with lobed arches
The mihrab and its carved stucco frame.
Mihrab of the Cherratine Madrasa in Fez set in a large panel of carved stucco with lobed arches

This is a place of worship, even when you visit it as a monument. Go in quietly, take off your shoes if asked and always follow the staff’s instructions. Look up as well: carved stucco covers domes like the one below down to the last centimetre.

Dome covered in carved stucco arabesques in the Cherratine Madrasa
One of the carved stucco domes.
Dome covered in carved stucco arabesques in the Cherratine Madrasa

The student rooms and their hidden courtyards 

The most unusual part of Cherratine cannot be seen from the main courtyard. In most madrasas of the Maghreb, the student cells open directly onto the central courtyard. Here they are grouped around several small inner courtyards with wooden galleries rising over several floors. Archnet singles this out as a rare layout.

The rooms fill the two upper floors and could house about 130 to 150 students. They were small and plain, a sharp contrast with the richness of the courtyard: a place to sleep, keep books and study. The inner courtyards gave them light and air, and their stucco and woodwork are far more modest.

Inner courtyard of the Cherratine Madrasa with wooden galleries on several floors that led to the student rooms
One of the inner courtyards that led to the student rooms.
Inner courtyard of the Cherratine Madrasa with wooden galleries on several floors that led to the student rooms

The plan echoes Marrakech’s Ben Youssef Madrasa, which arranges its rooms around seven secondary courtyards called duwiras (دويرة, “little house”). If you have already explored the souks of Marrakech, Ben Youssef is close by, and visiting both lets you compare a Saadian and an Alaouite madrasa built a century apart.

CherratineFezBen YoussefMarrakech
Datearound 16701564-1565
DynastyAlaouiteSaadian
FounderMoulay RachidAbdallah al-Ghalib
Sizeup to about 150 studentsabout 100 rooms
Roomsaround several inner courtyardsaround seven duwiras

Figures from Archnet (MIT and Aga Khan Trust for Culture) and El Mghari (2017).

Ground floor portico of the Cherratine Madrasa with a doorway, a bench and the upper galleries
The ground floor portico and, above it, the galleries.
Looking up from the courtyard of the Cherratine Madrasa at the cedar eaves framing the sky
Looking up: the cedar eaves frame a square of sky.
Ground floor portico of the Cherratine Madrasa with a doorway, a bench and the upper galleries
Looking up from the courtyard of the Cherratine Madrasa at the cedar eaves framing the sky

A monument studied for earthquake risk 

Cherratine is also a case study in heritage engineering. According to architect Khalid El Harrouni of the National School of Architecture in Rabat and professor Abdallah El Hammoumi of Mohammed V University, the building was restored in 2008 by the Al Omrane Group together with the local authorities.

A closer examination followed. Under the European NIKER project (2010-2012), which focused on protecting cultural heritage from earthquake risk and included the National School of Architecture in Rabat, the building’s natural vibrations were measured with accelerometers in 2012 and its three levels were modelled. The finding: from a ground acceleration of about 18% of gravity, the structure is at risk of significant damage. The researchers proposed discreet reinforcements suited to a historic monument, such as jacketing, continuous ring beams and anchored tie rods.

Carved capital of a column in the Cherratine Madrasa with a visible crack in the plaster
A carved capital: these brick and plaster walls are more fragile than they look.
Carved capital of a column in the Cherratine Madrasa with a visible crack in the plaster

For visitors the lesson is simple: these walls of brick, wood and plaster are fragile. Do not lean on the carved panels or touch the decoration, however tempting it is to trace a pattern with your finger.

Visiting the Cherratine Madrasa: practical tips 

Today Cherratine is part of the circuit of restored madrasas in Fez that are open to visitors, alongside Bou Inania and Al-Attarine. Here is how to make the most of it:

  • Where it is: in the heart of Fez el-Bali, a few steps from Al Qarawiyyin and Al-Attarine Madrasa. If you enter through Bab Bou Jeloud, the Talaa Kebira street leads down to this area.
  • Tickets: there is an entrance fee. It is modest and can change, so treat any figure you read as a guide and check at the ticket desk.
  • Guide or no guide: in Morocco, tour guiding is regulated by Law 05-12, and the medina is the territory of licensed city and circuit guides. Ask to see the badge. A good guide will read the inscriptions with you and take the shortest route through the lanes.
  • Go upstairs if you can: when the upper floor is open, the windows of the student rooms give the best views of the courtyard and the green tiled roof.
  • Time needed: a good half hour covers the courtyard, the prayer hall and the inner courtyards without rushing.
  • Respect: shoulders and knees covered, low voices in the prayer hall and no touching the stucco.
Entrance of the Cherratine Madrasa seen from the street, with the metal-clad door open, a carved wooden ceiling and lanterns
The entrance from the street: a passage with a carved wooden ceiling leads to the courtyard.
Door of the Cherratine Madrasa clad in metal with star patterns, studs and a large knocker
The door, clad in metal with star patterns.
Entrance of the Cherratine Madrasa seen from the street, with the metal-clad door open, a carved wooden ceiling and lanterns
Door of the Cherratine Madrasa clad in metal with star patterns, studs and a large knocker

Cherratine fits neatly into a morning devoted to the madrasas of Fez: start at Bou Inania, walk down towards Al Qarawiyyin, step into Al-Attarine, built in 1323-1325, and finish at Cherratine to see how the style had changed three centuries later. For the rest of your visit, see our guide to the best things to do in Fez, and if Fez is one stop on a longer trip, our article on the imperial cities of Morocco will help you plan the route.

How to take great photos at the Cherratine Madrasa 

The Cherratine is a gift for photographers: perfect symmetry, arches that frame the courtyard, windows edged in carved stucco and zellige floors. You do not need a big camera. A phone is enough if you choose where to stand and where to set the exposure. The annotated photo sums up the five essentials.

Five keys to a great courtyard shot
Cherratine Madrasa courtyard seen under a large horseshoe arch, with the fountain on the centre line and a child crossing
  1. 1Frame within a frameStand beneath one of the large horseshoe arches facing the courtyard. The shaded arch wraps around the sunlit facade and makes it stand out.
  2. 2The centre lineFind the line through the upper window, the far door and the fountain. One step to the side and the symmetry falls apart, so switch on your phone grid.
  3. 3Straight verticalsHold the phone at chest height and do not tilt it upwards. That keeps the pillars parallel to the edges of the frame.
  4. 4Human scaleA small figure in the courtyard shows how big it is. Wait for someone to cross an empty patch of floor.
  5. 5LightTap the screen on the bright facade to set the exposure there. The arch goes dark and the pale stone does not blow out.

Window portraits

The windows of the student rooms, framed in carved stucco above a wooden sill, are the shot everyone wants. Whoever is posing leans on the sill, while the photographer stands opposite at the same height so the arch stays straight. Leave some wall around the window, because the colour of the plaster is part of the picture, and use the 2x lens rather than the ultra-wide to avoid distorting faces and arches. It works just as well with children: hands on the wood, but no climbing or sitting on it.

Traveller leaning on a window with a carved stucco frame and wooden sill at the Cherratine Madrasa
The classic portrait in one of the student-room windows.
Two children looking out of a carved stucco window at the Cherratine Madrasa
The same window with children.
Traveller leaning on a window with a carved stucco frame and wooden sill at the Cherratine Madrasa
Two children looking out of a carved stucco window at the Cherratine Madrasa

Zellige stairs and corridors

If the upper floor is open, the stairs and corridors that lead to the rooms have green and white zellige underfoot, and those lines pull the eye into the picture. Put your subject in the middle, lower the phone to waist height so the tiles fill the bottom of the frame, and let the walls converge behind them.

Traveller sitting on a staircase with green and white zellige steps at the Cherratine Madrasa
Zellige steps lead the eye.
Traveller standing in a corridor with a green and white zigzag zellige floor at the Cherratine Madrasa
Subject in the middle, tiles below.
Traveller sitting on a staircase with green and white zellige steps at the Cherratine Madrasa
Traveller standing in a corridor with a green and white zigzag zellige floor at the Cherratine Madrasa

Back to the camera

Not keen on posing? Walk slowly towards a pillar, or stand in an archway looking out over the courtyard, and ask your companion to shoot a burst. Shots from behind look natural and leave the monument centre stage. Plain, earthy clothes go well with the rosy plaster and the stucco.

Traveller seen from behind walking towards a pillar in the Cherratine Madrasa courtyard
From behind, walking towards a pillar.
Traveller seen from behind looking at the Cherratine Madrasa courtyard through a lobed arch
Looking out over the courtyard from an arch.
Traveller seen from behind walking towards a pillar in the Cherratine Madrasa courtyard
Traveller seen from behind looking at the Cherratine Madrasa courtyard through a lobed arch

Symmetry and scale

To show the size of the courtyard, step back. Stand on the centre line of a facade, fit the whole facade in and keep your subject small in the central window. The same goes for a lone window in a bare wall: the more wall, the cleaner the shot.

Symmetrical courtyard facade of the Cherratine Madrasa with a small figure in the central window
Symmetry: a small figure in the central window.
Single carved stucco window on a pink wall of the Cherratine Madrasa with a traveller looking out
Plenty of wall and a single window.
Symmetrical courtyard facade of the Cherratine Madrasa with a small figure in the central window
Single carved stucco window on a pink wall of the Cherratine Madrasa with a traveller looking out

Good manners

  • Look after the monument: do not sit on the wooden sills or lean on the carved stucco or the fountain.
  • Take turns: if others are waiting for the same window, be quick and move on.
  • People: ask before photographing other visitors up close, and never photograph other people’s children.
  • No flash: there is plenty of daylight in the courtyard, and in the dim halls your phone’s night mode does a better job.

A short glossary of madrasa terms 

Madrasa مدرسة
Literally “a place of study”, from the Arabic root d-r-s. In Morocco it is often spelled medersa.
Sahn صحن
The central courtyard, open to the sky, with its fountain.
Mihrab محراب
The niche in the prayer hall that shows the direction of Mecca.
Zellige الزليج
A mosaic of hand-cut glazed tile pieces set in geometric patterns.
Carved stucco الجبس
Plaster carved while still fresh into arabesques, interlacing and inscriptions.
Duwira دويرة
A small secondary courtyard with student rooms grouped around it.
Habous الأحباس
Property donated in perpetuity, whose income kept the madrasa and its students going.

Cherratine Madrasa FAQ 

Who built the Cherratine Madrasa?

The Alaouite sultan Moulay Rachid founded it around 1670. He died in 1672 before it was finished, and his brother and successor, Moulay Ismail, completed it.

Madrasa vs medersa: what is the difference?

There is none. Madrasa transliterates the classical Arabic word, and medersa is the French spelling of the Moroccan pronunciation you will see on signs in Fez.

What is the largest madrasa in Fez?

Cherratine. Its two upper floors of rooms could house about 130 to 150 students.

What is the oldest madrasa in Fez?

Saffarine, built in 1271, is considered the first madrasa in Fez el-Bali. Cherratine is the most recent of the city’s great historic madrasas.

Can you visit the Cherratine Madrasa?

Yes. It is part of the circuit of restored madrasas in Fez. There is an entrance fee, which is indicative and may change.

How does it compare with Ben Youssef Madrasa in Marrakech?

Ben Youssef is Saadian and a century older, from 1564-1565. Both group their rooms around small inner courtyards rather than opening them onto the main courtyard.

Do I need a guide?

It is not compulsory, but a licensed city guide will help you find your way through the medina and understand what you are looking at.

Sources