Fatimid Architecture and Building: Mosques, Palaces, Shrines and Fortifications
Fatimid architecture took shape during the caliphate that ruled parts of North Africa from 909 CE and established its centre in Egypt after conquering the country in 969. The dynasty’s successive capitals were Mahdia and al-Mansuriyya in Ifriqiya, the region centred on present-day Tunisia, followed by Cairo from 973. Mahdia’s protected coastal position supported a naval base, while Cairo’s palaces, mosques and ceremonial streets organised a court beside the older commercial city of Fustat.
Mosques served prayer, teaching and, at times, royal ceremony; palaces accommodated the ruler and his court; shrines commemorated members of the Prophet Muhammad’s family and other revered figures; and walls and gates defended important cities. Fatimid builders drew on North African, Egyptian, Coptic, Byzantine and eastern Islamic traditions. The caliphs’ grand palaces have largely disappeared, but excavated plans, descriptions of receptions and surviving religious buildings reveal how their spaces were arranged and used.
On this page7 sections
Three capitals and changing building priorities
Mahdia, founded on the Tunisian coast by the first Fatimid caliph, Abdallah al-Mahdi, became the court’s purpose-built capital in 921, replacing Raqqada inland. Its position on a narrow peninsula shaped its defences and gave the city’s buildings a close relationship with the sea. The Great Mosque of Mahdia, begun in 916, stood near the harbour on the peninsula. Its projecting entrance survives from the Fatimid building; the northern portico belongs to an eleventh-century Zirid reconstruction. Much of the remaining mosque was rebuilt in 1961–1965.
In 946, the Fatimids began building al-Mansuriyya near Kairouan. Its circular plan placed a palace at the centre and presented the new capital as a display of authority as well as an administrative base. Archaeological evidence and accounts describe courtyards, gardens, pools and water channels. After the court moved to Egypt, the city continued as a provincial capital before it was abandoned and destroyed in 1057; later inhabitants took building materials from the site.
After the conquest of Egypt in 969, the general Jawhar al-Siqilli founded a new palace city beside Fustat. It was initially called al-Mansuriyya, like the Tunisian capital, and was renamed al-Qahira, or Cairo, after the caliph al-Mu’izz arrived in 973. The new city accommodated the ruler’s household, officials and troops, while Fustat retained its established markets and river traffic. This division gave Cairo’s palaces and principal mosques an especially close relationship with royal processions.
Mosques for prayer, teaching and ceremony
Many Fatimid mosques used a hypostyle plan: a prayer hall with rows of columns or piers supporting a roof. In a common arrangement, arcades, or covered galleries of arches, surrounded an open courtyard. The prayer hall faced the qibla, the direction of Mecca. Its mihrab, a niche marking that direction, could receive particular architectural emphasis. A wider central aisle running towards the mihrab could intersect another broad aisle along the qibla wall. Together they formed a T-shaped arrangement, giving emphasis to the approach to the prayer niche and the front of the hall. A dome above the mihrab further marked this focal point.
The Great Mosque of Mahdia combined a courtyard and arcaded prayer space with a wide aisle parallel to the qibla wall. Its single monumental entrance projected out from the building. It had no minaret, the tower from which the call to prayer is traditionally given. The early mosque at Ajdabiya, in present-day Libya, also lacked minarets. Later Fatimid mosques in both North Africa and Egypt included them, producing prominent landmarks as well as elevated positions for the call to prayer.
In Cairo, the al-Azhar Mosque was begun in 970 on the order of al-Mu’izz, with construction directed by Jawhar. Prayers began in 972. Its first form had a courtyard, arcades and a prayer hall with several domes. In 988, the vizier Ibn Killis arranged salaried teaching circles there, supporting its development as a centre for Ismaili instruction. A waqf, an endowment that provided resources for a religious institution, was established for the mosque in 1009. Later rulers altered and enlarged the building, so only parts of the original structure, including arcades and stucco decoration, remain.
Fatimid mosques also had a role in public life and royal ceremony. The caliph could appear in processions through Cairo and visit mosques and shrines, making religious buildings part of the city’s ceremonial setting. This connected the imam-caliph’s religious authority with his position as ruler. The function of a mosque therefore extended beyond its plan: its location, entrances and decorated surfaces could shape how worshippers and the court encountered it.
Palaces and the organisation of court space
The caliphs’ palaces were among the most ambitious Fatimid building projects, but Cairo’s main palace complex has disappeared. Written descriptions and archaeological evidence indicate that it included a large Eastern Palace and a smaller Western Palace, separated by a principal street. The space between them, Bayn al-Qasrayn, became a central urban square and a setting for ceremonies. Palace design thus helped organise the surrounding city as well as the ruler’s private and official life.
Descriptions of palaces in Mahdia distinguish spaces for different purposes. The Dar al-‘Amma was used for official business, while other palaces served the caliph and his heir. A reception hall beside the harbour hosted occasions connected with the Fatimid navy. The southern palace’s remains suggest a large courtyard and a reception hall divided into three long sections by rows of supports. A recessed space at one end may have held the heir’s throne. These arrangements channelled visitors towards a ruler or representative and made formal reception part of the architecture.
At al-Mansuriyya, water was a conspicuous feature of palace settings. Excavated remains include a large pool in a courtyard, while written accounts describe a palace facing a pool with another structure reached by a footbridge. Water could contribute to the appearance and atmosphere of a courtly space as well as signal the resources available to its patron. Archaeologists have also found fragments of very large columns at the site. A contemporary account says that al-Mu’izz ordered antique columns brought from Sousse for a new great hall, linking the remains with the reuse and transport of earlier building material.
At ‘Ashir, in the mountains of present-day Algeria, the palace associated with the tenth-century Berber leader Ziri ibn Manad had a stone-built courtyard and a formal reception area. Ziri was a Fatimid ally, and the building belonged to a regional centre of power. Its planned approach and symmetrical arrangement connected local authority with the courtly architecture developing elsewhere in the western Islamic world.
Building materials, arches and decoration
Builders selected materials according to local resources and the building’s purpose. The palaces and mosques at Mahdia made use of locally available limestone. In Egypt, brick was used in many early Fatimid buildings, while stone gradually became a more prominent material from the twelfth century. Badr al-Jamali, vizier from 1074 to 1094, favoured stone for major works in Cairo, including the monumental gates in the city’s enlarged defensive circuit. Reused columns and capitals also brought elements of earlier buildings into some mosques and palaces.
Arches both carried roofs and shaped the appearance of interiors and façades. The four-centred keel arch, with a pointed outline formed by several curves, became a distinctive Fatimid feature. In mosques, arches could rest on columns with carved capitals or on brick piers. Builders also used squinches, structures placed across the corners of a square room to support a dome above it. More elaborate muqarnas squinches used tiers of small recessed forms to make the transition from a square base to a dome visually complex.
Carved stucco, a plaster used for ornament, together with wood and stone gave structural features an additional decorative role. Arches might be edged with bands of Arabic inscription, often in Kufic script, an angular style of Arabic lettering. Floral and geometric patterns, arabesques made from intertwining plant forms, and fluted niches appeared on façades and inside buildings. In a fluted niche, ridges spread out from a central point, making a shallow wall feature resemble an arch or shell. Fatimid decoration drew on Abbasid, Byzantine and Coptic examples but was adapted to the shape and position of the surface being ornamented. In religious buildings, inscriptions and abstract motifs framed prayer niches and entrances. Carved wooden panels associated with court furnishings also depict animals and human activities, including hunting and musical entertainment.
One example of how architectural demands could shape a façade is the al-Aqmar Mosque, built in Cairo in 1125–1126. Its interior was aligned towards Mecca, while its decorated exterior followed the line of the street. The difference between those alignments required the architects to handle the junction between the two with care. The façade’s inscriptions and carved forms therefore served both as ornament and as a carefully composed public face. The building has since undergone major restoration, and its minaret is an addition from the Mamluk dynasty, which ruled Egypt after the Ayyubids.
Shrines and commemorative buildings
A mashhad is a shrine commemorating a revered person, including a descendant of the Prophet Muhammad. It did not necessarily mark the person’s burial place. The Sayyida Ruqayya shrine, built in Cairo in 1133, commemorated a daughter of Ali, Muhammad’s cousin and son-in-law, who was not known to have visited Egypt. Its prayer niches and domed chamber provided a place for devotion to a member of the Prophet’s family.
Many shrines had a square chamber covered by a dome. Some included a courtyard or a small prayer hall, and their interiors could give particular attention to the mihrab. The Mashhad al-Juyushi, completed in 1085, has a prayer hall with cross-vaulted sections and a dome on squinches over the space before the mihrab. Its exact commemorative purpose is uncertain, although one proposed interpretation connects it with the victories of Badr al-Jamali. A band of muqarnas at the top of its square minaret shaft is an early surviving example of this form in Egypt.
Fatimid rulers and their families also established tombs and shrines, but many were later destroyed or extensively altered. In the late eleventh century and under the caliph al-Hafiz, some building and rebuilding projects honoured notable women in Shi’i history. Such monuments gave religious memory a place in the city while allowing patrons to express devotion and dynastic identity through architecture.
City walls, gates and the movement of builders
Mahdia’s defences took advantage of its narrow coastal peninsula. A thick stone wall protected the land approach, and the entrance known as Skifa al-Kahla led through a long, vaulted passage defended by flanking bastions. Walls and towers also followed the shore, with a protected entrance to the harbour. The existing gate has undergone alteration, so the extent to which its present form matches the original Fatimid construction is uncertain.
In Cairo, Badr al-Jamali ordered new city walls and monumental gates in the late eleventh century. Bab al-Nasr and Bab al-Futuh were built in 1087, and Bab Zuweila in 1092. Their stone towers and vaulted passages were designed as parts of a defensive boundary as well as important entrances to the city. Pendentives, curved structural surfaces that help carry a dome above a square space, support domes over parts of the gate passages. The gates have been altered over the centuries; the minarets now above Bab Zuweila, for example, were added in the Mamluk period.
These Cairo works also show how architectural knowledge moved across regions. Accounts associate Badr al-Jamali’s building projects with Armenian and Syrian workers, while the gates’ design has been linked to Byzantine and Syrian traditions. Some accounts credit three Christian monks who had fled Edessa with building the gates, but the precise attribution is uncertain. More broadly, architects and builders from northern Syria and Mesopotamia contributed to work in Fatimid territories. The stone construction and vaulted passages belonged to a network of building practices shared across these regions.
Connections also extended to Norman Sicily. The twelfth-century Cappella Palatina in Palermo has a painted muqarnas ceiling that includes figures. Its decoration is generally understood to reflect techniques and styles associated with the Fatimid court. Built for the Norman kings of Sicily, the chapel brought that courtly imagery into a Christian royal setting.
Surviving fabric and later rebuilding
Later work has changed the appearance of several major monuments. At Mahdia, the monumental Fatimid entrance and Zirid northern portico stand within a mosque largely reconstructed in the twentieth century. Al-Azhar’s additions include later minarets and enlarged prayer areas, while parts of its early arcades and stucco decoration remain within the expanded complex.
The al-Hakim Mosque, begun in 990 and completed in 1013, originally stood beyond Cairo’s northern boundary. Badr al-Jamali’s enlarged circuit incorporated its northern side and minaret in 1087. The upper parts of the minarets were rebuilt after the earthquake of 1303, and the modern prayer niche was installed during the extensive restoration of 1980, using Fatimid decoration at al-Azhar as a model.
At al-Aqmar, the preserved northern portion of the street façade supplied the design for the reconstructed southern portion in 1993. The building’s original arrangement still explains its solution to a practical problem: worshippers faced Mecca inside, while the entrance and decorated wall followed the street outside.