 The municipality belongs to Málaga province, in the autonomous community of Andalusia.In Moorish times, Alpandeire was a fort built by the Saracens after the battle of Guadalete.It is believed that there were human settlements in Alpandeire in pre-historic times, since burial grounds discovered in the area point right to the Iron and Bronze Ages.