In 859 CE, a woman named Fatima al-Fihri walked into the governor's office in Fes and announced she was going to build a mosque. Not a small one. She wanted the largest in North Africa. She had inherited a fortune from her father — a merchant who had migrated from Qayrawan in Tunisia — and she intended to spend all of it. Every last dirham. The governor said yes. He was wise enough to recognise that a woman with a fortune and a plan is not asking permission. She is informing you.
Fatima began construction on the first day of Ramadan and fasted every day until it was finished. The story says she refused to eat or drink from any water source other than the one found on the construction site — a gesture of commitment so total that it makes modern Kickstarter campaigns look tentative.
The mosque became al-Qarawiyyin. Named for Qayrawan, her hometown. It started as a place of worship but evolved into something the world had not seen before: a university. Students came from across the Islamic world. The curriculum expanded from theology to grammar, rhetoric, logic, medicine, mathematics, astronomy, chemistry, history, and geography. By the 10th century, al-Qarawiyyin had a library — one of the oldest in the world, holding manuscripts from Baghdad, Córdoba, and Damascus.
Maimonides studied there. So did al-Idrisi, who drew the most accurate world map of the medieval period. Pope Sylvester II — the man who introduced Arabic numerals to Europe — is said to have studied at al-Qarawiyyin, though the evidence is debated with the enthusiasm that academics reserve for claims they cannot definitively prove or disprove.
UNESCO and Guinness recognise al-Qarawiyyin as the oldest continuously operating degree-granting university in the world. The University of Bologna, founded in 1088, is 229 years younger. Oxford is younger still. The distinction matters because it reframes a narrative: the institution that most shaped Western civilisation — the university — was invented in Morocco, by a woman, with her own money, in a century that most Western histories treat as a dark age.
Al-Qarawiyyin still operates. Students still study in its courtyards. The library — restored in 2016 after years of meticulous conservation — holds manuscripts that predate the building. Fatima al-Fihri's name is on the founding inscription. Twelve centuries later, it has not been removed. It has not needed to be.
Fatima's courtyard is still there. The fountain still runs. Three days in Fes to stand where the world's first university began.
Tell us about your trip →The Facts
- —Founded 859 CE by Fatima al-Fihri
- —Oldest continuously operating university (UNESCO + Guinness)
- —Named for Qayrawan, Tunisia
- —Maimonides studied there
- —Al-Idrisi studied there (drew medieval world map)
- —Pope Sylvester II possibly studied there
- —University of Bologna founded 1088 (229 years later)
- —Oxford founded 1096 (237 years later)
- —Fatima's diploma still on display
- —Library is one of the oldest in the world
Sources
- Lulat, Y.G.-M. A History of African Higher Education from Antiquity to the Present. Praeger, 2005
- Dodge, Bayard. Muslim Education in Medieval Times. Middle East Institute, 1962
- UNESCO World Heritage. Medina of Fez, nomination file, 1981






