Great Mosque of Qayrawan

جامع القيروان

Qayrawan

The Great Mosque of Qayrawan stands on the Great Market amid the markets; al-Muqaddasi saw it around 375 AH and counted it larger than Ibn Tulun's mosque, with marble columns and paving and lead gutters, and several named gates 1. The Encyclopaedia of Islam calls it the oldest religious building of the Muslim West and lists its works: renovation by Hassan ibn al-Nu'man, reconstruction by Yazid ibn Hatim in 157 AH, demolition and rebuilding by Ziyadat Allah I in 221 AH on the qibla line drawn by Uqba ibn Nafi, enlargement by Abu Ibrahim Ahmad in 248 AH, the present maqsura given by al-Mu'izz ibn Badis, and a last restoration in 1970-2.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Era
The Umayyad Period
Region
Maghreb
Identifiers
ArchNetteiWikidata

In time

660670680
The Rashidun Caliphate · The Umayyad Period

In space

Qayrawan

Map: Natural Earth, public domain · places and route from the graph

Images

A large walled mosque of ochre stone seen from above one corner: a massive square minaret in three tiers on the left, long walls with heavy buttresses, an arcaded courtyard and small ribbed domes, under a hazy sky; parasols stand in the street below.
weetoon66, File:Grande Mosquée de Kairouan, vue d'ensemble.jpg, 15 April 2010; CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/); Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Grande_Mosqu%C3%A9e_de_Kairouan%2C_vue_d%27ensemble.jpg. Note: first published on Flickr. Shown from its Commons address, unmodified; no endorsement by the author is implied. · Licence: CC-BY-SA · Media record

Overview

The great mosque of al-Qayrawan stands on a site called the Great Market, in the middle of the markets, in the city of al-Qayrawan. 1 The Encyclopaedia of Islam calls it the oldest and most prestigious religious building of the Muslim West. It says that the mosque took the form and proportions it has today in the 3rd/9th century, apart from a few details, and that later work of restoration and decoration did not change its general appearance. 2 This page follows the building itself. The history of the city around it is told on the page for al-Qayrawan.

Al-Maqdisi's description

Al-Maqdisi saw it around 375 AH and counted it larger than the mosque of Ibn Tulun. 1

Its columns are of marble, its floor is paved with marble, its courtyard is of marble, and its gutters are of lead. 1

It has doors, among them the Gate of the Market, the Gate of the Money-changers, the Gate of the Pilgrims, the Gate of the Idlers, the Gate of the Minaret, the Gate of the Dyers, the Gate of the Disciples, the Gate of the Thursday Market, the Gate of the Ablutions and the Gate of the Elite. 1

Founding

The museum's data says that Uqba ibn Nafi founded it along with the laying out of al-Qayrawan, that the Aghlabids rebuilt it, and it dates its founding to about 670 CE. This date needs an additional source.

The Encyclopaedia of Islam agrees on the order of the work. It says that Uqba began by marking out the site for the Great Mosque and for the government house, and only then divided the land around them among the tribes, as had been done at Basra and Kufa. It adds that no precise information survives on how this was done. 3 In its account of the foundation, the sources describe Uqba building a mosque and a government house facing each other and spending his first five years as governor watching over the work. 4

The article also notes that the first builders re-used materials found abandoned on the site, and that during restoration work in 1969 to 1972 more of these materials were discovered, among them some items in the foundations of the Great Mosque. 4

The stages of rebuilding in the Encyclopaedia of Islam

The article gives a short sequence of works. Hassan ibn al-Nu'man, the Umayyad commander, renovated the mosque. 2 The text for the following enlargement is too damaged in the scan to be read with confidence, so it is not reported here. The article then says that the mosque was probably given its present minaret in the reign of Hisham ibn Abd al-Malik, and that Yazid ibn Hatim reconstructed it in 157/774. 2

In 221/836 the Aghlabid Ziyadat Allah I had the building completely demolished and rebuilt, though the article thinks he probably kept the minaret. 2 In 248/862-3 the Aghlabid Abu Ibrahim Ahmad enlarged and embellished it again. 2 From that moment, the article says, the work of restoration and decoration changed nothing of its general appearance. 2 The Aghlabid period is the subject of the page for the Aghlabid emirate.

The line of the qibla wall

When Ziyadat Allah I rebuilt the mosque, the article says, he respected the outline of the qibla wall that Uqba had drawn, even though that wall was badly oriented and deviated 31 degrees towards the south. 2 The article does not discuss the reason for the deviation or how the early builders judged the direction. It records only that the earliest line was kept through the later reconstructions.

Later patrons and restorations

