Discovering...
Discovering...

The Marinids ruled Morocco for two centuries and left behind every madrasa, mausoleum, and carved courtyard that tourists photograph today. This is the history behind those walls.
Leila Tazi· Fes, Culture & Cuisine Editor
Fes-based journalist with a food and crafts obsession, Leila spends her weeks between the tanneries, the Qarawiyyin quarter and the kitchens of the old city. She covers Fes, Meknes, food and Moroccan culture. Fes · 11+ years covering Morocco
Published 25 November 2025 Last updated 18 May 2026
Most visitors to Fes know two things: the medina is a UNESCO World Heritage Site, and it feels genuinely medieval. What fewer realise is that the medieval part is almost entirely Marinid. The Bou Inania Madrasa, the Attarine Madrasa, the Saffarin fountain, the narrow lanes of the suq al-Qaysariyya — all of it traces back to a single Berber dynasty that ruled Morocco from 1244 to 1465.
The Marinids were an unlikely candidate for city-builders. They started as Zenata Berber cavalry from the eastern plains, without urban roots or caliphal bloodlines. To compensate, they built obsessively: madrasas to attract scholars, mosques to demonstrate piety, and palaces to project power. In doing so they turned Fes into one of the great cities of the medieval Islamic world — a place that Ibn Battuta visited and found impressive, and that Leo Africanus described in the 16th century as more populous than any city in Europe.
Understanding who the Marinids were — and why they built what they built — changes how you walk through Fes. The carved stucco stops being decoration and becomes a statement of legitimacy. The madrasas stop being ruins and become a calculated programme of religious patronage. Below is the context that most guided tours don’t have time to give you.
The Marinid arc from steppe warriors to dynasty-builders to slow collapse took roughly 250 years.
c. 1215–1244
The Marinids were a Zenata Berber confederation from the plains east of the Middle Atlas. They had no urban tradition and no caliphal legitimacy, but they were skilled cavalry fighters who began raiding Almohad territory in the early 13th century. By 1244 they controlled Fes.
1244–1331
Abu Yusuf Yaqub (r. 1258–1286) established the Marinid capital at Fes el-Jdid — the "New Fes" — just west of the ancient medina. He built a royal palace, the Grand Mosque of Fes el-Jdid (1276), and founded a Jewish quarter, the Mellah. His successors pushed into Andalusia and corresponded with the Nasrid kings of Granada.
1331–1358
Abu al-Hasan Ali (r. 1331–1351) and his son Abu Inan Faris (r. 1351–1358) represent the Marinid zenith. Abu al-Hasan built the Chellah necropolis in Rabat and the great madrasa in Salé. Abu Inan built the Bou Inania Madrasa in Fes — arguably the most architecturally accomplished building in Morocco — and the medersa that bears his name in Meknes. He also reinstated the Friday khutba in his own name, briefly claiming the caliphate.
1358–1465
Abu Inan was strangled by a vizier in 1358 and the dynasty never recovered. Power fragmented between the court, powerful viziers, and Wattasid regents. The Portuguese seized Ceuta in 1415 and threatened the Atlantic coast. The last Marinid sultan was deposed in 1465 by a popular revolt that handed power to the Wattasids, a Marinid client clan.
The Marinids had a legitimacy problem. Unlike the Idrisids before them or the Saadians after, they could claim no descent from the Prophet and no tradition of religious scholarship. What they could do was fund institutions where scholars studied and debated — and in doing so, draw those scholars into political alignment with the court.
A Marinid madrasa was essentially a residential college built adjacent to a congregational mosque. Students came from across the Islamic world — Andalusia, sub-Saharan Africa, Egypt, Persia — and lived in cells around a central courtyard while studying Quran, jurisprudence, grammar, and mathematics. The sultan paid for the building, funded stipends, and in return gained the endorsement of the religious establishment.
This explains the extraordinary concentration of madrasa-building in 14th-century Fes. Within a few decades the Marinids built the Attarine (1323), the Mesbahiya (1346), the Saffarin (c. 1271), the Cherratine (1670, though reconstructed), and the Bou Inania (c. 1351–1356). Each was endowed with waqf (religious endowment) income from suq rents, ensuring maintenance independent of future royal favour.

