Kairouan — Oldest Muslim City of the Maghreb in Tunisia
Kairouan is the oldest Muslim city of the Maghreb, founded in 670. Its Great Mosque and old medina are a World Heritage site.
Kairouan is a city in central Tunisia, the capital of the Kairouan Governorate and one of the holiest cities of the Islamic world. The city was founded in 670 by the general Uqba ibn Nafi, as the first Arab-Muslim base in the Maghreb, and it became a centre of learning, craft and pilgrimage that shaped the whole region. Kairouan lies about 50 km from the east coast, about 60 km west of Sousse and about 184 km south of Tunis, on a plain in the heart of Tunisia, with 210,313 people in the 2022 figures.
The name Kairouan comes from the Arabic al-Qayrawan, meaning military group or caravan, borrowed from the old Persian word karavan. The old town of Kairouan was listed by UNESCO as a World Heritage property in 1988, with ref 499, and the city is famous for the Great Mosque, the Mosque of the Three Doors, the Aghlabid water basins and the handmade carpets of the medina. Kairouan is a popular day trip from Sousse and Monastir, though it deserves a night of its own, to explore the old town at a slow pace.
Quick Facts
- City: Kairouan, capital of the Kairouan Governorate in central Tunisia.
- Founded: About 670, by the general Uqba ibn Nafi, the first Arab-Muslim base in the Maghreb.
- People: 210,313 in the 2022 figures, at an elevation of 68 m.
- Position: About 50 km from the east coast, 60 km west of Sousse, 184 km south of Tunis.
- World Heritage: Kairouan, ref 499, listed in 1988, with five criteria.
- Great Mosque: Founded in 670, rebuilt in the 9th century, 135 m by 80 m, with 17 naves.
- Crafts: Handmade carpets, makroudh date cakes, copper, leather and pottery.
- Best months: March to May and September to November, when the weather is mild.
- Nearest World Heritage: Kairouan itself is ref 499; the nearest separate property is the Medina of Sousse, ref 498, about 51 km away in a straight line.
- Registry note: The registry value unesco:false for Kairouan is WRONG, because the city is a World Heritage property, ref 499.
Geography of Kairouan
Kairouan lies on a plain in central Tunisia, at about 35 degrees north, in a position almost equidistant from the sea and the mountains, as UNESCO describes it. The plain around Kairouan is farmland, with many olive groves and wheat fields, and to the east lies the Sahel coast, with the cities of Sousse and Monastir and Mahdia further south, while to the west lie hills and low mountains leading to the central highlands of Tunisia. The flat land let the city grow in every direction, though water was always a problem in its history, and the Aghlabid basins were built to answer it.
The farmland around Kairouan is a dry steppe, and the olive tree is the crop that best suits it, with groves stretching to the horizon in every direction and wheat sown between them in the winter rains. The wells of the plain are deep, and the farmers draw water by hand and by pump, while the city itself was built around its basins and cisterns, which stored the winter rain for the long dry summer. The heat of the plain is fierce in July and August, and the white walls and narrow streets of the medina give shade, while the courtyards of the houses hold small gardens that stay cool through the afternoon. The city is an oasis of shade in a wide open land, and the green of the olive groves is the only colour on the plain for much of the year.
Outside the walls of the medina, the modern city of Kairouan spreads in wide streets, with markets, schools, a hospital and a university, and the town serves as the market centre for the whole governorate. The carpet workshops are found both in the medina and in the new quarters, and the trade in carpets, copper and leather brings buyers from Sousse and Tunis. The railway and the roads join Kairouan with the coast, and the city keeps the pace of a regional market town, busy in the morning and quiet in the heat of the afternoon.
The climate of Kairouan is semi-arid, with hot dry summers and mild winters with little rain. Daytime temperatures in summer usually run from 32 to 38 degrees Celsius, and in winter from about 16 to 18 degrees, and the rain each year is low, about 300 mm, falling mainly in winter. Summer in Kairouan is far hotter than in the coastal cities such as Sousse, because the city lies deep inland and has no sea wind, and visitors should come in spring or autumn, when the temperatures are mild and suit walking through the old town. The early morning is the best time to visit the outdoor sights in summer.
The World Heritage property of Kairouan has three parts: the old medina, the Aghlabid water basins and the mausoleum of Sidi Sahib. The medina covers 54 hectares, and the suburbs around it cover 20 hectares, while the whole property covers about 68 hectares, with a buffer zone of about 154 hectares. The walls around the medina run for more than 3 km, with gates such as Bab et Tounes and Bab el Khoukha, and inside the walls the streets are narrow and winding, divided into many quarters. The suburbs have a straighter layout and houses with a rural air, and the split shows how the city grew over many centuries.
Water is the central theme in the history of the city. The Aghlabid basins were built to store rainwater and water from wells, supplying the city in the dry season, and the system is one of the most impressive works of water engineering from the Middle Ages in North Africa. Today the farming around the city still depends on well water and rain, and the olive groves and wheat fields around Kairouan are the main livelihood of the region. The plain is open and dry, and the city rises from it as a cluster of white houses, minarets and domes, with the Great Mosque at its heart.

