One of the southern stone gates of the second wall of Fatimid Cairo, it was built by the vizier Badr Al-gamaly at the reignof the Fatimid Caliph Al-MostanserBellah 485 H/ 1092 AD. The origin of this name comes from the Zewayla Berbers tribe, which came with the leader of Fatimid armies "Gawhar Al-Sekely" from North Africa and settled close to the Gate which has another name "Bawabat Al-Metwally".There are many explanations for this name; one of them suggests that the people of the area believe that the spirit of Al Metwally; one of the pious worshipper of Allah, lived at the Gate spot, whereas the most reasonable opinion is that it was the place where the accountant (Metwalli Al-Hisba- Muhtesip) in the Fatimid period used to sit.
Bab Zewayla derived its historic importance from the famous accident tackled by the historical resources, which is the hangingof the last Sultan of Mamelukes, Sultan (Toman Bay) on it by the Ottoman Sultan "Selim I" at the beginning of the 10th H. / 10th AD Centuries.
The gate consists of two circular towers, at the upper thirdof each, there is defense room for soldiers, and it has a wooden gate weighing 4 tons covered with bronze. The two towers of Bab Zewayla are distinguished by their two majestic minarets. During the establishment of the mosque of Al-Mo'ayad Sheik by one of the Circassian Mamelukes sultans at the 9th Cen. H / 15th Cen. AD the architect used the two towers of the Gate as a base for the two minarets by creating holes in the two defense rooms and building the bases of the two minarets inside. The gate was decorated with raised and sunken relief on the rocks.There is also rectangular recess at the two façades of the Gate as well as the looped and shell shaped recesses.