Commissioned by the Marinid Sultan Abu Said Uthman II between 1323 and 1325, Al Attarine Madrasa serves as a premier example of Islamic educational architecture in the heart of Fes el-Bali. This historic site currently requires a 20 Moroccan Dirham entry fee and remains one of the most accessible masterpieces within the UNESCO-listed medina of Fez.
The construction of the madrasa was completed during the height of the Marinid dynasty, a period when Fez regained its status as the capital of Morocco. Its name derives from the Souk al-Attarine, the historic market of spice and perfume traders that completely surrounds the building entrance. Visitors often find the sensory transition striking as the pungent aroma of cumin and dried rosebuds at the doorstep gives way to the cool, quiet interior. Sultan Abu Said Uthman II intended this school to serve the nearby Al-Qarawiyyin Mosque and University, providing housing and classrooms for students studying religious sciences and law.
Unlike modern universities, this madrasa functioned as both a place of worship and a dormitory. The upper floor contains small, spartan cells where students lived, many of whom traveled from distant rural provinces to study under the city's elite scholars. These rooms are remarkably tiny, offering a stark contrast to the opulence of the ground-floor courtyard where the actual teaching occurred. This architectural hierarchy reflects a focus on spiritual and intellectual discipline over physical comfort. While the living quarters are simple, the shared spaces received the full attention of the empire's most skilled craftsmen.
The courtyard floor and lower walls are finished with intricate zellige tilework, featuring hand-cut terracotta tiles set into plaster. These patterns follow strict mathematical principles, utilizing stars and polygons to represent the infinite nature of the divine. I find that the specific shade of green used here is deeper than what you typically see in the later Saadian structures of Marrakech. The artisans used a technique called mosaic-work where each tiny shape is chiseled from a larger fired tile, a process that explains why the patterns remain sharp after seven centuries of foot traffic. At the center of the courtyard sits a marble fountain which provided water for ritual ablutions, though it now serves mainly as a visual focal point for the architecture.
Above the tilework, the walls transition into carved stucco and dark cedar wood sourced from the Middle Atlas Mountains. The cedar lintels are deeply recessed, featuring Kufic calligraphy that records foundational dates and religious verses. Additionally, the stucco work utilizes a honeycomb-like pattern known as muqarnas to soften the transition between vertical walls and the overhanging roof. Many visitors miss the small bronze-plated doors that lead to the prayer hall, which are original to the 14th-century construction. The craftsmanship is so dense that it requires standing in one spot for several minutes to distinguish the floral motifs from the interwoven script.
The north entrance tends to be less crowded than the main thoroughfares—a detail most guides overlook when directing people toward the mosque district. To capture the best photographs of the cedar carvings, I recommend arriving exactly at 9:00 AM when the morning sun begins to hit the upper stucco work but before the courtyard becomes a well of deep shadows. By 11:00 AM, the central space usually fills with tour groups, making it nearly impossible to photograph the fountain without obstruction. The lighting inside the small prayer hall is quite dim, so a camera with good low-light performance is essential since tripods are strictly prohibited by the site monitors.
Locating the entrance can be difficult because the madrasa is integrated seamlessly into the surrounding shops. Look for the copper-clad doors near the spice stalls where the smell of incense is strongest. It is helpful to remember that Al Attarine is much smaller than the more famous Bou Inania Madrasa, but its proportions are considered more harmonious by architectural historians. If you find yourself overwhelmed by the noise of the medina, spending fifteen minutes in the prayer hall provides a necessary mental break. The site is a five-minute walk from the famous tanneries, making it a logical stop to clear your senses after visiting the leather vats.
The standard entrance fee for international visitors is 20 Moroccan Dirhams, though prices are subject to change and should be verified at the small ticket booth by the door. This fee covers access to the main courtyard, the prayer hall, and the upper-level student cells.
Al Attarine Madrasa is generally open to the public daily from 9:00 AM to 6:00 PM. Visitors should be aware that hours may be restricted during the month of Ramadan or during specific prayer times if the site is being used for religious purposes.
Yes, unlike many active mosques in Morocco, this madrasa allows non-Muslim visitors to enter both the courtyard and the prayer hall section. However, you must still behave respectfully and avoid walking directly in front of anyone who may be praying.
Most travelers spend between 30 and 45 minutes exploring the site because of its compact size. This allows enough time to examine the tilework details on the ground floor and climb the narrow stairs to view the student quarters above.
V NY Interesting and beautiful place. It's fun to get on the second floor which used to be students' dorms. Since I went with a tour, I didn't have enough time to explore. Too bad!
Chaimaa AMCHI One of the most charming places, this used to be a school. A very beautiful well made piece of perfect art, wherever you look, you see the unique artisana of this land. Every detail has a story. The school was built 700 years ago. If you want to experience time travel, Fes is the place, with buildings that date back to the 9th century,
Piotr Janik It costs 20 MAD per person to go inside. Good value for money. You can also check higher floors, probably for free. Nice architecture and details. A nice place to take some photos. If you want to check Marocan architecture with low cost it's a great place to do so. I highly recommend to visit this Madrassa. If you do so it not worth to visit another Madrasa in the city as they are very similar.
EL MEHDI Less than 2 euros to visit this incredible decorated place from 1323 ! A must when visiting Fes, on the same path when visiting Karawiyin Mosque or Saffarin place .
Levente Zemlényi Absolutely beautiful building! Sadly it was really crowded when I visited, but i definitely recommend it. Apart from the breathtaking wall decorations in the central courtyard, there are several corridors and rooms that you can explore, with great view from the third floor on the neighbouring mosque and the city.