Great Mosque of Kairouan Central view of the central part of the prayer hall in Mosque Okba in Kairouan: the view contain the Mihrab with islamic art inside and calligraphy items — CC BY-SA 4
History of Kairouan
Kairouan was founded in about 670, when the general Uqba ibn Nafi, serving the caliph Muawiya, chose a site in thick forest as a military camp for the conquest of the west. The site had been the town of Kamounia, with a Byzantine garrison, and Uqba built the first Great Mosque of the city, laying the ground for the religious role of Kairouan. Uqba was killed at Biskra about thirteen years later, and the Berbers under Kusaila, then under the woman leader Al-Kahina, kept up their resistance, until Al-Kahina was defeated in 702, after which the Berbers turned to Islam in large numbers. Kairouan became an important centre of Islamic learning, drawing scholars from across the world.
The Aghlabid dynasty, which ruled Ifriqiya from 800 to 909, made Kairouan a rich capital. The Aghlabid emirs rebuilt the Great Mosque, founded a university and built the water basins, and the city became famous for its wealth and splendour, ranked beside Basra and Kufa. Scholars such as Imam Sahnun and Asad ibn al-Furat made Kairouan a centre for the spread of Islamic science, and the Aghlabids also conquered Sicily in 827, spreading the influence of Kairouan across the Mediterranean. In 909 the Fatimid dynasty overthrew the Aghlabids and moved the capital to Mahdiya on the coast, and Kairouan slowly lost its standing.
In 1045 the Zirid dynasty, ruling from Kairouan, declared its independence from Cairo and turned to Sunni Islam, and in punishment the Fatimid caliph in Cairo sent the Arab tribes of Banu Hilal and Banu Sulaym to invade Ifriqiya. The tribes took Kairouan in 1057 and destroyed the city, and it never regained its old standing, and the geographer Al-Idrisi described Kairouan in the 12th century as a city once great but now in ruins. Under the Hafsid dynasty in the 13th century the city began to recover from the ruins, and in 1881 French troops took Kairouan and opened the city to non-Muslims. The old town of Kairouan was listed by UNESCO as a World Heritage property in 1988.
The Great Mosque of Kairouan, also called the Mosque of Uqba, was founded in 670 and rebuilt in the 9th century, and it is the model for many mosques in the Maghreb. The mosque covers 135 m by 80 m, and the prayer hall has 17 naves held up by a forest of columns in marble and porphyry, with a wide stone courtyard ringed by porticoes and a three-storey square minaret to the north. UNESCO listed the mosque under criterion one, as a masterpiece of architecture, and the mosque has shaped the building of mosques across North Africa. Visitors who are not Muslim may visit the courtyard and the outer areas, though they may not enter the prayer hall.
The mosque was also a university, and the scholars of Kairouan gave the city its fame in the Islamic world. Imam Sahnun, who lived from 776 to 854, compiled the Mudawwana, the main text of the Maliki school of law, and students came from across North Africa and Spain to study it. Asad ibn al-Furat, another scholar of the city, led the conquest of Sicily in 827, carrying the learning and the arms of Kairouan across the sea. The learning of Kairouan spread to Fez and Cordoba, and the city is counted among the holiest cities of Islam, a rank it still holds in the eyes of many Muslims.
The Mosque of the Three Doors, built in 866, is the oldest surviving mosque with a sculpted facade, and the Aghlabid basins, built in the 9th century, are among the finest works of water engineering from the Middle Ages, with two open-air basins joined together. The mausoleum of Sidi Sahib, also called the Mosque of the Barber, holds the tomb of Abu Zama El-Balawi, a companion of the Prophet Mohammed, and it is famous for its fine tilework and is an important place of pilgrimage. By tradition, seven pilgrimages to Kairouan may take the place of one pilgrimage to Mecca, and the mausoleum draws pilgrims from across Tunisia.

