Visitor Etiquette
Al-Qarawiyyin is an active mosque and functioning university β non-Muslim visitors cannot enter the prayer hall or mosque interior. Access is limited to views through the ornate doorways and from specific vantage points in the surrounding medina lanes. The courtyard and library are not open to the general public; respectful viewing from the street is the standard experience for non-Muslim tourists. When positioning yourself at the doorways to look inside, avoid blocking the entrance or impeding worshippers and students who pass through.
Dress conservatively out of respect for the active religious site: covered shoulders and legs are appropriate throughout the surrounding Fes el Bali medina, not just at this specific threshold. Photography of the exterior doorways and glimpsed courtyard from the street is generally acceptable, but raise your camera only briefly and avoid using flash. Do not lean through doorways or attempt to enter unmarked areas to obtain better photographs β the mosque administration takes access restrictions seriously.
Spiritual Significance
Fatima al-Fihri founded Al-Qarawiyyin not as a civic institution but as an act of religious devotion: she had inherited a substantial fortune from her father and resolved to spend it entirely on a mosque and school that would serve her community's spiritual and intellectual needs.
That a woman of the 9th century β and a recent immigrant, not a native of Fez β would dedicate her entire inheritance to religious education makes the founding story itself a theological statement about the Islamic duty of charitable giving (zakat and sadaqa). For over 1,100 years, the mosque has been the spiritual anchor of the Fez medina, with the call to prayer from its ancient minaret orienting the surrounding city in both literal and devotional terms.
The scholars who passed through Al-Qarawiyyin β including Ibn Rushd, who reconciled Aristotelian philosophy with Islamic theology, and al-Ghazali, whose work on the revival of religious sciences remains foundational in Sunni Islam β understood themselves as engaged in ilm (the pursuit of knowledge as worship): in Islamic tradition, seeking knowledge is itself a religious obligation, and the university embodied that principle for twelve centuries.
The library's 9th-century Quran written on camel skin represents not merely a historical artifact but a living chain of transmission (isnad): the words of God, copied by human hands in the generation just after revelation, preserved through a thousand years of prayer and scholarship in the same building where those words were taught.
Al-Qarawiyyin timeline
-
Fatima al-Fihri founds Al-Qarawiyyin
The daughter of a merchant who had emigrated from Kairouan in Tunisia spends her inheritance on a congregational mosque for her adopted city; her sister Mariam endows the nearby Andalusian Mosque.
-
The square minaret rises over the medina
One of the oldest surviving minarets in the Islamic world is raised above the mosque, its call to prayer orienting the surrounding quarters for more than a thousand years since.
- 12th century
The Almoravids enlarge the prayer hall
Almoravid patrons extend the mosque into one of the largest in North Africa, adding the muqarnas domes and carved plaster that still define the interior its worshippers use today.
-
The philosopher Maimonides lives in Fez
The Jewish thinker Maimonides spends several years in the city during the era when Al-Qarawiyyin drew Muslim, Jewish, and visiting European scholars into a shared intellectual orbit.
-
The Marinids endow the Qarawiyyin library
Sultan Abu Inan Faris, who also built the nearby Bou Inania Madrasa, establishes the Khizanat al-Qarawiyyin, among the oldest working libraries anywhere on Earth.
-
Al-Qarawiyyin joins Morocco's state universities
The ancient institution is integrated into the modern Moroccan university system, continuing its teaching mission more than eleven centuries after its founding.
-
The Fez medina joins the UNESCO World Heritage List
Al-Qarawiyyin is inscribed as part of the Medina of Fez, cited by UNESCO as home to the oldest university in the world.
- 2012-2016
Aziza Chaouni restores the ancient library
A four-year restoration led by the Moroccan-Canadian architect repairs the Khizanat's structure and climate control, and the library reopens in 2016 to safeguard its roughly 4,000 manuscripts.
When to Visit
Al-Qarawiyyin keeps the rhythm of a working mosque, not a museum, so plan your visit around prayer and the open-door windows:
- Mosque interior β Open only to Muslims for prayer; the prayer hall stays closed to non-Muslim visitors year-round.
- Courtyard glimpses β Peek through the open doors during non-prayer times, typically 9 AM β 12 PM and 2 PM β 5 PM.
- Library β The Khizanat al-Qarawiyyin opens to accredited researchers by appointment, not to general visitors.
- Best window β Mid-morning on a weekday, when the doors are most reliably open and the Souk Attarine crowds inside Fes el Bali are still thin.
- Surrounding lanes β Always accessible; the medina around the mosque never closes.
Admission and Costs
Entry works differently here than at a ticketed monument such as the Bou Inania Madrasa: you pay for a guide's navigation and interpretation, not for admission.
- Exterior and courtyard glimpses β Free, at any non-prayer hour.
- Guided medina tour including Al-Qarawiyyin β 600-1,000 MAD (β¬55-92) for a half-day private tour.
- Specialist Islamic-history tour β 800-1,400 MAD (β¬74-130) for a dedicated scholarly guide.
- Group walking tour passing the mosque β 150-300 MAD (β¬14-28) per person.
The Case for a Guide
Al-Qarawiyyin is the one great monument in Fez that most independent visitors never actually find: it has no grand street facade, and the unmarked lanes of Fes el Bali hide its doorways in plain sight. A licensed guide earns the fee by turning a frustrating dead end into a legible story:
- Finding it β The mosque presents no ceremonial entrance; a guide threads the Souk Attarine lanes to the doorways where the courtyard, fountain, and ablution hall become briefly visible.
- Timing the doors β Access shifts around the five daily prayers; a guide plans your approach for the open windows and keeps you clear of worshippers.
- Reading the layers β A guide distinguishes Almoravid, Almohad, and Marinid work and explains why a woman's 9th-century endowment grew into a university.
- Sequencing the golden age β Pairing Al-Qarawiyyin with the Bou Inania Madrasa and the Attarine Madrasa reads the three as one story rather than three disconnected stops.
- Context on the library β You cannot enter the Khizanat al-Qarawiyyin, but a guide explains what the restored collection holds and why it matters.
Tips for Visitors
Respect prayer times: Doors may close during the five daily prayers; guides plan your route around these. Photography: Exterior and courtyard photography through doorways is acceptable; never point cameras inside the prayer hall. Combine with nearby sites: the Bou Inania Madrasa (15-minute walk) and Attarine Madrasa (2-minute walk) complete the picture.
Dress modestly: You are at an active mosque; cover shoulders and knees as a sign of respect. Finding it: The mosque has no prominent exterior entrance, so a guide navigates the unmarked alleys of Fes el Bali to the right vantage point. Historical context first: Visit the Bou Inania Madrasa, which you can enter, before Al-Qarawiyyin to understand the shared architectural traditions.
Frequently Asked Questions
What time of year is recommended for visiting Al-Qarawiyyin?
March through May and September through November are the best windows, when Fez's temperatures are warm enough to enjoy the medina strolls but not so extreme that the narrow streets become stifling. The mosque courtyard doors are most reliably open during non-prayer hours in these shoulder months. Avoid July and August, when temperatures inside the walled medina regularly exceed 40 degrees Celsius and the lack of air circulation makes exploration exhausting.
What are the public visiting hours at Al-Qarawiyyin?
Mosque interior: Open only to Muslims for prayer. Library: Open to researchers by appointment; general visitors can view the courtyard and entrance areas.
Does Al-Qarawiyyin charge an admission fee?
Viewing the exterior and courtyard glimpses: FREE. Guided medina tour including Al-Qarawiyyin: 600-1,000 MAD (β¬55-92) for half-day private tour. Specialist Islamic history tour: 800-1,400 MAD (β¬74-130) for dedicated scholarly guide.
What should visitors know before visiting Al-Qarawiyyin?
Respect prayer times: Doors may close during the five daily prayers; guides plan your route around these. Photography: Exterior and courtyard photography through doorways is acceptable; never point cameras inside the prayer hall.
Why is Al-Qarawiyyin called the oldest university in the world?
Founded as a mosque in 859 CE by Fatima al-Fihri and developed first into a teaching madrasa and then into a degree-granting university, it has operated without interruption ever since. UNESCO and the Guinness World Records both certify it as the oldest existing, continually operating educational institution on Earth, predating the universities of Bologna (1088) and Oxford by more than two centuries.
Can visitors see inside the famous Al-Qarawiyyin library?
The Khizanat al-Qarawiyyin, one of the world's oldest working libraries, reopened in 2016 after a four-year restoration led by the architect Aziza Chaouni. It holds roughly 4,000 manuscripts, including a 9th-century Quran written on camel parchment. Access stays limited to accredited researchers by appointment; general tourists cannot enter, though a guide can explain what the collection preserves.
How is Al-Qarawiyyin different from the Bou Inania Madrasa?
Both are religious buildings in the Fez medina, but Al-Qarawiyyin is an active mosque and university whose prayer hall stays closed to non-Muslims, so you view it through doorways. The Bou Inania Madrasa, by contrast, is one of the very few working religious buildings non-Muslims may fully enter, which is why guides routinely pair the two on a single walk.