Alcaide is a Portuguese and Spanish name, meaning 'castle commander'. It is borrowed from the Arabic term , which literally means 'commander'.
From the Arabic 'commander' it becomes the Spanish form alcayde or alcaide, origin of the Portuguese form alcaide.