Marinid craftsmen combined zellige tilework, carved stucco, and cedar wood in a single compositional scheme that later dynasties imitated but never quite matched.
Five monuments that reward a visit, with practical notes on access and admission.
| Monument | Built | Location | Notes |
|---|---|---|---|
| Bou Inania Madrasa | c. 1351–1356 | Talaa Kebira street, Fes el-Bali | The only madrasa in Fes still used as an active mosque. Its courtyard combines cedar wood carving, stucco filigree, and zellige tilework at a scale no later ruler equalled. Admission ~30 MAD. |
| Attarine Madrasa | 1323 | Adjacent to the Qarawiyyin, Fes el-Bali | Built by Abu Said Uthman II. Named for the spice market beside it. The upper gallery overlooking the courtyard is one of the most-photographed Moroccan interiors. |
| Marinid Tombs (Merenid Tombs) | 14th century | North Hill above Fes el-Bali | Ruined Marinid royal mausoleums that now serve as the best panoramic viewpoint over Fes. Free to visit, best at dawn or dusk. The tombs themselves are largely open shells. |
| Chellah Necropolis, Rabat | 1339 | South of Rabat city centre | Built by Abu al-Hasan Ali over a Roman-era Phoenician site. Gardens, storks, and crumbling Marinid funerary towers. Admission ~70 MAD. |
| Grand Mosque of Fes el-Jdid | 1276 | Fes el-Jdid (New Fes) | The founding structure of the new royal city. Non-Muslims cannot enter, but the exterior minaret and street view give a sense of scale. |
Admission prices indicative as of 2025–2026; verify locally. Most madrasas are open daily 09:00–17:00.
Fes has two founding communities that predate the Marinids entirely: the Qarawiyyins, families from Kairouan who settled in the east bank in the 9th century, and the Andalusians, refugees from Córdoba who settled the west bank. But it was under the Marinids — and particularly after the fall of Seville in 1248, Córdoba in 1236, and eventually Granada in 1492 — that successive waves of Andalusian migrants reshaped Fes permanently.
These refugees brought tile-setting techniques, timber-joinery skills, musical traditions, and a taste for the polished courtyard architecture that had evolved in al-Andalus over five centuries. The Marinid sultans actively recruited Andalusian craftsmen for their building projects — which is why the carved plasterwork in the Bou Inania Madrasa looks, in certain lights, almost interchangeable with the Alhambra. The two traditions were feeding each other in real time.
This cross-pollination explains what scholars call the Hispano-Mauresque style: the specific combination of geometric zellige tilework on the lower walls, carved stucco arabesque in the middle zone, and elaborate cedar wood screens at the top — a three-register system that became the signature of Marinid civic architecture and was still being replicated in Fassi buildings six centuries later.
Major madrasas built
6+
Dynasty duration
~220 years
Peak city population (est.)
100,000+
The core Marinid circuit in Fes el-Bali — Bou Inania Madrasa, Attarine Madrasa, and the tanneries overlooks that sit amid medieval suqs — can be walked in a half-day if you know where you are going. The medina’s organic layout means "knowing where you are going" is the non-trivial part.
The Bou Inania is on Talaa Kebira, the main thoroughfare descending into the medina from Bab Bou Jeloud, and is easy to find independently (about 200 m from the gate). The Attarine is harder — it sits behind the Qarawiyyin mosque in a warren of lanes best reached with a guide or a reliable offline map. Expect to spend 30–40 minutes inside each madrasa if you read the inscriptions rather than just photograph the courtyard.
The Marinid Tombs overlook the medina from the north ridge. The walk up from Bab Guissa takes about 15–20 minutes on a paved road, or you can take a petit taxi to the top. Bring water. Sunset here — with the medina’s minarets beginning their call-to-prayer sequence below you — is one of the better free experiences in Morocco.
A private guided tour is the most efficient way to connect the monuments into a coherent narrative. A good guide who specialises in Fes history will show you inscriptions you would walk past and explain why the calligraphic bands in each madrasa quote specific Quranic verses chosen to assert Marinid legitimacy. Indicative cost for a half-day private history walk in Fes: from around 400–600 MAD for a licensed local guide, or bundled into a private day excursion from a tour operator.
The Marinids (also spelled Merinids) were a Zenata Berber dynasty that ruled Morocco from roughly 1244 to 1465. They emerged from the semi-nomadic tribes of the eastern plains and, lacking religious credentials, compensated by pouring wealth into madrasas, mosques, and palatial complexes — particularly in Fes, their chosen capital. At their peak, they controlled Morocco, parts of western Algeria, and briefly held territories in Andalusia.
The Marinids are responsible for the majority of Fes's most celebrated monuments. They founded Fes el-Jdid (the royal city to the west of the old medina) in the 1270s and over the following century built the Bou Inania Madrasa, the Attarine Madrasa, the Saffarin Madrasa, the Cherratine Madrasa, and several funduqs (merchants' inns). They also endowed the Qarawiyyin university — the world's oldest continually operating university — with funds and libraries, though the mosque itself predates them by four centuries.
The formal end came in 1465, when the last Marinid sultan, Abd al-Haqq II, was killed in a popular uprising in Fes. He had made the fatal mistake of executing the leader of the Jewish Mellah during Ramadan, triggering riots. Power passed to the Wattasids, a Marinid client family who had effectively governed as regents for decades. The Wattasids themselves fell to the Saadian dynasty in 1554.
Several factors converged. The Marinid sultans, lacking the Arab lineage of earlier dynasties, sought legitimacy through religious patronage on a spectacular scale — funding dozens of madrasas that attracted scholars from across the Islamic world. At the same time, the fall of Andalusia brought waves of refugees from Córdoba, Seville, and Granada to Fes, bringing artisan traditions, wealth, and intellectual culture. The city's population swelled and its suqs, tanneries, and dyeing quarters reached a complexity visible to this day.
"Marinid" and "Merinid" are two English transliterations of the same Arabic name (المرينيون, al-Marīniyyūn). French colonial scholarship favoured "Mérinide," which became "Merinid" in English texts. Contemporary anglophone academic history increasingly uses "Marinid." Both refer to the same dynasty. In Fes itself, the hilltop tombs above the medina are commonly signposted as "Merenid Tombs" — a third variant you'll encounter on the ground.
Yes, primarily for the panoramic view rather than the ruins themselves. The tombs on the north ridge above Fes el-Bali are largely open shells — the carved stonework has weathered badly — but the vantage point over the medina is unmatched, especially at sunset when the Qarawiyyin minaret catches the light. Entry is free. Factor in about 20 minutes to walk up from the northern medina gate, or ask your driver to drop you at the plateau. The nearby Borj Nord fortress (now a weapons museum) is worth combining.
If time is short, the Bou Inania Madrasa covers more Marinid design vocabulary in one space than anywhere else in Morocco: its zellige dado, carved plaster arabesque, and tiered cedar wood screens represent the dynasty's full architectural language. Allow 45–60 minutes. The Attarine Madrasa adds a different scale and the pleasure of its location beside the Qarawiyyin. Both together, with a good guide who can contextualise the inscriptions, make a half-day well spent.
Plan it with a local expert
Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.
from $2,054Essential Morocco: Imperial Cities Circuit
from $5,978Sahara to Sea: Morocco Complete
Everything you need to plan a visit to the medina, from neighbourhoods to logistics.
The 1,000-year craft tradition the Marinids perfected — how it is made and where to see it.
From the Idrisids to independence — the full arc of Moroccan dynastic history.