Moroccan Zellij: The Art of Turning Tiny Tiles Into Centuries of History
A piece of Moroccan zellij may be smaller than a matchbox. Yet, when hundreds or thousands of these carefully cut pieces come together, they can cover the walls of a madrasa, frame a fountain or transform the courtyard of a palace.
Table Of Content
Look closely and the details become even more remarkable. The colours follow precise rules. The shapes fit together with extraordinary accuracy. Stars, polygons and interlocking lines form patterns that seem to continue beyond the edges of the wall.
This is not simply decoration. It is the result of centuries of knowledge, practice and artistic development.
Moroccan zellij has become one of the most recognisable features of the country’s architectural heritage. Its history stretches back to medieval Morocco, where successive dynasties helped turn glazed ceramic decoration into a sophisticated craft. Fez, in particular, became one of its most important centres.
And the story is written into the buildings themselves.
Before the Marinids: The Early History of Moroccan Zellij
The history of zellij did not begin in a single year. Glazed ceramics and decorative tiles existed long before the intricate mosaics found in Morocco’s historic madrasas.
A 2024 study published in CeROArt, titled Restoration of Decorative Glazed Ceramic from Morocco: Technical Replicas, traces early forms of Moroccan zellij to Almohad architecture. The Almohad dynasty ruled from the 12th to the 13th century, roughly between 1130 and 1269.
The study identifies early examples in the Marrakech region, including the Kasbah and the Koutoubia Mosque. These buildings show how glazed ceramic decoration became part of Morocco’s architectural language.
The Almohad period was important for more than its buildings. Its architects and craftsmen developed geometric decoration that later generations could expand and refine. Interlocking lines and repeated shapes became central features of the visual style.
The next major chapter came under the Marinid dynasty, which ruled Morocco from 1244 to 1465.
Art historian Ann Shafer, in her 2018 study No Man Is an Island: Globalisation and Resilience in the Fez Zillīj Tradition, makes an important distinction. She notes that architectural tile decoration appeared earlier, while zellij production in the form recognised today flourished under the Marinids.
This distinction matters. It shows that Moroccan zellij was not the product of one sudden invention. It developed through generations of craftsmanship, with the Marinid period marking a particularly important stage in its refinement.
Fez: Where the Craft Reached New Heights
To understand the history of Moroccan zellij, one must look at Fez.
The city became a major centre of religious learning, architecture and traditional craftsmanship. Its madrasas, mosques and public buildings offered artisans spaces to develop increasingly complex forms of decoration.
The Marinid rulers invested heavily in religious and educational architecture. Their madrasas combined classrooms and student accommodation with courtyards, prayer rooms and richly decorated interiors.
Zellij became an essential part of these spaces.
One of the clearest examples is the Attarine Madrasa, founded in Fez in 1323–1325 under Sultan Abu Sa’id Uthman. Its foundation inscription records the year 725 in the Islamic calendar, corresponding to 1324.
The building offers a remarkable view of Marinid decorative art. Zellij covers its floors and lower walls, while carved plaster, inscriptions and cedarwood complete the decoration.
The madrasa also gives us a sense of the scale of educational life in medieval Fez. The heritage record describes more than 30 student rooms, with accommodation for around 60 students in an earlier period.
The building was not simply a beautiful monument. It was part of a wider urban and intellectual world, and zellij helped give that world a distinctive architectural character.
Another major example followed in the middle of the 14th century: the Bou Inania Madrasa, built between 1350 and 1357.
Its decorative programme brings together zellij, carved plaster, woodwork and inscriptions. Each element contributes to a carefully organised visual composition.
A surviving zellij panel from the madrasa offers an even closer look at the work of its craftsmen. The Museum With No Frontiers’ Discover Islamic Art database dates the panel to 1351–1356. It measures 160 centimetres high and 77 centimetres long.
The panel uses geometric patterns known as testir. Craftsmen cut individual glazed pieces and fitted them together to create a larger design. The museum’s description explains that artisans memorised the proportions, dimensions and shapes needed to reproduce these patterns.
In other words, the design depended on more than a good eye. It required mathematical understanding, memory and years of practice.
A Geometry Built by Hand
One of the most fascinating aspects of Moroccan zellij is the relationship between mathematics and manual skill.
The patterns may look decorative at first glance, but their construction follows precise geometric principles. Stars, diamonds, polygons and interlocking lines depend on the careful repetition of shapes.
A 2014 scientific paper by Abdelmalek Thalal, Youssef Aboufadil and My Ahmed Elidrissi examined patterns found in the Attarine and Bou Inania madrasas. The researchers studied their geometric structure and compared aspects of the designs with the mathematical concept of quasiperiodic tiling.
The research shows that these historic patterns offer more than visual beauty. They also provide material for scientific study.
Yet the mathematics does not replace the artisan. It is the artisan who translates the design into ceramic pieces, cuts each shape and ensures that the pieces fit together.
The traditional process begins with clay. Artisans shape it into tiles, dry and fire it, then apply coloured glazes before firing it again. They cut the glazed tiles into smaller pieces using specialised tools.
The pieces are then arranged face down, often following a carefully prepared pattern. The craftsman must understand how every shape relates to the next. A mistake in one small piece can affect the larger composition.
This is why the finished surface can be so impressive. What looks like one continuous mosaic is actually the result of countless individual decisions.

