The Great Mosque of Kairouan
    UNESCO World Heritage

    "Where Islam first took root in Africa, and pilgrims still find the sacred waters of Mecca rising in the desert"

    The Great Mosque of Kairouan

    Kairouan, Kairouan, Tunisia

    Sunni IslamMaliki jurisprudenceSufi traditions

    Founded in 670 CE, only thirty-eight years after the Prophet Muhammad's death, the Great Mosque of Kairouan stands as the oldest mosque in Africa and the template for all Maghrebi sacred architecture. For North African Muslims, seven pilgrimages here equal one hajj to Mecca. The mosque remains an active place of worship, its prayers unbroken for over thirteen centuries.

    Weather & Best Time

    Plan Your Visit

    Save this site and start planning your journey.

    Quick Facts

    Location

    Kairouan, Kairouan, Tunisia

    Tradition

    Site Type

    Year Built

    670

    Coordinates

    35.6814, 10.1041

    Last Updated

    Jan 8, 2026

    The Great Mosque of Kairouan was founded in 670 CE by the Arab general Uqba ibn Nafi during the Muslim conquest of North Africa. The current structure dates primarily from the Aghlabid reconstruction of the ninth century. For centuries, Kairouan served as the spiritual and intellectual capital of Islam in Africa, its mosque the mother of all North African religious architecture. The site was inscribed as a UNESCO World Heritage Site in 1988.

    Origin Story

    The founding of Kairouan belongs to the great expansion of Islam following the Prophet's death in 632 CE. Within decades, Arab armies had swept across the Middle East, North Africa, and into Spain. Uqba ibn Nafi was the general charged with securing the Maghreb.

    In 670 CE, Uqba needed a permanent base. He chose a site inland from the Byzantine coastal settlements, where his forces would be protected from naval attack and where they could control the trade routes. But the choice was also sacred. According to the founding legend, Uqba was searching for a location when he discovered at this site a golden cup he had lost years earlier in the Zamzam well at Mecca. This miracle revealed the ground's hidden connection to Islam's holiest site. Where the cup had traveled underground, the blessing of Mecca had followed.

    Uqba laid out a simple mosque, orienting it toward Mecca as the Prophet had taught. Within the qibla wall, he set a mihrab to mark the direction of prayer. The first call to prayer sounded across North Africa. Islam had taken root in African soil.

    The original mosque was modest, but its significance was immense. It marked the permanent presence of Islam in Africa, the foundation of a city that would become the spiritual capital of the Maghreb. Uqba himself would die fighting Berber resistance in 683 CE, but the mosque he founded would outlive him by over thirteen centuries.

    Key Figures

    Uqba ibn Nafi

    عقبة بن نافع

    Sunni Islam

    founder

    The Arab general who founded both Kairouan and its Great Mosque in 670 CE. A companion of the companions, meaning he knew those who had known the Prophet Muhammad personally. His founding of the mosque planted Islam permanently in North African soil.

    Ziyadat Allah I

    زيادة الله الأول

    Sunni Islam

    historical

    The Aghlabid ruler who began the major reconstruction of the mosque in 817 CE. His rebuilding project created the structure that still stands today, establishing the architectural template for all subsequent Maghrebi mosques.

    Abu Ibrahim Ahmad

    أبو إبراهيم أحمد

    Sunni Islam

    historical

    The Aghlabid emir who commissioned the magnificent mihrab in 862-863 CE. The mihrab remains one of the finest examples of early Islamic decorative art, its lustrous tiles imported from Baghdad.

    Abu Zama al-Balawi

    أبو زمعة البلوي

    Sunni Islam

    saint

    A companion of the Prophet Muhammad who traveled to Kairouan and is buried in the nearby Zaouia of Sidi Sahab, the Barber's Mosque. He reportedly carried three of the Prophet's beard hairs with him. His tomb adds to Kairouan's claim as a city blessed by proximity to the Prophet.

    Spiritual Lineage

    The mosque founded by Uqba served for over a century before the Aghlabid dynasty undertook its transformation. Between 817 and 863 CE, successive Aghlabid rulers rebuilt and expanded the structure, creating the monument that stands today. They gathered hundreds of Roman and Byzantine columns from across Tunisia, incorporating the architectural heritage of previous civilizations into their Islamic vision. Under the Aghlabids, Kairouan became a center of Islamic learning to rival any in the world. The mosque hosted scholars of Quranic sciences, Maliki jurisprudence, medicine, astronomy, and mathematics. Students came from across North Africa and beyond. The tradition of learning established here shaped Islamic thought throughout the western Muslim world. Later dynasties, the Fatimids, Zirids, Hafsids, and Ottomans, maintained the mosque and added refinements, but the Aghlabid structure persisted. French colonial rule (1881-1956) treated Kairouan as a heritage site; Tunisian independence returned it to full religious function. Today, the mosque operates as it has since 670 CE: a place of prayer, pilgrimage, and continuity with the earliest days of Islam in Africa.

    Know a Sacred Site We Should Include?

    Help us expand our collection of sacred sites. Share your knowledge and contribute to preserving the world's spiritual heritage.

    Pilgrim MapPilgrim Map

    A compass for the soul, guiding you to sacred places across the world.

    Browse Sacred Sites

    Explore

    Learn

    © 2025 Pilgrim Map. Honoring all spiritual traditions and sacred paths.

    Data sources: Wikipedia, OpenStreetMap, and community contributions. Site information is provided for educational and spiritual exploration purposes.

    Made with reverence for all paths