Home /Monuments of Morocco /Fes
Monuments of Morocco

Al-Qarawiyyin Mosque & University

Fes · Monument guide
  • Visited on our private tours — Your own licensed city guide
  • Real visiting notes — Hours, tickets and the quiet hours
  • Plan it on WhatsApp — Reply within 1 hour
  • Founded in 859 by Fatima al-Fihri — often cited as the world's oldest existing university
  • Heart of Fes el-Bali for over eleven centuries
  • Mosque interior closed to non-Muslims — courtyard glimpses from the gates
Al-Qarawiyyin Mosque & University
Reply within 1 hour · no payment at this stage
Private departures only — never in a group

Before Bologna, before Oxford, there was al-Qarawiyyin: founded in 859 by Fatima al-Fihri, a merchant’s daughter who spent her inheritance on a mosque for her community, and continuously teaching ever since — which is why UNESCO and the Guinness records both cite it as the oldest existing university on earth. Eleven centuries of scholars, from Ibn Khaldun to (by strong tradition) Pope Sylvester II, learned in these courtyards.

Honesty first: as a working mosque, its interior is closed to non-Muslims, like almost every mosque in Morocco. What visitors do is what Fassis accept with grace — pause at the great open gates on the surrounding lanes for the framed view of the marble courtyard, the fountains and the green-tiled roofs, stepping aside for worshippers. The glimpse is genuinely worth organising a walk around.

The building grew with the city: Almoravid expansions, Almohad rigour, Saadian pavilions in the courtyard that answer the Alhambra’s Court of the Lions — a millennium of Moroccan architecture compressed into one complex you read from its edges.

The al-Qarawiyyin library, one of the world’s oldest, was restored in the 2010s — manuscripts here include a 9th-century Quran and al-Fihri’s era documents. Public access is irregular: sometimes the reading room or an exhibition opens, often not. We check before your day in Fes rather than promising what the door decides.

To grasp the scale, go up: several café and shop rooftops around the Seffarine square area look across the green roofs of the mosque spreading like a lake through the medina — the university is not a building but a quarter.

This is precisely the monument where a licensed guide changes everything: which gate frames the courtyard best at that hour, which rooftop is open, what eleven centuries of teaching actually looked like. It sits at the heart of our guided Fes day — dates on WhatsApp, and we build the walk around it.

Key facts
  • Founded in 859 by Fatima al-Fihri — often cited as the world's oldest existing university
  • Heart of Fes el-Bali for over eleven centuries
  • Mosque interior closed to non-Muslims — courtyard glimpses from the gates
  • Restored medieval library, partially accessible
  • UNESCO-inscribed as part of the Fes medina
Good to know

The prayer hall is closed to non-Muslims; the courtesy is to look from the open gates without blocking worshippers. The restored library opens irregularly — ask us the day before whether visits are running. The surrounding lanes and rooftop views are the reliable way to grasp the scale.

Explore more

Fes

Questions travellers ask

How long does it take to get from Marrakech to Fes?+

Around 530 km: 5 to 6 hours by road across the Middle Atlas, or about 7 hours by train via Casablanca. The scenic answer is to not go direct at all — our 4-day desert crossings link the two cities through Merzouga, turning the transfer into the trip's highlight.

How do you navigate the Fes medina?+

Accept that you will be pleasantly lost, then use the system: the two main arteries (Talaa Kebira and Talaa Sghira) run downhill through the medina, downhill generally leads toward the river and the tanneries, and blue Bab Boujeloud is the compass point. Take a licensed guide the first day — the maze reads like a map afterwards.

Is Fes worth visiting?+

For history, unreservedly: it is the oldest imperial city, home to Al-Qarawiyyin — regarded as the world's oldest continuously operating university — the finest carved madrasas in the country and the famous tanneries. Give it a full guided day plus an evening on the rooftops.

How old is the Fes medina?+

Founded in 789 by Idriss I and built into a capital by his son from 809, Fes el-Bali is over 1,200 years old — and continuously inhabited the entire time, which is the real marvel. Al-Qarawiyyin, teaching since 859, is routinely cited as the world's oldest existing university. When you press against a wall to let a donkey pass, that scene has been running unchanged for a millennium.

More answers in the “Fes” chapter of our Travel FAQ →

Turn the reading into a journey

The private tours below pass through the places this guide talks about — every departure is yours alone, on your dates.

Visit it on a private tour — WhatsApp