• About Us
  • Readers Write
Carthage Magazine
The Authentic Tunisian Cookbook — sixty traditional recipes from the heart of North Africa. $9.99 Get the cookbook→
  • Home
  • Food
  • Culture
  • Travel
  • News
  • Editors’ Picks
  • Shop
Editors' PicksTravel

Great Mosque of Kairouan: Islam’s Fourth Holiest Site, Explained

By Editorial Staff November 7, 2026
By Editorial Staff November 7, 2026
The Great Mosque of Kairouan
28.6K

The first thing you notice is the silence. Kairouan’s medina is as loud as any in Tunisia, but the Great Mosque sits at its northern edge behind two metres of buttressed wall, and once you are through the gate the city stops. What’s left is a courtyard the size of a football pitch, paved in pale marble that throws the light back at you, a three-storey minaret that has been standing since the ninth century, and, through the open doors on the far side, a forest of columns disappearing into the dark. Some of those columns held up temples in Carthage. The building they hold up now has been a mosque for thirteen and a half centuries.

This is the guide to the mosque itself. For the city around it, the medina, the carpets, the Barber’s Mosque and where to sleep, see our Kairouan travel guide.

The Short Answer

The Great Mosque of Kairouan, also called the Mosque of Uqba after its founder, is the oldest mosque in the Maghreb and the model for almost every mosque built in North Africa afterwards. Founded in 670 and rebuilt in its present form by the Aghlabid emirs in 836, it holds the oldest surviving minaret in the Islamic world, the oldest wooden minbar, and the oldest maqsura.

It is popularly called the fourth holiest site in Islam, after Mecca, Medina and Jerusalem. Non-Muslim visitors may enter the courtyard and look into the prayer hall from its doors, on a 12-dinar combined ticket, between about 8 am and 2 pm.

Why “Fourth Holiest”?

The phrase is on every brochure, so it is worth being precise about it. There is no official ranking of holy sites in Islam; the three sanctuaries, Mecca, Medina and al-Aqsa in Jerusalem, are the ones Islamic law recognises. Kairouan’s claim is a popular and regional one, rooted in the city’s role as the first Muslim capital of the Maghreb and the place from which Islam spread west and south across Africa, and in the saying, repeated for centuries, that seven pilgrimages to Kairouan equal one hajj to Mecca.

That saying is folk piety rather than doctrine, and any imam will tell you so. But it reflects something real: for a thousand years, when Mecca was a journey of months across the desert, Kairouan was the holy city that ordinary Tunisians, Algerians and Libyans could actually reach, and the devotion attached to it is not diminished by the lack of a ruling. The city’s annual Mouled celebrations, the largest in the country, are the place to see that devotion in full voice.

The Great Mosque, also known as the Mosque of Uqba
KAIROUAN, TUNISIA- MARCH 16, 2017. The Great Mosque, also known as the Mosque of Uqba, is one of the most important mosques in Tunisia, situated in the UNESCO World Heritage town of Kairouan. Photo by Anibal Trejo.

A Short History

Uqba ibn Nafi, the Umayyad general who led the Arab armies into the Maghreb, founded Kairouan in 670 as a garrison camp on the steppe, deliberately far from the Byzantine coast, and laid out a mosque at its centre. Nothing of that building survives. It was rebuilt in 703 under Hassan ibn al-Nu’man, enlarged in 774 by the Abbasid governor Yazid ibn Hatim, and then, in 836, Ziyadat Allah I, third emir of the Aghlabid dynasty that ruled Tunisia from Kairouan, demolished all of it except the mihrab and raised the mosque you see today.

His successor Abu Ibrahim Ahmad finished the job in 862–863, adding the dome over the mihrab, the carved marble panels and the lustre tiles that frame it, and the teak minbar. The Zirids added the carved wooden maqsura in the eleventh century. After that, the mosque’s story is one of survival: the Hilalian sack of Kairouan in 1057, Ottoman and Husaynid repairs, a major restoration under the French protectorate and another in the 1960s.

