The First University

The courtyard of al-Qarawiyyin in Fes — the oldest continuously operating university in the world, founded by a woman in 859 CE

People·4
Historical Record

The First University

Oxford was 230 years late


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. Fatima began the 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 itself — a gesture of total commitment.

The mosque became al-Qarawiyyin. Named for Qayrawan, her hometown. It started as a place of worship but evolved into something else entirely: 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. Manuscripts arrived from Baghdad, Cordoba, and Damascus.

The Jewish philosopher Maimonides studied there. So did the geographer 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 in the 10th century, though this is debated.

The Guinness Book of World Records and UNESCO both recognize it as the oldest continuously operating educational institution in the world. Founded in 859 CE. The University of Bologna started in 1088. Oxford in 1096. Al-Qarawiyyin had been running for 230 years by the time Oxford opened its doors.

Fatima's diploma is still on display — carved onto a wooden board, preserved behind glass. Her name is inscribed on the foundation stone of the mosque. In the 1960s, al-Qarawiyyin was formally integrated into Morocco's modern university system. It still teaches today.

In the medina of Fes, you can stand in the courtyard that Fatima built. The zellige tilework has been restored. The fountain still runs. Students still come.

A woman from Tunisia, spending her entire inheritance, built the institution that educated Europe before Europe knew it needed educating.

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

  • UNESCO, 'University of al-Qarawiyyin'
  • Guinness World Records
  • Abun-Nasr, Jamil M. 'A History of the Maghrib in the Islamic Period'
  • Terrasse, Henri. 'La Mosquee al-Qarawiyyin a Fes'

2025

Related Stories