Al-Qarawiyyin Mosque (Morocco)

Mosque Historic mosque and oldest university in Fes

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.

Main image

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.
Al-Qarawiyyin Mosque (Morocco)
Place al‑Qarawiyyin, Fes el‑Bali, Fès, Morocco
34.0650, -4.9736

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.

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

January

January is the coolest month with highs of 16°C and lows of 6°C. Moderate rainfall (61 mm) and partly cloudy skies.

71 Very Good

Comfort

11°
Feels Like Cool
11°C
Temperature
16°
71%
Humidity
Very Humid

Weather

61 mm
Rainfall
2.5 m/s
Wind
Calm
0.5
UV Index
Low
10.0h daylight

February

February is cool with highs of 17°C and lows of 7°C. Moderate rainfall (66 mm) and partly cloudy skies.

72 Very Good

Comfort

12°
Feels Like Cool
12°C
Temperature
17°
70%
Humidity
Very Humid

Weather

66 mm
Rainfall
3.0 m/s
Wind
Light Breeze
0.7
UV Index
Moderate
10.8h daylight

March

March is cool with highs of 20°C and lows of 9°C. Moderate rainfall (72 mm) and partly cloudy skies.

71 Very Good

Comfort

14°
Feels Like Cool
14°C
Temperature
20°
68%
Humidity
Humid

Weather

72 mm
Rainfall
2.8 m/s
Wind
Calm
1.2
UV Index
High
11.8h daylight

April

April is cool with highs of 22°C and lows of 11°C. Moderate rainfall (60 mm) and partly cloudy skies.

74 Very Good

Comfort

17°
Feels Like Cool
17°C
Temperature
11° 22°
67%
Humidity
Humid

Weather

60 mm
Rainfall
3.0 m/s
Wind
Light Breeze
1.6
UV Index
Very High
12.9h daylight

May

May is mild with highs of 26°C and lows of 14°C. Moderate rainfall (41 mm).

88 Excellent

Comfort

20°
Feels Like Mild
20°C
Temperature
14° 26°
61%
Humidity
Humid

Weather

41 mm
Rainfall
3.1 m/s
Wind
Light Breeze
2.0
UV Index
Very High
13.8h daylight

June

June is mild with highs of 30°C and lows of 17°C. Light rainfall and mostly sunny skies.

97 Ideal

Comfort

23°
Feels Like Mild
23°C
Temperature
17° 30°
51%
Humidity
Humid

Weather

13 mm
Rainfall
2.9 m/s
Wind
Calm
2.4
UV Index
Extreme
14.3h daylight

July

July is the warmest month with highs of 34°C and lows of 20°C. The driest month with just 0 mm and clear sunny skies.

99 Ideal

Comfort

27°
Feels Like Warm
27°C
Temperature
20° 34°
39%
Humidity
Comfortable

Weather

0 mm
Rainfall
2.9 m/s
Wind
Calm
2.5
UV Index
Extreme
14.1h daylight

August

August is warm with highs of 34°C and lows of 20°C. Almost no rain and clear sunny skies.

97 Ideal

Comfort

27°
Feels Like Warm
27°C
Temperature
20° 34°
37%
Humidity
Comfortable

Weather

1 mm
Rainfall
2.7 m/s
Wind
Calm
2.1
UV Index
Extreme
13.3h daylight

September

September is warm with highs of 30°C and lows of 18°C. Light rainfall and mostly sunny skies.

95 Ideal

Comfort

24°
Feels Like Warm
24°C
Temperature
18° 30°
47%
Humidity
Comfortable

Weather

11 mm
Rainfall
2.3 m/s
Wind
Calm
1.6
UV Index
Very High
12.3h daylight

October

October is mild with highs of 25°C and lows of 14°C. Moderate rainfall (50 mm).

85 Excellent

Comfort

19°
Feels Like Mild
19°C
Temperature
14° 25°
54%
Humidity
Humid

Weather

50 mm
Rainfall
2.4 m/s
Wind
Calm
1.0
UV Index
High
11.2h daylight

November

November is cool with highs of 20°C and lows of 10°C. Moderate rainfall (73 mm) and partly cloudy skies.

71 Very Good

Comfort

15°
Feels Like Cool
15°C
Temperature
10° 20°
65%
Humidity
Humid

Weather

73 mm
Rainfall
2.7 m/s
Wind
Calm
0.6
UV Index
Moderate
10.2h daylight

December

December is cool with highs of 17°C and lows of 7°C. The wettest month with 87 mm of rain.

71 Very Good

Comfort

12°
Feels Like Cool
12°C
Temperature
17°
70%
Humidity
Humid

Weather

87 mm
Rainfall
2.3 m/s
Wind
Calm
0.4
UV Index
Low
9.7h daylight

Nearby Attractions to Al-Qarawiyyin Mosque (Morocco)