This article reviews the history of military architecture in the Maghreb (North Africa) under Islamic rule from the 7th century onward.