The Hayek of Kairouan is a traditional cloth for woman — CC BY-SA 4
Travel to Kairouan
The Great Mosque of Kairouan is the most important sight in the city, and it should be visited first. The mosque was founded in 670 and rebuilt in the 9th century, with a prayer hall of 17 naves, a wide stone courtyard and a three-storey square minaret, one of the oldest minarets in the Islamic world. The courtyard is the best place for photographs, above all in the morning, when the sun shines through the porticoes, and visitors should allow at least an hour to look at the architecture and to learn the history of the mosque. Non-Muslim visitors may visit the courtyard and the outer areas, though not the prayer hall.
The Mosque of the Three Doors stands in the old town, a few minutes on foot from the Great Mosque, and its carved facade is held to be the oldest example of Islamic art with a sculpted facade. The Aghlabid basins lie to the north of the old town, in an open area with a view over the city, and they were built in the 9th century to store water for the city in the dry season. The mausoleum of Sidi Sahib lies to the west of the old town, in a complex with a tiled courtyard, and its tilework is among the finest examples of Tunisian ceramic art. Allow at least half a day for these sights in the old town, and visit the mausoleum in the morning, when it is quietest.
The old town of Kairouan is one of the most intact Islamic old towns in North Africa, with narrow winding streets leading to craft workshops, markets and small mosques. The carpets of Kairouan are the best known craft of the city, and many weaving workshops open their doors to visitors, who can watch the weavers at work and buy carpets straight from the workshop. The makroudh, a fried date cake, is the food speciality of Kairouan and is sold all over the old town, and the market in the medina sells copper, leather and pottery at better prices than the coastal cities. The morning is the best time to explore the medina, when the workshops are open and the market is at its busiest.
From Kairouan, the other sights of central Tunisia are easy to reach. El Jem, with its famous Roman amphitheatre, lies about an hour by car to the southeast, and Sousse and Monastir, two coastal cities, lie about an hour by car to the east. Many visitors combine Kairouan with El Jem and Sousse in a single two-day journey, and tours from Sousse often visit Kairouan in a day, with a guide explaining the history and the architecture of the city. Buses and louage taxis join Kairouan with Sousse, Tunis and other cities, and a day tour from Sousse usually covers the Great Mosque, the Mosque of the Three Doors, the basins and the old town.
The food of the city shows its inland position and its long Islamic tradition. The makroudh, a fried date cake soaked in honey, is the best known speciality and is sold all over the old town, and couscous with lamb and vegetables is the main dish in family meals. The brik, a thin fried pastry filled with egg and tuna, is a common starter, and the small restaurants in the medina serve traditional food at fair prices. Try the makroudh fresh from the ovens in the old town, and allow time to sit in a cafe in the medina, where the life of the city passes by.
Notable Places in Kairouan
The Great Mosque
The Mosque of Uqba is the first stop for most visitors to the city, and its wide stone courtyard is the finest place for photographs, above all in the morning, when the sun shines through the porticoes. The three-storey square minaret to the north is one of the oldest minarets in the Islamic world, and the prayer hall holds 17 naves under a forest of marble and porphyry columns. Allow at least an hour to look at the architecture and to learn the history of the mosque, and visit in the morning, when the light is fine and the crowds are few.
The Mosque of the Three Doors
The Mosque of the Three Doors stands in the old town, a few minutes on foot from the Great Mosque, and its carved facade is the oldest surviving example of a sculpted mosque facade. The mosque is far smaller than the Great Mosque, though it holds a special place in history, and visitors exploring the medina should stop here to see the growth of early Islamic architecture. The facade of the mosque is a popular place for photographs, and the quiet street in front of it is one of the prettiest corners of the old town.
The Aghlabid Basins
Two open-air water basins lie to the north of the old town, in an open area with a view over the city, and they were built in the 9th century to store water for the city in the dry season. The basins are among the finest works of water engineering from the Middle Ages in North Africa, and visitors can walk around them and watch the sunset over the city. Go in the late afternoon, when the light is soft and the water catches the sky, and allow half an hour for the walk around the basins.
The Mausoleum of Sidi Sahib
The mausoleum stands to the west of the old town, in a complex with a tiled courtyard, and its tilework is among the finest examples of Tunisian ceramic art. The tomb holds Abu Zama El-Balawi, a companion of the Prophet Mohammed, and the site is an important place of pilgrimage for Tunisian Muslims. Visit the mausoleum in the morning, when it is quietest, and show respect for the pilgrims, keeping voices low and asking before taking photographs inside the complex.
The Medina
The medina is the most interesting walking area of the city, with narrow streets leading to craft workshops and markets, and the walls run for more than 3 km around the old town, with gates such as Bab et Tounes. Visitors can lose themselves in the small lanes and find shops selling carpets, copper and pottery, and the afternoon is the best time to wander the medina, when the sun is softer and the shops are open. Allow at least half a day to explore the old town, and carry cash, because many small shops take no cards.
The Carpet Workshops
The carpet weaving workshops stand scattered through the old town, with weavers working in front of visitors, and the whole process can be seen, from dyeing the wool to weaving the finished carpet. The carpets are famous for their geometric patterns and traditional colours, and buying a carpet straight from the workshop usually costs less than in the souvenir shops. Lovers of craft should allow time in these workshops, and the weavers are glad to explain the patterns, which carry the names and the stories of the families who wove them.
Frequently Asked Questions
Where is Kairouan in Tunisia?
Kairouan lies in central Tunisia, about 50 km from the east coast, about 60 km west of Sousse and about 184 km south of Tunis, and buses and louage taxis join it with Sousse in about an hour.
Are there tours to Kairouan?
Many tours go to Kairouan, above all from Sousse and Monastir, often combined with El Jem in the same day, and the travel companies in Sousse run day tours with a guide and transport.
Which places should I visit in Kairouan?
The places to visit first in Kairouan are the Great Mosque, the Mosque of the Three Doors, the Aghlabid basins and the mausoleum of Sidi Sahib, and the old medina deserves at least half a day.
Is Kairouan a UNESCO World Heritage site?
Kairouan is a World Heritage property, listed in 1988 with ref 499, and the property covers the old medina, the Aghlabid basins and the mausoleum of Sidi Sahib, under five criteria.
When is the best time to visit Kairouan?
The best time to visit Kairouan is from March to May and from September to November, when the weather is mild and suits walking through the old town, while summer is very hot inland.
Can I visit Kairouan in a day from Sousse?
Kairouan can be visited in a day from Sousse, because the city lies only about 60 km away, and a day tour usually covers the Great Mosque, the Mosque of the Three Doors, the basins and the old town.
Verified
- Kairouan was founded in about 670 by the general Uqba ibn Nafi, as the first Arab-Muslim base in the Maghreb; the city has 210,313 people in the 2022 figures and stands at an elevation of 68 m — Wikipedia, checked 23 November 2026.
- Kairouan IS a World Heritage property, ref 499, listed in 1988 under criteria (i)(ii)(iii)(v)(vi); the property covers 68.02 hectares with a buffer zone of 154.36 hectares, and it holds the medina of 54 hectares, the Aghlabid basins and the mausoleum of Sidi Sahib: the registry value unesco:false is WRONG — AF-140, UNESCO, checked 23 November 2026.
- The Great Mosque covers 135 m by 80 m, the prayer hall has 17 naves, and the minaret has three storeys; the Mosque of the Three Doors was built in 866 — UNESCO, checked 23 November 2026.
- The Aghlabid dynasty ruled from 800 to 909; the Fatimids overthrew the Aghlabids in 909; the Banu Hilal tribes took Kairouan in 1057 — Wikipedia, checked 23 November 2026.
- Kairouan lies about 50 km from the east coast, about 60 km west of Sousse and about 184 km south of Tunis — Wikipedia, checked 23 November 2026.
- The nearest separate World Heritage property to Kairouan is the Medina of Sousse, ref 498, listed in 1988, about 51.2 km away in a straight line; El Jem, ref 38, listed in 1979, is about 69.8 km away — haversine from live coordinates, checked 23 November 2026.
- The registry Q-ID Q179570 is Kairouan, a Tunisian town, at coordinates 35.6833 north and 10.1 east — Wikidata API, checked 23 November 2026.
Sources
- Kairouan, UNESCO ref 499 (https://whc.unesco.org/en/list/499/) — listed 1988, criteria; checked 23 November 2026.
- Wikipedia, “Kairouan” (https://en.wikipedia.org/wiki/Kairouan) — population, history, Great Mosque; checked 23 November 2026.
- Medina of Sousse, UNESCO ref 498 (https://whc.unesco.org/en/list/498/) — listed 1988; checked 23 November 2026.
- Amphitheatre of El Jem, UNESCO ref 38 (https://whc.unesco.org/en/list/38/) — listed 1979; checked 23 November 2026.
- Discover Tunisia, official tourism site (https://www.discovertunisia.com/) — Kairouan destination information; checked 23 November 2026.
- Wikidata, Q179570 (https://www.wikidata.org/wiki/Q179570) — Kairouan town, coordinates; checked 23 November 2026.
Unverified
- The yearly rainfall of Kairouan is given as about 300 mm from popular sources, and this article uses that figure without a formal meteorological source.
- Bus and louage times between Kairouan and Sousse change by season, so this article gives no timetable and travellers should check the latest times at the bus station before travelling.
- Opening hours for the sights in the old town can change by season and by the prayer times, so this article gives no hours and travellers should check before visiting.
- The tradition that seven pilgrimages to Kairouan may take the place of one pilgrimage to Mecca is a local belief, and this article states it as a tradition rather than a measured fact.
Illustrations
- Hero: Kairouan is the oldest Muslim city of the Maghreb, founded in 670. Free image: https://upload.wikimedia.org/wikipedia/commons/3/31/Grande_Mosqu%C3%A9e_de_Kairouan%2C_vue_d%27ensemble.jpg — CC BY-SA 2.0.
- In body, Kairouan: Great Mosque of Kairouan Central view of the central part of the prayer hall in Mosque Okba in Kairouan: the view contain the Mihrab with islamic art inside and calligraphy items. Free image: https://upload.wikimedia.org/wikipedia/commons/0/0b/Great_Mosque_of_Kairouan_mihrab_view.jpg — CC BY-SA 4.
- In body, Kairouan: The Hayek of Kairouan is a traditional cloth for woman. Free image: https://upload.wikimedia.org/wikipedia/commons/6/65/Hayek_from_Kairouan.jpg — CC BY-SA 4.