The columns and the courtyard have not moved in eleven centuries. UNESCO inscribed the whole medina of Kairouan in 1988, with the mosque as its centrepiece; the full list of Tunisia’s World Heritage Sites explains how it sits beside Carthage and Dougga.

The Great Mosque, also known as the Mosque of Uqba
KAIROUAN, TUNISIA- MARCH 16, 2017. The Great Mosque, also known as the Mosque of Uqba, is one of the most important mosques in Tunisia, situated in the UNESCO World Heritage town of Kairouan. Photo by Anibal Trejo.

What You Are Looking At

The mosque is an irregular quadrilateral of about 9,000 square metres, enclosed by thick buttressed walls that make it look, from outside, more like a fortress than a sanctuary. That was the point: on the steppe, it was one.

The courtyard. Roughly 67 by 52 metres, surrounded on all four sides by porticoes of arches on reused columns. The marble paving slopes almost imperceptibly to a central drain, carved with a filter to catch dust, that fed rainwater into cisterns below; in a city with no river, the mosque was also the waterworks. Two sundials on the courtyard once set the prayer times for the whole city.

The minaret. On the north wall, opposite the prayer hall: 31.5 metres high, three tapering storeys of stone, the lower one built partly of Roman blocks with their Latin inscriptions still legible. Its base is usually dated to 728–729 and its upper storeys to the Aghlabid rebuild, which makes it the oldest minaret standing anywhere and the ancestor of every square-towered minaret in the Maghreb and Andalusia. It is thought to echo the Roman lighthouse at Salakta down the coast. It is not open to visitors.

The prayer hall. Through the carved wooden doors, 17 aisles run toward the qibla wall, held up by 414 columns of marble, granite and porphyry, no two quite alike. They came from the ruined cities of Roman Africa, Carthage and Hadrumetum and Sbeitla among them, which is why a column from a Carthaginian temple stands next to one from a Byzantine church. Two domes mark the central aisle: one over the entrance, one over the mihrab.

The mihrab. The prayer niche is the mosque’s treasure: a horseshoe arch lined with 28 panels of white marble carved in openwork vine and shell patterns, surrounded by about 130 lustre-glazed tiles with floral and geometric motifs, brought from Baghdad or made by Abbasid craftsmen in Kairouan around 862. They are the oldest lustre tiles in the Islamic world in their original setting.

The minbar. Beside the mihrab, the pulpit: eleven steps of Indian teak, carved into some 300 panels of vines, pine cones and geometric interlace, made around 862 and never moved. It is the oldest surviving minbar anywhere, and one of the finest pieces of wood carving in the Islamic world.

The maqsura. The carved wooden screen enclosing the space beside the minbar, where the ruler prayed apart from the crowd, was made for the Zirid emir al-Mu’izz ibn Badis in the 1020s. It, too, is the oldest of its kind.

Non-Muslims can see all of this from the doorways; the hall is deep and the light inside is low, so bring the long lens or wait for the moment the sun comes through the open doors.

Interior view of the hypostyle prayer hall in the Mosque of Kairouan. Photo by Dennis Jarvis.
Interior view of the hypostyle prayer hall in the Mosque of Kairouan. Photo by Dennis Jarvis.

Visiting the Great Mosque

Tickets. Entry is on the Kairouan combined ticket, the billet groupé, about 12 dinars for foreign visitors, which also covers the Aghlabid Basins, the Zawiya of Sidi Sahbi (the Barber’s Mosque) and the Bir Barouta well. Buy it at the mosque or at the Basins; cash only, and keep it, because each site stamps it. A small camera fee is sometimes asked.

Hours. Roughly 8 am to 2 pm, opening at 7:30 in summer; on Fridays tourist visits end at noon for the midday prayer; during Ramadan 8 am to 2 pm. The hours are short and the tour buses from Sousse and Hammamet arrive between ten and noon, so the first hour after opening is the one to aim for. Non-Muslims may not enter during prayer times or on the major holidays.

