The origins of the cave dwellings in Guadix date back to the Iberians, a pre-Roman civilization. These early inhabitants made cave-like dwellings by excavating the soft, sedimentary rock. In recent centuries, various populations, including the Romans and the Moors, further expanded these cave dwellings.