Main image

Abdel Hassouni CC BY-SA 4.0 Wikimedia Commons

Al-Qarawiyyin Mosque (Morocco)

Mosque

Founded in 859, the Qarawiyyin in Fes houses one of the world's oldest continuously operating universities and a historic library; visitors come for medieval architecture and the surrounding medina.

Al-Qarawiyyin Mosque (Morocco) MarrakechFesChefchaouenCasablancaErfoudEssaouiraAl-Qarawiyyin Mosque (Morocco)
In this guide

Al-Qarawiyyin Mosque (Morocco) essentials

Address: Place al‑Qarawiyyin, Fes el‑Bali, Fès, Morocco

About Al-Qarawiyyin Mosque (Morocco)

The Al-Qarawiyyin Mosque in Fez is a mosque, library and historic university complex founded in 859 CE and located in the old medina. It is one of the oldest continuously operating centers of Islamic scholarship.

Founded in 859 CE by Fatima al-Fihri, the complex developed from a neighborhood mosque into a major center for religious and secular learning over the medieval period. It continued as a teaching institution and underwent multiple restorations and expansions across the centuries, preserving its role in Fez’s intellectual life.

Sited in Fes el-Bali, the historic medina of Fez, the complex sits in the city center amid narrow streets and other heritage monuments and is within walking distance of other major medina sites.

  • Access: Access to the mosque’s prayer halls is generally reserved for Muslims; the historic library has limited public access and is best visited via arranged or guided visits.
  • Founding and significance: Founded in 859 CE by Fatima al-Fihri, it is widely cited as one of the oldest continuously operating institutions of higher learning in the world.
  • Restoration and collection: The library underwent a major restoration completed in 2016 and preserves a collection of historic manuscripts dating from the medieval period onward.

What to See#

  • Mosque complex: Part of a larger religious and educational complex dating to the 9th century, the site includes the mosque prayer areas, teaching spaces and an associated library with historic manuscripts.
  • Library: Houses a historic manuscript collection that includes medieval Islamic works and Qur’anic codices; the library was the subject of conservation and refurbishment in the 21st century.
  • University / madrasa: Functioned historically as a center for religious and higher learning with attached teaching spaces used over many centuries for Islamic jurisprudence, grammar and other subjects.
Things to Do
When to Go

Best Time to Visit Al-Qarawiyyin Mosque (Morocco)

Best visited in spring and autumn for comfortable walking in Fes; verify visiting rules for the university and mosque beforehand.

Spring-Autumn (Mar-Oct)
March-October · 15-30°C
Pleasant for exploring Fes and the medina; avoid peak summer heat.
Winter (Nov-Feb)
November-February · 5-15°C
Cooler and wet at times but fewer tourists.

Weather & Climate near Al-Qarawiyyin Mosque (Morocco)

Climate

Al-Qarawiyyin Mosque (Morocco)'s climate is classified as Hot-Summer Mediterranean - Hot-Summer Mediterranean climate with hot summers (peaking in July) and cool winters (coldest in January). Temperatures range from 6°C to 34°C. Moderate rainfall (535 mm/year) with a pronounced dry season.

Air Quality: AQI 58 Moderate
Best Time to Visit
JulyJuneAugust
Temperature & Rainfall
Temperature Range
46°
Warmest Month
-4°
Coldest Month
Monthly Conditions
Month Comfort Temp Feels Rain Sky Humidity Wind UV Daylight
January Very Good 6° - 16° 11° 61 mm partly cloudy 71% 2.5 m/s 0.5 low 10.0h
February Very Good 7° - 17° 12° 66 mm partly cloudy 70% 3.0 m/s 0.7 moderate 10.8h
March Very Good 9° - 20° 14° 72 mm partly cloudy 68% 2.8 m/s 1.2 high 11.8h
April Very Good 11° - 22° 17° 60 mm partly cloudy 67% 3.0 m/s 1.6 very high 12.9h
May Excellent 14° - 26° 20° 41 mm some cloud 61% 3.1 m/s 2.0 very high 13.8h
June Ideal 17° - 30° 23° 13 mm mostly sunny 51% 2.9 m/s 2.4 extreme 14.3h
July Ideal 20° - 34° 27° 0 mm clear 39% 2.9 m/s 2.5 extreme 14.1h
August Ideal 20° - 34° 27° 1 mm clear 37% 2.7 m/s 2.1 extreme 13.3h
September Ideal 18° - 30° 24° 11 mm mostly sunny 47% 2.3 m/s 1.6 very high 12.3h
October Excellent 14° - 25° 19° 50 mm some cloud 54% 2.4 m/s 1.0 high 11.2h
November Very Good 10° - 20° 15° 73 mm partly cloudy 65% 2.7 m/s 0.6 moderate 10.2h
December Very Good 7° - 17° 12° 87 mm some cloud 70% 2.3 m/s 0.4 low 9.7h
Getting There & Around

How to Get to Al-Qarawiyyin Mosque (Morocco)

Located in Fes el‑Bali (the old medina). Most visitors arrive on foot from Bab Boujloud (the Blue Gate); parking and taxis drop at the medina edges and the mosque is a short walk inside.

Tips for Visiting Al-Qarawiyyin Mosque (Morocco)

  • Al‑Qarawiyyin remains a living center of study - visitors should behave respectfully and check access rules.
  • The adjoining library (Bibliotheca al‑Qarawiyyin) includes manuscripts and is worth asking about; access rules vary.