The Great Mosque of Mahdiya (Arabic: الجامع الكبير في المهدية) is a mosque that was built in the tenth century in Mahdia, Tunisia.