Access. Visitors enter the courtyard and the porticoes and may look into the prayer hall from its open doors, but not go in. This is the standard arrangement in Tunisia, not a slight, and the staff are used to visitors; the religion in Tunisia guide explains the broader etiquette.

Dress. Shoulders and knees covered for everyone; a scarf for women is appreciated but not required in the courtyard. Robes are lent at the gate to anyone who arrives in shorts. Shoes stay on in the courtyard.

Getting there. Kairouan is 155 kilometres from Tunis, two and a half hours by car or louage; the Tunis to Kairouan route page compares the options. From Sousse it is an hour, and the mosque is the centrepiece of every day trip from Sousse and from Hammamet, usually paired with El Jem. The mosque is at the northern edge of the medina, a ten-minute walk from the Bab Tunis gate; a taxi from the louage station is two or three dinars.

Afterwards. The café across the square from the gate has the view of the minaret, and Kairouan’s two edible specialities are within a hundred metres: makroudh, the date-filled semolina pastry the city invented, and the spiciest kafteji in Tunisia.

Mosque of Kairouan
The Great Mosque of Kairouan. Photos by Dennis Jarvis.

The Mosques That Followed

Kairouan’s mosque was the template. The Great Mosque of Ez-Zitouna in Tunis, rebuilt by the same Aghlabids in 864, repeats its plan with columns from Carthage; the Great Mosque of Sousse, built in 851, is its fortified cousin on the coast, beside the ribat; the Great Mosque of Monastir and the Mosque of the Three Doors in Kairouan itself are the smaller variations. Seen in sequence, they are the story of how a garrison mosque on the steppe became the architecture of a continent.

The Great Mosque of Kairouan. Photos from Flickr.

Frequently Asked Questions

Who built the Great Mosque of Kairouan, and when?

Uqba ibn Nafi founded it in 670; the present building is the Aghlabid rebuild of 836 under Ziyadat Allah I, completed in 862–863.

Is it the fourth holiest site in Islam?

By popular tradition in the Maghreb, yes; there is no formal ranking in Islamic law beyond Mecca, Medina and Jerusalem.

Can non-Muslims visit?

Yes, the courtyard and porticoes, during visiting hours, with a view into the prayer hall from its doors. The hall itself is closed to non-Muslims.

How much does it cost?

About 12 dinars on the combined Kairouan ticket, which also covers the Aghlabid Basins, the Barber’s Mosque and Bir Barouta.

What are the opening hours?

About 8 am to 2 pm (7:30 in summer), until noon on Fridays. Check locally; hours change around holidays.

What is the oldest thing in the mosque?

The minaret’s base, from the 720s, is the oldest structure; the minbar of around 862 is the oldest wooden pulpit in the Islamic world.

From the Carthage Magazine Bookshelf

Kairouan is where Islamic Tunisia begins, and these three carry the story from there.

  • All About Tunisia — the definitive English-language traveler’s guide. 572 pages, 27 chapters, all nine regions, every UNESCO inscription, five thematic trails — and the practical answers (visa, currency, transport, etiquette) most travelers wish they’d had on the plane. $24.99 · PDF & EPUB.
  • Speak Like a Local — 200+ Tunisian Arabic phrases with native audio recorded in Tunis. The phrases for the taxi, the souk, the café, and the dinner table. $14.99 · PDF, EPUB, MP3.
  • The Authentic Tunisian Cookbook — sixty traditional recipes from the heart of North Africa. For when you get home and find yourself missing the food. $9.99 · PDF & EPUB.

All three available as a bundle for $39.99 — guide, language, and food, delivered together.

AttractionsHeritageMonuments
0 comments FacebookTwitterEmail
Editorial Staff

Editorial staff account at Carthage Magazine, Tunisia's premier English lifestyle magazine with thousands of page-views per month and over 200,000 social media followers.

