Castellar de la Frontera holds two very different ideas of a town within its municipal boundaries: a compact settlement shaped by modern planning and, above it in the historical imagination, a walled medieval stronghold on a rocky height. The contrast gives this corner of Andalucía more texture than its name alone suggests. Its heritage is not confined to one picturesque castle; it extends from a carefully designed public centre to archaeological traces and painted caves in the surrounding landscape.
A stronghold above the rivers
The Castillo de Castellar stands on a rocky rise between two rivers, in a position described in the heritage record as commanding views towards the Strait of Gibraltar and the Rock. Built in the Nasrid period, it was one of the fortresses raised along the Castilian frontier by the kingdom of Granada. Its surviving defences make that strategic past tangible: an irregular circuit of walls, a principal keep, nine smaller towers and one of the original gates. The entrance combines a pointed brick arch with a horseshoe-shaped outer arch, while the route through it turns rather than running straight into the enclosure.
Within the walls, the castle and settlement form a close-knit historic place rather than a single isolated monument. The Alcázar has a polygonal plan, and the keep carries a belvedere with paired semicircular arches. These details reward attention: the character of the stronghold lies as much in its sequence of walls, openings and towers as in its commanding position. The protected town of Castellar Viejo is described as a small fortified medieval city built over a site with Bronze Age, Iberian and Roman evidence. Excavations in 1979 found material from those earlier periods alongside Islamic fortifications and later features within the walls.
A planned town and older traces
The present settlement offers a striking counterpoint. Castellar de la Frontera was among the largest villages built by Spain’s National Institute of Colonisation, and its plan reflects a mid-twentieth-century approach to rural design. The project was approved in 1967 and the village inaugurated in 1972. Its civic centre was conceived as a connected public space, with covered arcades linking major buildings and a layout attentive to the ground’s changes in level. Here, the interest is not medieval: it is in the ambitions and design choices of a planned community.
Other layers are scattered across the municipality. The Torre de la Almoraima, first mentioned in the Andalusi period, rises on a hill near the Guadarranque River. Farther into the landscape, caves and rock shelters preserve evidence of human presence through painted marks and figures. Cueva de las Estrellas, within the Alcornocales Natural Park, contains red-painted motifs including negative handprints, points and animal forms. These places belong to a broader archaeological landscape, not simply to the story of the castle.
Castellar is most rewarding when approached as a meeting of distinct settings and eras: a fortified medieval enclosure, a deliberately composed modern village and traces of much older lives in the surrounding terrain. Together they make the municipality’s history feel less like a single timeline than a landscape repeatedly inhabited, defended and reshaped.