Kasbah Mahdiyya (Arabic: قصبة المهدية‎) is a kasbah located near the city of Kenitra, Morocco. It is situated at the downstream of Sebou River in the vicinity of the Atlas Mountains, 12km from the city of Kneitra.[1] The kasbah was built during the era of Almohad sultan Abd al-Mu'min, and restored during the Alaouite period in the 17th century.