previous post
El Ghriba Synagogue, Djerba: Africa’s Oldest Synagogue
next post
Alcohol in Tunisia: Laws, Where to Buy, Prices and Etiquette

Related Articles

Southern Tunisia Road Trip: A 7-Day Loop from...

November 7, 2026

Fruits From Tunisia: 15 Tunisian Fruits to Eat...

November 7, 2026

Alcohol in Tunisia: Laws, Where to Buy, Prices...

November 7, 2026

El Ghriba Synagogue, Djerba: Africa’s Oldest Synagogue

November 7, 2026

Tunisian Dinar (TND): Currency Guide, Rates and Rules...

November 7, 2026

Tunisian Culture and Etiquette: What to Know Before...

November 7, 2026

Visa-Free Countries for Tunisians: The Honest List

November 7, 2026

Bizerte, Tunisia: Why I Fell in Love with...

November 7, 2026

Bizerte, Tunisia: An Honest Guide to Africa’s Northern...

November 7, 2026

El Jem Amphitheatre: Visiting Tunisia’s Roman Colosseum

November 6, 2026

Leave a Comment Cancel Reply

Save my name, email, and website in this browser for the next time I comment.

From the Magazine

The Bookshelf

✦ ✦ ✦
Carthage Magazine
✦ ✦ ✦
The Authentic
Tunisian Cookbook
60 traditional recipes from the heart of North Africa
✦ ✦ ✦
Amira Ben Harcha
N° 01 · Cookbook

The Authentic Tunisian Cookbook

Sixty recipes, ten chapters — the cuisine the world hasn't tasted yet.

$9.99 PDF · EPUB
Get it →
✦ ✦
Carthage Magazine
— ◆ —
Speak Like
a Local
Tunisian Arabic for travelers — with native audio
— ◆ —
Saber Ben Hassen
N° 02 · Phrasebook

Speak Like a Local

200+ phrases. 13 chapters. Audio recorded in Tunis.

$14.99 PDF · EPUB · MP3
Get it →
✦ ✦
Carthage Magazine
— ◆ ◆ ◆ —
All About
Tunisia
The English-language traveler's guide — 572 pages, 27 chapters
— ◆ ◆ ◆ —
The Carthage Magazine Editorial Staff
N° 03 · Travel Guide

All About Tunisia

572 pages. 27 chapters. Every region, every UNESCO site.

$24.99 PDF · EPUB
Get it →

If language opens the door, food sits you at the table.

Explore the bookshelf →

Just For You

  • 1

    Alcohol in Tunisia: Laws, Where to Buy, Prices and Etiquette

    November 7, 2026
  • 2

    Sidi Bou Said: An Honest Guide to Tunisia’s Blue-and-White Village on the Cliff

    November 2, 2026
  • 3

    Tunisian Dinar (TND): Currency Guide, Rates and Rules for Visitors

    November 7, 2026
  • 4

    Are Tunisians Arab? What DNA Studies Actually Show

    November 6, 2026
  • 5

    Is Tunisia Safe to Visit? An Honest Answer

    November 6, 2026

Explore

Carthage Magazine

Independent journalism from Tunis. We tell Tunisia’s story — its culture, economy, and civil society — to the English-speaking world.

 

— About Us

— Media Kit

— Advertising

— Editorial Standards

— Transparency

— Contact Us

Facebook Twitter Instagram Linkedin Youtube

Newsletter

Published in Tunis © 2019 - 2026 Carthage Magazine. Privacy | Terms | Refunds | RSS Feed

Carthage Magazine
  • Home
  • Food
  • Culture
  • Travel
  • News
  • Editors’ Picks
  • Shop
Carthage Magazine
  • Home
  • Food
  • Culture
  • Travel
  • News
  • Editors’ Picks
  • Shop

Published in Tunis © 2019 - 2026 Carthage Magazine. Privacy | Terms | Refunds | RSS Feed