Founded in 670 AD by the Arab general Uqba ibn Nafi, the Great Mosque of Kairouan stands as the oldest Islamic place of worship in North Africa and a foundational model for Maghreb architecture. The site occupies roughly 9,000 square meters in the heart of the Medina—an area roughly equivalent to a standard city block—making it a massive anchor for the city's spiritual life. Often referred to as the Mosque of Uqba, this UNESCO World Heritage site remains an active mosque where the call to prayer still rings out from a minaret that has survived since the 8th century.
While many travelers visit as part of a whirlwind day trip from Tunis or Sousse, the site requires a slower pace to appreciate the layered history embedded in its stone. The current structure largely reflects the 9th-century expansion under the Aghlabid dynasty, though the spiritual weight of its 7th-century origins remains palpable. Visitors will find that the mosque is not just a building but a collection of reused materials from ancient Roman and Byzantine civilizations—a detail that makes every pillar a piece of a larger Mediterranean puzzle.
Accessing the mosque involves a specific ticketing process that often confuses first-time visitors who arrive at the main gate without a pass. Unlike many European cathedrals where you pay at the door, the Great Mosque of Kairouan is part of a combined ticket system managed by the Tunisian National Heritage Institute. This ticket costs approximately 12 TND and provides entry to several key sites in the city, including the Aghlabid Basins and the Barber's Mosque. It is usually easier to purchase this ticket at the small office near the Aghlabid Basins or the museum entrance before heading to the mosque gates.
Opening hours for non-Muslim visitors generally run from 8:00 AM to 2:00 PM daily, though this window narrows significantly on Fridays when the site closes at noon for congregational prayers. Arriving right at 8:00 AM is the most effective way to avoid the mid-morning tour bus rush and the intense glare of the Tunisian sun on the white marble courtyard. Photography is generally permitted throughout the open areas, although some guides might mention a nominal fee for professional-grade camera equipment.
Dress code is strictly enforced at the entrance to maintain the sanctity of the space. Men must cover their knees and shoulders, while women are required to cover their hair, shoulders, and legs. If your attire is deemed insufficient, the staff at the gate typically provides rental robes or wraps for a small fee or as part of the service. You should also be prepared to remove your shoes if you step onto the carpeted areas or specific prayer platforms, though non-Muslims are generally restricted to the marble courtyard and the threshold of the prayer hall.
One nuance most guidebooks fail to mention is that non-Muslims are not allowed to physically enter the interior prayer hall. However, the massive 17 carved wooden doors that line the courtyard are frequently left open during visiting hours. This allows you to stand at the threshold and look deep into the hypostyle hall to see the forest of columns and the intricate mihrab. Standing at the central door offers the best perspective of the 70-meter wide space, where the light filtering through the domes creates a striking contrast against the dark wood of the 11th-century maqsura—a protective wooden screen for the ruler.
The Great Mosque is famous for its spolia—the practice of repurposing architectural elements from older buildings. Within the prayer hall and the surrounding porticos, you will find 414 unique columns made of marble, granite, and porphyry. These were salvaged from the ruins of Carthage, Sousse, and other Roman cities across North Africa. If you look closely at the capitals—the tops of the pillars—you will notice they don't match; some are Corinthian with leafy patterns while others follow simpler Byzantine designs. This creates an unintentional museum of classical architecture under a single Islamic roof.
The square minaret dominates the northern side of the courtyard and stands 31.5 meters tall. It is widely considered the oldest surviving minaret in the world, with its lower section dating back to the 720s. The structure is built in three distinct tiers that taper as they rise, a design that likely took inspiration from Roman lighthouses like the one in Alexandria. While visitors are no longer permitted to climb the 128 internal steps to the top, the exterior provides plenty of detail, including recycled Roman stones with Latin inscriptions that were placed at the base during construction.
The vast courtyard is paved in white marble and slopes slightly toward the center. This is not a construction flaw but a deliberate 9th-century engineering choice. During the rare but heavy Tunisian rainstorms, the slope directs water toward a series of ornate drainage holes covered by marble filters. This water is then channeled into massive underground cisterns that sit beneath the courtyard, providing a reliable water source for the city's inhabitants during dry seasons. Two sundials are also embedded in the courtyard floor and walls, which were historically used by the imams to determine the exact times for the five daily prayers.
Non-Muslims can visit on Fridays but the visiting hours are restricted to a short window from 8:00 AM until approximately 12:00 PM. The mosque closes to tourists early to prepare for the weekly Jumu'ah prayer, and the surrounding Medina becomes very quiet during this time as businesses close for the afternoon. It is better to plan your visit for a Saturday or Sunday if you want the full two o'clock cutoff.
A combined ticket for the Great Mosque and other Kairouan landmarks costs around 12 TND, which is roughly 4 USD. This single pass grants access to the mosque courtyard, the Aghlabid Basins, the Mausoleum of Sidi Sahbi, and the Raqqada Museum of Islamic Art. You should keep the paper ticket handy as it will be stamped at each individual site you visit throughout the day.
The 414 columns were recycled from Roman and Byzantine sites across Tunisia and are significant because they represent the transition of power and culture in North Africa. Each column is unique, featuring different materials like red porphyry or white marble, and they were arranged to support the 17 naves of the prayer hall. This use of spolia allowed the 9th-century builders to construct a massive structure quickly while incorporating the prestige of the classical past.
Photography is permitted for personal use in the courtyard and from the doorways of the prayer hall, but you should avoid taking photos of worshippers during prayer times. If you are using professional equipment or a tripod, you may be asked to pay a small camera fee of about 1 TND at the ticket office. Using a flash is generally discouraged near the ancient wooden doors or inside the darker areas of the porticos to protect the aging materials.
Andrew Clark Fourth most important Islamic site globally after Mecca, Medina and Jerusalem. Respectful dress essential and includes head coverings for the ladies - available at gate. A must see !
Jami Karim Uqba Masjid (Great Mosque of Kairouan), Kairouan, Tunisia : This is one of the oldest masjids, not only in Tunisia but in the entire Islamic world. It is located in a small town called Kairouan, about a couple of hours' drive from Tunis. The original masjid was built in 670 AD by Uqba ibn Nafi, the commander of the Muslim forces during the Al-Rashidun Khalifat and later the Umayyad Khalifat, and the masjid was named after him. The original structure was destroyed, rebuilt, and reconstructed many times; in 836 AD, it was reconstructed once more, and this is the building we see today. The architecture and design of the masjid resemble typical Umayyad-era masjids around the world. This masjid has served as a model for all later masjids in North Africa and is considered one of the masterpieces of Islamic architecture and the first Islamic use of the horseshoe arch. A few of us might have heard about this masjid and the city. It is one of the largest Islamic monuments in North Africa, and the locals call it the 4th holiest place in Islam. Between the 9th and 11th centuries, Kairouan was one of the greatest centers of Islamic civilization, and the masjid was both a place of prayer and a center for teaching Islamic sciences as well as for the development of mathematics, astronomy, medicine, and botany. The Great Masjid of Kairouan was the hub of knowledge and the meeting point of different scholars from all around the Islamic world. This masjid was like a prestigious university at that time, with a large library containing a significant number of scientific and theological works. It was the most remarkable intellectual and cultural center in North Africa during the 9th,10th, and 11th centuries. Address: Rue Sidi Abdelkader, Kairouan, Tunisia Phone: + 216 76 489 133
Jay Max Kairouan is a historic and old town of Tunisia that holds two of the oldest mosques in the world, from the 8th and 10th century. The city is considered holy because of the two holy places/mosques it holds, attracting thousands of tourists each week. The great mosque (Aqba Mosque) dates from the 8th century and in its huge compound you'll still find a sundial (sun clock) that works even today. The mosque is well-preserved with all its interior decorations, inscriptions and artwork.
Ross Daniels We were first in very early and virtually were by ourselves for 15 minutes. This is also known as Sidi Okba Mosque, after the founder of Kairouan who built the first mosque on this site in AD 670. It is North Africa’s holiest Islamic site and the fourth most sacred city for Isla. The original mosque was completely destroyed, and most of what stands today was built by the Aghlabids in the 9th century. Its minaret is the oldest in the Maghreb, and its magnificent prayer hall has 414 pillars supporting horseshoe arches and multiple Roman columns. You can’t visit Kairouan without visiting the Mosque.
Abu Firas The city of Kairouan is called Rabiato I thalath means the fourth holy city after Mecca, Medina and Al Quds Jerusalem. It has this holy spiritual means for the Muslim leader Uqba bin Nafii who reached to this place and conquered North Africa and spread Islam religion in this region. This mosque is named after him. It's located in the downtown or what they call it Kairouan Medina. An old town with over that 80 mosques and a huge wall to protect the town from invaders. Such a beautiful and amazing architectural design. Had a chance to pray Maghreb and Isha there.