First signs of human activity begin in the Quaternary period, approximately 2.7 million years. The oldest evidence of human occupation in La Subbética are rare and go back to the Paleolithic (Middle-Late Pleistocene) where there were very radical climatic variations. During the glacial periods, the great masses of ice did not reach the south of the Iberian Peninsula, but the climate was strongly affected, which led to a general use of caves as a refuge.
The Neolithic period took advantage of a better climate and began to modify the landscape with the development of agriculture and livestock, and the construction of villages. With the Iberians the first cities emerged of fortified enclosures built on hills, with cyclopean walls, and the Roman Subbetica enjoyed great splendor, with the cultivation of olive trees and vines.
After the advance of Castilian-Leonese Spain, the Subbética remained for several centuries as a borderland between Muslims and Christians. The ongoing dispute of territory left a multitude of watchtowers, walls, bridges, castles, some of which remain standing, on rocky headlands, sheltered by hamlets.