From the Marinids to the Saadians: A Tradition That Continued
The Marinid period helped establish zellij as a major feature of Moroccan architecture, but the craft did not stop there.
Later dynasties continued to use and develop it. Under the Saadians, who ruled from the 16th to the 17th century, zellij appeared in some of Morocco’s most celebrated monuments.
The Saadian Tombs in Marrakech and El Badi Palace are important examples. Both feature decorative glazed ceramics that remain subjects of conservation and research.
The Ben Youssef Madrasa in Marrakech, rebuilt under the Saadian ruler Abdallah al-Ghalib, dates to 1564–1565. Its decoration reflects the continued importance of zellij in Moroccan religious and architectural spaces.
A 2024 scientific study examined historic zellij from the Saadian Tombs and El Badi Palace. Researchers used clay from the Fez region to prepare technical replicas and compare their properties with historic samples.
This research offers another important connection between past and present. The materials and techniques used by contemporary Moroccan artisans can help researchers understand and conserve historic buildings.
It also shows that zellij is not simply a style preserved behind museum glass. It remains a working craft, with practical knowledge that still matters to restoration projects today.
Fez and the Knowledge Passed Between Generations
The history of zellij is also the history of the people who make it.
In Fez, the craft has survived through workshops, master artisans and apprentices. The knowledge is not limited to written designs or historical descriptions. Much of it lives in the movements of the craftsman’s hands, the ability to judge a cut and the experience needed to recognise the right proportions.
Ann Shafer’s research is especially useful here. Her study of the Fez zellij tradition draws on interviews with craftsmen and examines how local production has responded to wider economic and cultural changes.
She describes zellij as a hallmark of Moroccan identity and highlights the resilience of the craft in the face of global influences.
That continuity is important. A historic panel in a madrasa and a modern workshop may be separated by centuries, but they share a language of materials, geometry and skilled labour.
The craft has changed with the needs of buildings and clients. Yet its central techniques and visual vocabulary remain recognisable.

A Living Heritage, Not Just a Historic Decoration
Moroccan zellij continues to appear in homes, hotels, public buildings, fountains and religious spaces. Its presence in contemporary architecture reflects the lasting appeal of a tradition that has adapted without losing its character.
The Hassan II Mosque in Casablanca offers a striking modern example. According to the Hassan II Mosque Foundation’s museum material, zellij covers more than 10,000 square metres of the complex and features around 80 different patterns.
The scale is impressive, but the deeper significance lies in the continuity. A craft refined in medieval Moroccan cities still shapes one of the country’s most recognisable modern monuments.
This is what makes zellij more than an attractive surface. It connects architecture with mathematics, local materials with artistic imagination, and historic monuments with the people who continue to make them.
Its history also deserves to be told with care. Decorative ceramic traditions developed across a wide region, and artistic exchange between Morocco and al-Andalus formed part of the wider medieval world. But Morocco’s own record is unmistakable: its historic monuments, documented workshops and generations of artisans reveal a distinct and deeply rooted tradition.
From the early architectural decoration of the Almohad period to the masterpieces of Marinid Fez, and from Saadian monuments to contemporary workshops, Moroccan zellij has accumulated centuries of history.
Each small piece carries part of that story. Together, they form something much larger: an art that has become inseparable from the architectural and cultural identity of Morocco.


