The Great Mosque of Sfax serves as the geographic and spiritual anchor of the Sfax Medina, dating back to its primary construction in 849 AD. While the Great Mosque of Kairouan often overshadows other Aghlabid structures, this site in Sfax offers a more intimate look at how 9th-century urban planning integrated religious spaces with commercial markets. Visitors find the mosque located at the exact intersection of the two main axes of the old city, a layout that has remained remarkably consistent for over a millennium.
Ali ibn Salim oversaw the initial construction during the reign of the Aghlabid Emir Abu Abbas Muhammad. The most striking feature remains the minaret, which rises approximately 25 meters from the northwestern corner. It features three distinct levels with a square base, a design choice that deviates slightly from the cylindrical forms seen in eastern Islamic architecture but aligns perfectly with the Maghrebian tradition. The stonework on the minaret includes decorative niches and Kufic inscriptions that date back to 10th-century Zirid renovations. If you look closely at the upper sections, the geometric patterns reveal a level of craftsmanship that was intended to be visible from the furthest reaches of the city walls.
The interior prayer hall contains rows of columns topped with diverse capitals, many of which were repurposed from earlier Roman and Byzantine structures found in the surrounding region. This architectural recycling was common in the 9th century, yet in Sfax, the arrangement feels more deliberate than in other Tunisian mosques. The prayer hall was expanded multiple times, specifically in 1758 and 1774, to accommodate a growing merchant class. While the mosque covers a significant area within the medina, the irregular shape of its perimeter reflects the organic growth of the surrounding souks. Unlike the Zaytuna Mosque in Tunis, the Great Mosque of Sfax feels more tightly packed into the urban fabric, lacking a massive open courtyard.
Reaching the mosque requires navigating the labyrinthine alleys of the Sfax Medina, which can be disorienting even for experienced travelers. I suggest entering through Bab Diwan, the main southern gate, and following the central artery northward. The mosque sits roughly 200 meters from the gate. While the interior is strictly reserved for Muslim worshippers, the monumental doors are often left open between prayer times. You can stand at the threshold to view the courtyard and the play of light across the prayer hall arches. The northern side of the mosque provides a better vantage point for photographing the minaret without the dense crowds found near the central market stalls.
Because this is an active place of worship rather than a museum, visitors should prioritize modesty. Shoulders and knees must be covered when walking around the exterior perimeter. Friday afternoons are particularly busy due to communal prayers, making it an inconvenient time for casual sightseeing but the best time to witness the living heritage of the city. There is no official entrance fee for the exterior areas or for viewing the doors, though local shopkeepers may offer to take you to a nearby roof for a fee. A small tip of 2 or 3 Tunisian Dinars is usually sufficient for a rooftop view from a neighboring carpet shop, which provides the only way to see the intricate roof tiling and the full scale of the minaret against the city skyline.
The prayer hall is generally closed to non-Muslims to maintain the sanctity of the worship space. However, visitors are permitted to view the courtyard and architectural details from the entrance gates during non-prayer hours.
The mosque was founded in 849 AD during the Aghlabid period under the direction of Ali ibn Salim. It underwent significant structural modifications and artistic enhancements in 988 AD and again in the late 18th century.
The minaret stands at a height of approximately 25 meters and is composed of three tiers with a square base. It is a classic example of North African minaret design, featuring ornate Kufic inscriptions and geometric motifs from the Zirid era.
There is no ticket price or formal entrance fee to visit the exterior or the immediate surroundings of the mosque. If you choose to access a private rooftop for a panoramic view, the shop owner will likely expect a small gratuity of a few Dinars.
It is positioned at the center of the Sfax Medina, at the junction of the main north-south and east-west thoroughfares. The most direct route is a short walk from the Bab Diwan gate near the modern city center.
Muzzy Mahmood One of the oldest Mosques in Tunisia, very calm, amazing place, read Jumma prayer. Highly recommend when visiting Sfax
Paragon Very famous place. Beautiful architecture, really interesting.
Hamdi KARAKAŞ Nice place...
Michal Bielinowicz Historical place.
BenaoumeD One of the oldest mosques in Tunisia Good place to visit Good location in Sfax