Kairouan, the fourth holy city of Islam
culture-heritage

Kairouan, the fourth holy city of Islam

Quick Answer

Why is Kairouan called the fourth holy city of Islam?

Kairouan was founded in 670 AD as the first Arab-Islamic city in North Africa and quickly became a major centre of Islamic scholarship. A long-standing local tradition holds that seven pilgrimages to Kairouan carry spiritual weight comparable to one to Mecca, which is the basis for its reputation, after Mecca, Medina and Jerusalem, as Islam's fourth holiest city, though this ranking is a matter of tradition rather than formal doctrine.

Kairouan sits roughly two and a half hours from Tunis by road, inland and away from the coastal circuit most visitors default to, which is exactly why it’s underrated by travellers working from a short itinerary. Founded in 670 AD as the first Arab-Islamic settlement in North Africa, it holds a concentration of religious and architectural history unmatched anywhere else in the country, anchored by a Great Mosque that ranks among the oldest and most significant in the Islamic world. This guide covers what to see, how the city’s holy-city reputation came about, and how to fit it into a trip realistically, whether as a long day trip or an overnight stop.

Founded670 AD
Distance from TunisAround 2.5 hours by road
Key sitesGreat Mosque, Aghlabid basins, Mosque of the Barber
Best visited asFull day trip, or an overnight for a fuller pace
Combine withEl Jem’s amphitheatre en route from the coast

Why Kairouan holds this status

The city’s founder, the Arab general Uqba ibn Nafi, established Kairouan as both a military garrison and a base for further conquest and Islamic settlement across North Africa, choosing an inland site partly for defensive reasons and partly, according to tradition, guided by a vision. It developed rapidly into a centre of Islamic law and scholarship, drawing scholars from across the growing Islamic world and producing a body of religious teaching that influenced practice well beyond Tunisia’s borders.

The city’s reputation as Islam’s fourth holiest, following Mecca, Medina and Jerusalem, rests on a long-standing local tradition holding that seven pilgrimages to Kairouan hold weight equivalent to a single pilgrimage to Mecca, a belief still cited today and one that continues to draw pilgrims from across the region, particularly around religious holidays.

This status is a matter of enduring local and regional tradition rather than a formally codified doctrine recognised uniformly across the Islamic world, worth understanding as context rather than a settled theological ranking, though it says a great deal about how seriously the city’s religious significance has been taken across the centuries regardless.

The Great Mosque: Kairouan’s centrepiece

The Great Mosque of Kairouan, also known as the Mosque of Uqba after its founder, is the city’s defining monument and one of the most important examples of early Islamic religious architecture anywhere.

Its current form dates largely from the ninth century under Aghlabid rule, when the dynasty rebuilt and expanded the original foundation into the vast complex seen today: a huge open courtyard bordered by a covered prayer hall supported by a forest of columns, many reused from Roman and Byzantine buildings across the region, a detail of architectural recycling that echoes what happened at Ez-Zitouna in Tunis. The mosque’s square minaret is considered among the oldest surviving in the Islamic world, and the carved wooden minbar inside the prayer hall, from which sermons are delivered, is likewise one of the oldest of its kind still in use.

Unlike Ez-Zitouna in Tunis, which restricts non-Muslim visitors to its courtyard entirely, Kairouan’s Great Mosque allows ticketed non-Muslim visitors into a defined section of the prayer hall outside prayer times, a genuinely rare opportunity to stand inside a working mosque of this age and significance. Dress modestly, shoulders and knees covered, with a headscarf for women, and expect the mosque to be busier around Friday midday prayer, when non-Muslim access is typically paused. The mosque etiquette in Tunisia guide covers the specifics in more depth.

From Sousse: Kairouan Holy City & El Jem Colosseum Day Trip combines the Great Mosque with El Jem’s amphitheatre in a single day for visitors based on the Sousse coast, a practical pairing since both sit roughly along the same inland route.

The Aghlabid basins: early hydraulic engineering

A short distance from the medina, Kairouan’s Aghlabid basins are a pair of large circular reservoirs built in the ninth century to store water for the city, an impressive feat of engineering for the period, using a smaller settling basin to filter sediment before water flowed into the much larger main reservoir.

They’re not visually dramatic in the way a mosque or amphitheatre is, essentially large stone-lined pools, but they represent a genuinely sophisticated piece of urban infrastructure for their time and are worth the short stop for anyone interested in how a ninth-century city this size actually functioned day to day, particularly given Kairouan’s inland, non-coastal location and its correspondingly greater dependence on managed water supply.

The Mosque of the Barber and Kairouan’s other religious sites

The Zaouia of Sidi Sahbi, commonly called the Mosque of the Barber, honours a companion of the Prophet Muhammad said to have always carried three hairs from the Prophet’s beard, giving the site its popular name and its status as an important pilgrimage destination in its own right.

The complex, rebuilt substantially in the seventeenth century, features some of the most richly decorated interior tilework in the city, a striking contrast to the more austere grandeur of the Great Mosque, and its courtyard and mausoleum chamber are generally more accessible to non-Muslim visitors than the Great Mosque’s prayer hall. Kairouan’s medina holds a number of smaller mosques and religious schools beyond these two headline sites, and wandering the older quarters, particularly early or late in the day, turns up religious architecture at a density unmatched elsewhere in the country.

SiteWhat it isNon-Muslim access
Great Mosque of KairouanFounding mosque, 9th-century formCourtyard and defined prayer hall section
Aghlabid basins9th-century water reservoirsFull access, exterior viewing
Mosque of the BarberShrine complex, 17th-century rebuildCourtyard and mausoleum chamber
Kairouan medinaHistoric walled old townFull access throughout

The medina, carpets and everyday Kairouan

