Situated 20 kilometres north of the capital city along highway N331, Casabermeja has since long been considered the gateway to Málaga. Casabermeja counts among its many treasures remains from the prehistoric, Roman and Visigothic periods. However, little is know about its history before the 16th century. Apparently, the first historic data were recorded under the reign of the Catholic king Fernando. In 1509, he ordered the construction of a new village "for no more than sixty people", named Casabermeja. Apparently, the inhabitants did not adhere to this numeric restraint.
Among the highlights of the village are the Zambra tower, an Arab watchtower built in the 13th century, the church of Nuestra Señora del Socorro, built in the early 1500's, and the monumental graveyard San Sebastian, a national cultural monument with ancient burial mounds, vaults and pinnacles. Dating back even further are the Peñas de Cabrera, a collection of prehistoric cave paintings. The Mirador de Mallen, some 6 kilometres from the village, offers amazing panoramic views.