Institutions that last

Al-Qarawiyyin: a university operating since 859

In simple words

Al-Qarawiyyin in Fez, Morocco, was founded in 859 by Fatima al-Fihri, a woman from Kairouan, as a mosque funded from her inheritance. UNESCO and Guinness World Records list it as the oldest existing, continually operating educational institution in the world.

Last checked 2026-11-16 1 source Reading time: 2 min

Founding

Fatima al-Fihri's family had moved from Kairouan, in today's Tunisia, to Fez. After her father's death she used her inheritance to found a mosque in 859 in the district of the Kairouan migrants. Teaching grew around it, and the mosque was expanded by later dynasties, notably the Almoravids in the 1100s (University of al-Qarawiyyin).

How it was funded

Like most institutions of learning in the Islamic world, al-Qarawiyyin was supported by endowments. Rulers and private donors gave shops, houses and land as waqf, whose income paid scholars, students and the library (University of al-Qarawiyyin · Waqf).

Scholars

Scholars across the Maghreb and al-Andalus studied and taught there over the centuries (University of al-Qarawiyyin). The library, restored and reopened in 2016, holds manuscripts dating to the 9th century.

Into the state system

In 1963 Morocco brought al-Qarawiyyin into the state university system; it now focuses on Islamic law and Arabic (University of al-Qarawiyyin).

What explains its length

The research on lasting institutions points to three features al-Qarawiyyin shares with al-Azhar: an endowment that belonged to the purpose rather than a person, teaching passed by licence from teacher to student, and protection by successive dynasties that each gained legitimacy from supporting it (Madhhabs and the ijaza · Al-Azhar).

Key dates

  • 859: mosque founded by Fatima al-Fihri.
  • 1135 to 1143: expanded by the Almoravids to roughly its present size.
  • 1349: the Marinid sultan Abu Inan endows its library.
  • 1963: joined to the Moroccan state university system.
  • 2016: library reopens after restoration (University of al-Qarawiyyin).

Sources

  1. University of al-Qarawiyyin · en.wikipedia.org

Keep reading