The Zirid al-Mu'izz ibn Badis, who ruled from 407 to 474 AH, 1016 to 1062 CE, gave the mosque its present maqsura, replacing the maqsura of the Aghlabids, and the article links this work with the making of a library. 2 The Zirids are covered on the page for the Zirid dynasty. Other restoration and decoration was carried out under the Hafsids and in the 17th, 18th and 19th centuries, and the last restoration dates from 1970 to 1972. 2

Minaret and phases, in Newcomb

Rexford Newcomb describes the minaret as a sturdy crenellated tower about 35 feet square and 85 feet high, topped by a smaller square stage and a cube-like cupola with a melon dome; he quotes Rivoira that it is the oldest minaret still standing, and holds that the plain square minarets of the Maghreb stand closest in idea to the first minarets. 5 6 Following Rivoira he summarises its phases: founded by Uqba ibn Nafi, rebuilt by Hassan, pulled down and rebuilt by Hisham at the request of Bishr, governor of Kairouan, restored again under Yazid, then razed and rebuilt by Ziyadat Allah I, whose building essentially survives, with the dome over the mihrab and a front portico added by Ibrahim II. 7 Newcomb's list and the list in the Encyclopaedia agree on the main builders, although they differ in detail, for example in what they say about the work of Hisham.

The mihrab tiles

Newcomb cites Rivoira that when the dome was built the mihrab wall was faced with metallic lustre tiles brought from Baghdad, and Migeon that a tradition resting on Arab authors credits an Aghlabid ruler with bringing these tiles, and plane-tree wood for the minbar, from Baghdad; Migeon urged that they be examined against pieces of probable Mesopotamian origin. Either way they attest lustre tiles in Tunisia by the ninth century. 7 8

The mosque in the life of the city

The article uses the mosque as a fixed point for the size and fate of the city. It reports that al-Bakri placed the main street along the east side of the Great Mosque, and measured it from a point in the south to the Tunis Gate at a little under 4 km. The article draws from this an idea of the extent of the town in the Aghlabid age. 2 It adds that wells and cisterns were provided at almost all the mosques and houses, as part of the water works for which the Aghlabids were known. 9

The Banu Hilal pillaged the city from 1 Ramadan 449/1 November 1057. The article says that ten years later only a makeshift wall surrounded the Great Mosque and what remained of the western quarter. This wall followed roughly the line of the present one and was a little over 3 km long. 10 In 1701, according to the article, the inhabitants were ordered to carry out a destruction in which only the mosques and the zawiyas were spared. The ruler who gave the order was assassinated, and in 1703 the people were allowed to resettle the town and rebuild its ruins. 3

In June 1881, shortly before the French protectorate was set up, a conference held in the Great Mosque brought together the representatives of several tribes, who decided to intervene on the side of the Pasha of Tripoli. The article records that nothing came of it and the town was occupied without resistance on 26 October 1881. 3

Connections

Explore the connections

Located in
Qayrawan
Depicted in
Great Mosque of Qayrawan: general view
Mentioned in
The Decorative Tiles of North Africa

People and things also explored

Great Mosque of Tlemcen· Mausoleum of Moulay Ismail· How Arabic spread after the conquests· The Arabisation of the Maghrib· Zellij (Maghrebi tile mosaic)· Battle of al-Musalla· Battle of Al-Qarn (1160)· Battle of Fajj al-Naam (1318)

Sources

  1. Ahsan al-Taqasim fi Ma'rifat al-Aqalim of al-Muqaddasi , pp. 180-181
  2. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 4 p. 867
  3. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 4 p. 866
  4. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 4 p. 864
  5. Rexford Newcomb, The Decorative Tiles of North Africa (New York, 1929) , p.16
  6. Rexford Newcomb, The Decorative Tiles of North Africa (New York, 1929) , p.17
  7. Rexford Newcomb, The Decorative Tiles of North Africa (New York, 1929) , p.18
  8. Rexford Newcomb, The Decorative Tiles of North Africa (New York, 1929) , p.19
  9. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 4 p. 865
  10. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 4 p. 868
  • Thesaurus d'Epigraphie Islamique (University of Liege / Fondation Max van Berchem)
  • Archnet (Aga Khan Trust for Culture / MIT Aga Khan Documentation Center)
Cite this page

islam.museum contributors. “Great Mosque of Qayrawan”. islam.museum, https://islam.museum/en/building/jami-qayrawan/. CC BY-SA 4.0. Last updated 2026-11-22.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Objects

Manuscripts, art, architecture and relics from collections worldwide.
Related

Great Mosque of Tlemcen

The Great Mosque of Tlemcen, dated by Newcomb to 1136, whose 112-foot brick minaret is cased in faience mosaic and whose court holds an Algerian onyx fountain.