Founded as a mosque in 857–859 by Fatima al-Fihri, Al-Qarawiyyin became one of the leading centres of the Islamic Golden Age. UNESCO and the Guinness World Records describe it as the oldest existing continually operating educational institution in the world.
Why visit
Al-Qarawiyyin is the spiritual and intellectual heart of Fez: founded in 857–859 by Fatima al-Fihri, it taught scholars including Ibn Khaldun, Ibn Rushd and the cartographer al-Idrisi, and is recognised as the world's oldest continually operating university.
What to expect
Non-Muslims circle the complex on narrow lanes, glimpsing the courtyard through gates Bab al-Ward and Boutouil. The reopened library on Place Seffarine displays restored interiors and rotating exhibits drawn from the manuscript collection.
Best time
Outside of prayer times, when the surrounding lanes are calmer. The library is best visited mid-morning when its narrow opening hours overlap with daylight in the reading room.
How to combine
Al-Attarine Madrasa, the Zawiya of Moulay Idris II and Souk Seffarine are all within a 3-minute walk and form a natural single loop with the Qarawiyyin precinct.
Price range
There is no ticket for Al-Qarawiyyin, but the restriction matters more than the price: the mosque is a working congregational mosque and non-Muslims may not go inside.
What everyone can do costs nothing — looking into the courtyard through the gate on Derb Boutouil, and seeing the green roof and minaret from the terraces around the medina.
The library has its own entrance on Place Seffarine, added so that non-Muslims could reach it without crossing the mosque. Access has been granted inconsistently since the 2016 restoration and is not guaranteed on the day; ask locally before counting on it.
No. The prayer hall is reserved for Muslims, but non-Muslim visitors can view the courtyard from the Bab Boutouil and Bab al-Ward gates and visit the historic library on Place Seffarine.
Yes — since the 2016–2017 restoration, the library entrance on Place Seffarine receives visitors. Hours are limited and access to manuscripts requires academic credentials.
The mosque was founded in 857 or 859 CE. It became a teaching institution shortly after and has operated continuously for over 1,160 years, predating Bologna (1088) by more than two centuries.