Culture

The History of Fez Medina

212 Dailyยท June 22, 2026ยท 3 min read
The History of Fez Medina
Fez Medina, founded in the early ninth century, is one of the world's largest and best-preserved medieval Islamic cities. Home to the Al-Qarawiyyin mosque and university (founded 859), it became Morocco's spiritual and intellectual capital. The old city, Fez el-Bali, was inscribed as a UNESCO World Heritage Site in 1981.

Founding of Fez

Fez was founded by the Idrisid dynasty in the early ninth century, traditionally attributed to Idris I and his son Idris II, the latter often credited with establishing the city as a true capital. It grew on both banks of the Fez River, which provided water and power for crafts.

Early Fez received waves of migrants who shaped its character, including Arab families from Kairouan in present-day Tunisia and Andalusian refugees from Cordoba. These groups gave their names to the city's two original quarters and brought sophisticated urban and religious traditions.

Al-Qarawiyyin and a Center of Learning

In 859, Fatima al-Fihri, a woman from the Kairouan community, is credited with founding the Al-Qarawiyyin mosque, which grew into a major center of teaching. It is often cited as one of the oldest continuously operating institutions of higher learning in the world.

Al-Qarawiyyin attracted scholars from across the Islamic world and Europe, making Fez a beacon of religious, legal, and scientific study throughout the medieval period. Its library preserved manuscripts that contributed to the intellectual life of the Mediterranean.

The Marinid Golden Age

Under the Marinid dynasty in the thirteenth and fourteenth centuries, Fez reached a cultural and architectural peak. The Marinids built numerous madrasas, including the magnificent Bou Inania and Al-Attarine, lavishly decorated with zellige, carved plaster, and cedar.

The Marinids also founded Fez el-Jdid, the new city, in the late thirteenth century to house the royal palace and administration. This addition expanded the city and reinforced its role as a political as well as religious capital.

Crafts, Trade, and the Tanneries

Fez became a renowned center of craftsmanship, producing leather, ceramics, textiles, and metalwork. Its souks were organized by trade, and its artisans were celebrated throughout Morocco and beyond for their skill.

The famous tanneries of Fez, where leather is still treated using methods dating back centuries, remain among the most iconic sights of the medina. The leather trade linked Fez to markets across Africa and Europe and contributed to its lasting wealth.

Religious and Cultural Significance

Fez has long been regarded as the spiritual heart of Morocco. The shrine of Moulay Idris II, located within the medina, is an important pilgrimage site, and the city is associated with deep religious scholarship and Sufi traditions.

This reputation earned Fez a position of moral and intellectual authority that endured even as political power shifted to other cities. It remains a symbol of Moroccan identity and continuity with the country's earliest Islamic history.

From Decline to Recognition

Over later centuries, as capitals shifted and trade patterns changed, Fez's political prominence waned, though it retained its cultural standing. During the twentieth century, the growth of new districts outside the walls drew population and commerce away from the historic core.

In 1981, the medina of Fez el-Bali was inscribed as a UNESCO World Heritage Site, recognizing its exceptional preservation and historical importance. This brought renewed attention and conservation efforts to the aging city.

Fez Medina Today

Today Fez el-Bali remains a living city, home to tens of thousands of residents and a vast pedestrian network of streets, said to be among the largest car-free urban areas in the world. Artisans, traders, and families continue to inhabit its historic fabric.

Conservation projects supported by national and international bodies work to restore monuments, improve infrastructure, and balance tourism with the needs of residents. Fez stands as one of the most complete medieval Islamic cities still in everyday use.

PeriodDevelopment
Early 9th centuryFounding of Fez under the Idrisids
859Founding of the Al-Qarawiyyin mosque
13th-14th centuriesMarinid golden age and great madrasas
Late 13th centuryFounding of Fez el-Jdid
1981Medina inscribed as UNESCO World Heritage Site

Milestones in the history of Fez

FAQ

How old is the Fez medina?

Fez was founded in the early ninth century, making its medina more than 1,200 years old and one of the oldest continuously inhabited Islamic cities.

Is Al-Qarawiyyin really the oldest university?

Founded in 859, Al-Qarawiyyin is often cited as one of the oldest continuously operating institutions of higher learning in the world.

When did Fez become a UNESCO World Heritage Site?

The medina of Fez el-Bali was inscribed on the UNESCO World Heritage List in 1981, Morocco's first such designation.

โ˜…โ˜…โ˜…โ˜…โ˜…Reader reactions

Loved this? Useful? React below โ€” your feedback helps other readers.

Leave a comment โ†’

More Morocco articles โ†’ Learn Darija โ†’