Serenity Morocco

Founded in 859 AD by Fatima al-Fihri, Al-Quaraouiyine in Fes is the oldest university on earth. Here's what you can actually see as a visitor.
Get Morocco Travel Insights
Al-Quaraouiyine in Fes was founded in 859 AD by Fatima al-Fihri, a woman from a merchant family, and is widely cited by Guinness World Records and UNESCO as the oldest continuously operating, degree-granting university in the world. It remains a working mosque, so non-Muslim visitors admire it from the doorways and through glimpses of its courtyard rather than entering the prayer hall.
Most "oldest in the world" claims wilt under scrutiny. This one largely holds up. Al-Quaraouiyine has been teaching, in some form, for over eleven centuries, longer than Oxford, Bologna or Paris, and it was founded by a woman at a time when that was remarkable. Standing at its threshold in the heart of the Fes medina, you are at one of the genuine intellectual cradles of the medieval world, where scholars studied theology, law, grammar, medicine, mathematics and astronomy.
Be clear about what a visit is, though. This is not a ticketed monument you wander through. The mosque and university complex is still in active religious use, and the prayer hall is closed to non-Muslims. The reward here is atmosphere and history, not a guided walk through the interior. Manage that expectation and the visit is deeply rewarding.
Fatima al-Fihri was born in Qairouan (in present-day Tunisia) and moved with her family to Fes. When she inherited wealth from her father, she chose to spend it building a mosque for her community, naming it after her home city. Founded as a mosque with a teaching school (madrasa) in 857 to 859 AD, it grew into a centre of learning that drew students from across the Islamic world and beyond.
Its associated library, established at the same time, is often called the oldest working library on earth. After a major restoration led by the Canadian-Moroccan architect Aziza Chaouni, it reopened in 2017 with conserved manuscripts, repaired waterworks and an exhibition space. Access for general tourists has historically been limited and not guaranteed, so treat any library visit as a bonus rather than a certainty, and confirm current arrangements locally.
For the wider story of Fes among Morocco's royal capitals, the imperial cities guide is a good companion read.
Honesty matters here, so here is the realistic picture.
The prayer hall itself, which you can only partly glimpse, is vast: a forest of horseshoe arches on plain columns, capable of holding many thousands of worshippers. Its scale tells you how central this institution was to the medieval city. What survives today reflects centuries of additions and patronage by successive Moroccan dynasties, each leaving their mark in tile, plaster and cedar. Even from the doorways, you can sense that this is not a single moment frozen in time but a building that has been loved, repaired and enlarged for over a thousand years.
Hours and tickets. Because the prayer hall is not open to non-Muslims, there is no standard tourist ticket for the mosque itself. You can approach the exterior and doorways at most reasonable daytime hours, with the obvious caveat that the immediate area is busiest and most restricted around the five daily prayer times and especially on Fridays. Any library access is arranged separately and can change, so check current rules on the day.
How to get there. Al-Quaraouiyine sits at the very heart of Fes el-Bali, the old medina. There is no vehicle access. Most visitors walk in from the Bab Boujloud (Blue Gate) gate, roughly 15 to 20 minutes through the lanes, though "roughly" is generous given how easy it is to lose your bearings.
How long to allow. The mosque exterior and doorways take 20 to 30 minutes. Combined with the neighbouring sights below, plan a relaxed half-day in this part of the medina.
You are surrounded by highlights. The exquisite Bou Inania Madrasa, one of the few religious buildings in Fes that non-Muslims can enter, is a short walk away, and the working Chouara Tannery is close by too. The nearby Nejjarine Museum of Wooden Arts and Crafts, housed in a restored caravanserai, charges around 20 to 25 MAD (confirm current price) and is a quiet, beautiful pause. The small zaouia (shrine) of Moulay Idriss II is also moments away.
Al-Quaraouiyine rewards understanding more than almost any site in Fes, precisely because so much of its significance is invisible from the doorway. A knowledgeable private guide turns a quick photo stop into the story of Fatima al-Fihri, the medieval golden age of learning, and the architecture you're looking at. Our private tours include expert local guides who navigate the medina and bring this history to life. See how it fits a full day on our Fes tours page, or explore all our tours.
Can non-Muslims go inside Al-Quaraouiyine? No. The mosque and prayer hall are reserved for Muslims. Non-Muslim visitors admire the doorways and catch glimpses of the courtyard from the entrances.
Is Al-Quaraouiyine really the oldest university in the world? It is widely recognised by Guinness World Records and UNESCO as the oldest existing, continuously operating degree-granting institution, founded in 859 AD.
Who founded it? Fatima al-Fihri, a woman from a merchant family originally from Qairouan in Tunisia, using her inheritance.
Can I visit the famous library? The restored library reopened in 2017, but general tourist access has been limited and is not guaranteed. Check current arrangements locally.
Is there an entrance fee? There is no standard tourist ticket for the mosque, since you view it from outside. Any library access is arranged separately.
Share this article
Skip the guesswork. Tell us what you love and our Morocco specialists will design a private, bespoke itinerary — with a free quote and zero obligation.
Continue your journey through Morocco with these curated reads
Destination GuidesTickets, hours, and insider tips for Jardin Majorelle, the cobalt-blue garden Yves Saint Laurent saved from demolition.
Read Article
Destination GuidesHours, tickets, and what to look for inside Bahia Palace, the 19th-century Marrakech residence built to be the most beautiful of its time.
Read Article
Destination GuidesHours, tickets, and what to see at the Saadian Tombs, the sealed royal mausoleum rediscovered in Marrakech in 1917.
Read ArticleJoin our community of travel enthusiasts and receive exclusive content, travel tips, and special offers directly to your inbox.
Weekly
Insights
Curated
By Experts
Free
Forever