Stepping through a heavy wooden gate in the earth-yellow enclosure wall, you enter a stone-paved courtyard so bright that the eyes must narrow against the glare. Around all four sides run even arcades of horseshoe arches. At the northern end rises a plain square tower of three diminishing tiers stacked one upon another like a stone fortress. At the southern end, behind a row of tall wooden doors, lies the cool shade of the prayer hall, where hundreds of marble columns in varied hues stretch away in long perspectives.
This is the Great Mosque of Kairouan, known in Tunisia as the Mosque of Sidi Uqba (Mosquée Sidi Okba). UNESCO records that the city of Kairouan was founded in 670, served for five centuries as the capital of Ifriqiya, and stands as the premier holy city of the Maghreb. Tunisia is a country whose people are overwhelmingly Sunni Muslim, and the library selects this sanctuary as Tunisia's sole representative entry because it is the oldest standing mosque in North Africa and the prototype upon which later mosques across the region were modeled.

IThe Congregational Mosque Of The First Holy City Of The Maghreb
The formal Arabic name of the sanctuary is Jami Uqba ibn Nafi, the congregational mosque named after Uqba ibn Nafi, who founded the city of Kairouan and raised its first mosque in 670. The word jami means gathering: it designates the principal Friday mosque of a city, where the community assembles for the weekly congregational prayer and sermon. Local usage adds the honorific Sidi, meaning master or lord, before the founder's name, giving rise to the French name Mosquée Sidi Okba.
In Arabic, al-Maghreb means the place where the sun sets, referring to North Africa west of Egypt, encompassing Tunisia, Algeria, Morocco, and neighboring lands. UNESCO describes the Great Mosque as an architectural masterpiece of universal value and the model for numerous Maghrebi mosques. When you stand in the courtyard of an historic mosque in Fès or Algiers, you are standing within an architectural tradition first established at Kairouan.
The mosque belongs to Sunni Islam, the largest branch of Islam. Across North Africa, Sunni Muslims predominantly follow the Maliki school of jurisprudence, one of the four Sunni legal schools, and Kairouan was one of the earliest intellectual centers where Maliki law was taught and codified in the region. A school of law is a methodology for interpreting religious law in daily life, not a separate sect.
A mosque contains no statues and no altar. Every element inside serves communal prayer: the mihrab is the wall niche indicating the direction of Mecca, the minbar is the stepped pulpit from which the imam delivers the Friday sermon, the maqsura is the wooden screen enclosing the area near the mihrab, and the minaret is the tower from which the call to prayer is proclaimed. Kairouan preserves all four elements in remarkably early forms, making it a touchstone for the history of Islamic architecture.
The first common misconception is assuming that the stone monument standing today is the original building of 670. It is not. Encyclopædia Britannica notes that the present structure is the fifth mosque on the same site, dating from the Aghlabid period and built in stages between 836 and 866. The earliest sanctuary was small and built of mud brick, and Smarthistory records that in 836 most of the earlier fabric was demolished to rebuild the mosque in stone, brick, and timber.
The second misconception concerns the popular saying, often repeated in travel guides, that seven pilgrimages to Kairouan equal one pilgrimage to Mecca. That is a folk expression of affection for the city's sanctity, not a point of Islamic doctrine. For all Muslims, the Hajj pilgrimage to Mecca has no substitute.
Every mosque faces the Kaaba at Mecca, described in the entry on Masjid al-Haram. To see how the hypostyle tradition of the Maghreb traveled westward and across the Mediterranean, readers may consult the University of al-Qarawiyyin in Fès and the Grand Mosque of Paris in Europe, while the Persian four-iwan courtyard tradition can be compared at the Jameh Mosque of Isfahan.
IIFrom A Mud-Brick Oratory To The Aghlabid Stone Sanctuary
The history of the Great Mosque is a chronicle of rebuilding upon an unchanged sacred footprint. Three milestones stand out: 670, when the city and its first oratory were founded together, 836, when the Aghlabid prince Ziyadat Allah I rebuilt the sanctuary on its current scale, and 862, when the mihrab received the carved marble and lusterware ornament seen today. The Aghlabids were the dynasty that governed Ifriqiya during the 9th century with Kairouan as their capital.
- 670Founding of the city and first mosqueUqba ibn Nafi founded the city of Kairouan and built its original mosque, according to UNESCO and Smarthistory. The initial structure was simple in form.
- 703First reconstructionDiscover Islamic Art records that the mosque was renovated under Hasan ibn Numan in 84 AH (703 CE).
- 722 to 728EnlargementDiscover Islamic Art records a further renovation and enlargement under the governor Bishr ibn Safwan.
- 772Subsequent reconstructionDiscover Islamic Art notes that the mosque was rebuilt again in 155 AH (772 CE) under the governor Yazid ibn Hatim.
- 836Complete Aghlabid rebuildingThe Aghlabid prince Ziyadat Allah I demolished most of the earlier mud-brick structure and rebuilt the mosque in stone, brick, and wood. Discover Islamic Art records the date as 221 AH (836 CE).
- 862Mihrab and fluted domesUnder Abu Ibrahim Ahmad, the mihrab was lined with 28 pierced marble panels and surrounded by luster ceramic tiles. The fluted dome in front of the mihrab shelters the ensemble of mihrab, minbar, and maqsura that Britannica calls the oldest surviving set of its kind.
- 866Completion of the Aghlabid phasesBritannica notes that the present monument took shape in stages from 836 to 866. In the same year 866, Kairouan gained the Mosque of the Three Doors, which UNESCO identifies as the oldest known mosque with a sculpted facade.
- 1988UNESCO World Heritage SiteThe city of Kairouan together with the Great Mosque was inscribed under criteria (i), (ii), (iii), (v), and (vi).
Reference sources phrase the date 670 in slightly different ways. UNESCO gives 670 as the founding year of the city, Smarthistory gives 670 as the founding of the mosque, and Britannica states that the original mosque was built by Sidi Uqba in the 7th century. The three statements agree in substance, and the library uses 670 as in the summary table.
A point worth clarifying is the completion date. The summary table lists rebuilding in 836 and completion up to c. 866. The year 836 marks the complete rebuilding under Ziyadat Allah I according to Discover Islamic Art and Smarthistory, while 866 marks the upper bound of the Aghlabid construction campaigns according to Britannica, with the mihrab decoration of 862 falling between the two.
IIIVast Courtyard, Forest Of Columns, And Three-Tiered Minaret
The ground plan follows the hypostyle mosque tradition: a wide rectangular courtyard framed by arcaded galleries, with a deep prayer hall on its southern side whose flat timber roof rests on rows of columns. Smarthistory notes its T-plan layout: the central nave leading to the mihrab and the transverse aisle running along the qibla wall are wider than the other aisles, intersecting in the shape of the letter T. UNESCO records that the prayer hall is divided into 17 naves supported by a forest of marble and porphyry columns. Many shafts and capitals were reused from Roman and Byzantine buildings in the region, so walking down a single row reveals capitals of varied classical designs.
A massive three-story square tower standing on the northern side of the courtyard opposite the mihrab. UNESCO describes it as an imposing three-tiered square tower. Sources give slightly different height figures, listed in the table below.
Seventeen naves supported by marble and porphyry columns, according to UNESCO. The wider central nave and qibla aisle form the T-plan described by Smarthistory.
Completed in 862, lined with 28 pierced marble panels according to Discover Islamic Art, and framed by luster ceramic tiles that Smarthistory and Discover Islamic Art note came from Iraq. Above the bay rises a stone dome with 24 ribs.
A 9th-century pulpit assembled from more than 300 pieces of carved Indian teakwood with openwork geometric grilles. Both Discover Islamic Art and Smarthistory identify it as the oldest surviving wooden minbar in the Islamic world.
A carved wooden enclosure screen to the right of the minbar, adorned with foliate Kufic calligraphy dating from the reign of al-Mu'izz ibn Badis in the 11th century according to Discover Islamic Art. Britannica groups the mihrab, minbar, and maqsura together as the oldest surviving ensemble of its kind.
| Feature | Figure | Source |
|---|---|---|
| Overall dimensions of the mosque | 135 x 80 m | UNESCO |
| Overall dimensions of the mosque | 125 x 75 m | Discover Islamic Art |
| Height of the minaret | 35 m | Britannica |
| Height of the minaret | c. 32 m | Smarthistory, Discover Islamic Art |
| Naves in the prayer hall | 17 | UNESCO |
| Pierced marble panels in the mihrab | 28 | Discover Islamic Art |
| Carved teakwood pieces in the minbar | Over 300 | Discover Islamic Art, Smarthistory |
IVLandform And Orientation
Before reading the terrain, one essential principle must be stated: Islam has no feng shui and does not site mosques according to dragon veins. A mosque is bound by a single directional rule, the qibla, facing the Kaaba in Mecca. At Kairouan, the qibla wall and mihrab lie at the southern end of the enclosure, angled toward the southeast, while the minaret stands at the opposite northern end of the courtyard. Every rebuilding preserved that axis.
The paragraphs below offer a comparative reading by the library through the lens of traditional Sino-Vietnamese geomancy. No historical document of the mosque uses these concepts, nor did the builders of Kairouan think in these terms.
First is flat ground across a semi-arid plain. Kairouan sits on the low inland plain of central Tunisia, far from the sea and without a mountain backing it. When traditional Vietnamese geomancy encounters flatland without a rear hill, it looks for a structural backing instead. Here the backing is the thick, windowless qibla wall itself, while the gates and courtyard open toward the opposite side. That arrangement comes from the qibla requirement rather than geomantic siting.
Second is the straight axis from tower to mihrab. The minaret at the north, the open courtyard in the center, and the prayer hall and mihrab at the south align along a single spine. Readers familiar with traditional Vietnamese communal houses and temples, where the triple gate, courtyard, and main sanctuary follow a sacred central axis, will recognize a formal parallel, even though its meaning is entirely Islamic: here the axis links the call to prayer with the direction of prayer.
Third is water. In a dry plain, traditional geomancy prizes water above all. UNESCO records that the 9th-century Aghlabid hydraulic basins outside the city walls supplied water to Kairouan. In comparative geomantic terms, the city engineered its own water-gathering basin, though the basins were built as civil hydraulic engineering rather than feng shui.
Finally, the colors of earth and stone. The ochre-earth enclosure walls correspond to the Earth element, while the bright stone pavement and marble column shafts lean toward Metal. In five-element theory, Earth generates Metal, a harmonious pairing. The library notes this solely as a visual comparison, as the Aghlabid builders chose stone for durability and reused classical columns available in the region.
VObservances On The Hijri Calendar And Mouled Night In Kairouan
The liturgical life of the mosque follows the Islamic Hijri calendar, a purely lunar reckoning whose dates shift roughly eleven days earlier each year against the Gregorian calendar. The annual occasion that makes Kairouan famous across Tunisia is Mouled (Mawlid), celebrating the birthday of the Prophet Muhammad. The table records calendar dates only, without clock hours.
| Date | Calendar | Observance | Description |
|---|---|---|---|
| Weekly, Friday | Weekly cycle | Friday congregational prayer | Midday communal prayer with the sermon delivered from the minbar, the primary function of a jami mosque. |
| Month of Ramadan | Hijri calendar, ninth month | Month of fasting | Daytime fasting followed by nightly congregational prayers and Qur'an recitations inside the mosque. |
| 1 Shawwal | Hijri calendar | Eid al-Fitr | Festival marking the end of the Ramadan fast, with morning congregational prayer. |
| 10 Dhu al-Hijjah | Hijri calendar | Eid al-Adha | Festival of Sacrifice coinciding with the Hajj pilgrimage to Mecca, when meat is shared with those in need. |
| 12 Rabi al-Awwal | Hijri calendar | Mouled, birthday of the Prophet | The largest annual gathering in Kairouan. The Great Mosque hosts Qur'an recitations, lectures on the life of the Prophet, and devotional chants. |
According to the Anadolu Agency, during a recent Mouled season Kairouan welcomed around 150,000 to 200,000 visitors on Mouled night alone and roughly 400,000 to 500,000 over the full week, coming from across Tunisia and neighboring countries. Alongside the Great Mosque, pilgrims also visit the Mausoleum of Sidi Sahbi, the resting place of Abu Zamaa al-Balawi, a companion of the Prophet. The library has not found sources on Vietnamese community activities in Kairouan and therefore records none.
VILocation And How To Get There
- Address
- Médina de Kairouan, Kairouan, Tunisie (trong thành cổ Kairouan)
- Getting there
- The mosque stands inside the historic walled medina of Kairouan in central Tunisia. Visitors travel by road from Tunis or Sousse to Kairouan and walk through the medina to the mosque gates.
- Coordinates
- 35.6811, 10.1042
This is an active mosque used daily for worship. By long-standing custom, non-Muslim visitors are admitted into the outer courtyard and may look into the prayer hall through its open doors, without stepping inside the prayer hall itself. Dress modestly with shoulders and legs covered, and women should wear a headscarf. Do not walk in front of worshippers at prayer, and keep silence during the call to prayer. On Fridays and major festival nights, visitors not attending prayer should avoid peak worship hours.
Nearby places in the library
VIIContribute To This Page
Contribute photos, information or video for Great Mosque of Kairouan
Góp ảnh, thông tin hoặc video cho Đại thánh đường Kairouan (Uqba)Everyone is welcome to enrich this page: a photo you took, a detail the page misses, a short video. Every contribution is read and answered.
Thầy Ưng Khiêm mời cộng đồng cùng làm giàu trang này. Ảnh chụp tận nơi, một chi tiết lịch sử chưa được nhắc, một đoạn video ngắn: mọi đóng góp đều được đọc và trả lời.
No community contribution yet. You could be the first. Chưa có đóng góp nào từ cộng đồng. Bạn có thể là người đầu tiên.
?Quick Questions
When was the Great Mosque of Kairouan built
The original mosque was founded in 670 at the same time as the city of Kairouan, according to UNESCO. The monument standing today dates primarily from the Aghlabid period: Prince Ziyadat Allah I rebuilt it in stone in 836, subsequent campaigns continued up to around 866 according to Britannica, and the mihrab was completed in 862.
How tall is the minaret of the Great Mosque of Kairouan
Reference sources report slightly different heights: Encyclopædia Britannica records 35 meters, while Smarthistory and Discover Islamic Art record approximately 32 meters. Rising in three tapering square tiers on the north side of the courtyard, it is recognized as one of the oldest standing minarets in the Islamic world.
How large is the Great Mosque of Kairouan
UNESCO gives the exterior dimensions of the mosque as 135 by 80 meters, while Discover Islamic Art gives 125 by 75 meters. The library lists both figures because the sources do not specify their measurement boundaries. The southern prayer hall contains 17 naves supported by hundreds of marble and porphyry columns reused from Roman and Byzantine sites.
Why is Kairouan considered a holy city of Islam
Founded in 670 as the first Islamic city in the Maghreb, Kairouan served for five centuries as the capital of Ifriqiya and the earliest center for the teaching of Islam and Maliki jurisprudence in North Africa. UNESCO calls it the premier holy city of the Maghreb, with the Great Mosque at its heart.
Where is the oldest surviving wooden minbar in the world
The 9th-century pulpit (minbar) of the Great Mosque of Kairouan, assembled from more than 300 finely carved pieces of Indian teakwood, is identified by Discover Islamic Art and Smarthistory as the oldest surviving wooden minbar in the Islamic world. It stands immediately to the right of the mihrab for the Friday sermon.