Kairouan’s medina is a UNESCO-listed old town in its own right, distinct in feel from Tunis’s, quieter, less dense with souvenir shops per street, and organised around the religious core rather than a single dominant commercial souk axis. Its city walls, largely rebuilt over the centuries but following an old footprint, are more continuously intact than what survives around the Tunis medina, and walking a stretch of them, particularly near one of the historic gates, gives a useful sense of the old town’s original scale before stepping into the narrower lanes inside.

It’s also the historical centre of Tunisian carpet weaving, and workshops and cooperatives throughout the medina sell hand-knotted carpets in the dense geometric and floral patterns the city is known for; the carpets and kilims buying guide covers what to look for and typical price ranges if you’re considering a purchase here specifically. The Kairouan medina guide covers the wider old town in more depth, including gates, smaller mosques and where to eat, beyond the headline religious sites covered here.

From Hammamet: Kairouan Holy City and El Jem Day Trip is the equivalent option for visitors based further south on the coast around Hammamet, again pairing the city with El Jem in a single long day.

Getting to Kairouan

Most visitors reach Kairouan either on an organised day tour departing from Tunis, Sousse or Hammamet, or independently by louage, Tunisia’s shared long-distance taxi system, which runs regularly from Tunis’s southern louage station and from Sousse. The louages explained guide covers how the system works for anyone unfamiliar with it, including how fares and departures are organised, since it differs meaningfully from a scheduled bus service.

A private driver is a further option, generally more comfortable and considerably more flexible on timing than a louage, particularly useful if combining Kairouan with Dougga or El Jem in the same day rather than travelling there and back on a fixed round trip. Renting a car and driving independently is possible too, and the roads connecting Kairouan to the coast and to Tunis are generally in reasonable condition, though the driving in Tunisia guide is worth reading first if you haven’t driven in the country before, since local driving conventions differ from what many visitors are used to.

Combining Kairouan with the rest of the interior

Kairouan works well as part of a longer route through Tunisia’s interior rather than as an isolated destination, since the roads connecting it to Dougga, El Djem and the smaller Roman site of Makthar all pass through broadly the same region.

Kairouan, Makthar and Dougga: 12-hour Roman and Islamic tour is built specifically around that route, giving a genuinely full day that moves between the Islamic-era religious core of Kairouan and two significant Roman sites, a useful option for visitors who want the interior’s Roman and Islamic layers covered together rather than on separate trips.

For visitors who’d rather anchor a day trip around Monastir on the coast, City Tour Monastir covers that town separately, worth combining with Kairouan only if your base and timing allow for a longer combined day, since Monastir and Kairouan sit a reasonable distance apart.

Practical tips for visiting Kairouan

Arrive early in the day if visiting as part of a long day trip, since the Great Mosque and the Mosque of the Barber are both more comfortable to explore before the midday heat and before the largest tour groups arrive. Entry tickets to the Great Mosque are bought on site rather than online, and a single combined ticket sometimes covers multiple monuments depending on current arrangements, so it’s worth asking at the first ticket booth you reach what it includes.

Kairouan’s local speciality, makroudh, a date-filled semolina pastry, is worth seeking out in the medina’s pastry shops, a genuinely distinct local product rather than something found identically elsewhere in the country, though variations of it do turn up across the country once you know what to look for.

Frequently asked questions about visiting Kairouan

How long does a Kairouan day trip from Tunis actually take?

Budget a full day, roughly ten to twelve hours door to door including travel time, given the drive is around two and a half hours each way. It’s a long day, which is why some visitors prefer combining it with an overnight stay or approaching it from the closer Sousse or Hammamet coast instead.

Is Kairouan safe to visit as a tourist?

Yes, it’s a well-established part of the tourist circuit with regular organised tours and a functioning visitor infrastructure around its main sites. The is Tunis safe guide covers broader safety context that applies similarly across the main tourist areas of the country, Kairouan included.

Can I enter the Great Mosque’s prayer hall as a non-Muslim?

Yes, a defined section is open to ticketed non-Muslim visitors outside prayer times, a genuinely unusual level of access compared to most working mosques in the country. Full details on dress and behaviour expectations are in the mosque etiquette in Tunisia guide.

What should I eat in Kairouan?

Makroudh, a date-filled semolina pastry often fried or baked and soaked in syrup, is the city’s best-known local speciality, sold throughout the medina’s pastry shops. Beyond that, Kairouan’s food scene is smaller and more local than Tunis’s or the coast’s, so expect straightforward, good local restaurants rather than an extensive dining scene.

Is Kairouan worth visiting if I only have three days in Tunisia?

It’s a genuine trade-off. On a three-day trip focused mainly on Tunis and Carthage, Kairouan’s distance makes it a significant time commitment; visitors with a strong interest in Islamic architecture and history should still consider it, while those prioritising Roman sites and the coast might reasonably skip it on a very short trip and prioritise Dougga instead.

Are there hotels in Kairouan for an overnight stay?

Yes, a range of accommodation exists in and around the city, from simple guesthouses to larger hotels, sufficient for visitors who want to split a Kairouan and El Jem trip across two days rather than one long push.

What’s the significance of the Mosque of the Barber’s name?

It refers to Abu Zama’a al-Balawi, a companion of the Prophet Muhammad who reportedly always carried three hairs from the Prophet’s beard and was known locally as “the Barber” for that association. His shrine, rebuilt in its current form in the seventeenth century, remains an active pilgrimage site.

Can I combine Kairouan with El Jem in a single day?

Yes, this is one of the most common day-trip pairings from the Sousse and Hammamet coast, since both sites sit along a broadly similar inland route; the guided tours referenced throughout this guide are built specifically around that combination.

Best day trips from Tunis on GetYourGuide

Verified deep-linked GetYourGuide tours. Book through these links and we earn a small commission at no cost to you.