This chapter surveys the limited evidence on Islamic palatial architecture in the Western Mediterranean during the Early Modern Period. Northern Africa was weakly incorporated into the Ottoman Empire as the Barbary States. In the capital cities– Tripoli, Tunis and Algiers – leaders took on the trappings of traditional Islamic rulers and preserved the earlier architectural styles and concepts of space in their palace designs. In Morocco a succession of Berber and Arab dynasties resisted the Ottomans and united the far-western Maghreb. These rulers underpinned their rule by religious ideology and built huge palatial cities featuring a diversity of architectural forms at the “royal cities” (Fes, Marrakesh, Rabat and Méknes) – though, for the most part, the chief typologies and spatial concepts were developed in previous centuries. Towards the end of the period, the growing influence of European colonialism brought an end to the tradition of Islamic architecture in both regions.