The Great Mosque of Sfax is the principal mosque of the medina and one of the most historically significant buildings in Tunisia. Founded in the 9th century by the Aghlabid rulers of Ifriqiya, it has been expanded and modified over the centuries but retains its original minaret, which is among the earliest surviving examples of Islamic religious architecture in the Maghreb.
Non-Muslims are generally not permitted inside, but the exterior — particularly the minaret and the carved marble portal — can be admired from the surrounding lanes. The mosque sits at the heart of the medina, and the lanes converging on it are among the most animated in the old city.