Military architecture in the Islamic west is evidence to the ingenuity of design, planning and the link between form and function in Islamic architecture in general and in the West in particular. These buildings were not rigid fortresses, castles and gates. Rather, the Muslim inscriber placed on it floral and geometric decorations and the inscriptions in particular, that draw the atention of who pass by or enter it, with its religious and Foundation texts that represented a reflection of the political life in these eras. Therefore, this study focuses on the inscriptions on the gates of the cities and Kasabahs of Morocco in Almohad and Alawite Eras in terms of the visual aspect of these inscriptions in form and content, where the visual study is one of the most important modern studies in the field of archeology, whether from an architectural or even a technical point of view.