Historia geológica Locality Setenil de las Bodegas

Setenil, the Gorge That Became Home

The Guadalporcún cut a gorge through Setenil, and the town found a place to live in its walls. From this meeting of river, rock, and houses emerged a landscape where geology is part of the town itself.

Houses in Setenil beside the hillside, in a landscape shared by the river and the town.

Houses in Setenil beside the hillside, in a landscape shared by the river and the town.

Photo: Makoki20, CC0 — commons.wikimedia.org

From the castle, Setenil’s streets descend a steep slope and follow the course of the Guadalporcún. At the bottom, the river cut a gorge into the rock; there, houses cling to the wall, and some lie beneath its overhang. This is more than an unusual way of occupying space: it is the visible imprint of two different kinds of work. The river carved the landform, and the inhabitants later made use of that cut to build. The town unfolds between the two, stepping down from the fortress to the valley floor.

The Guadalporcún cuts the gorge

The river is the first protagonist in this story. The cut that runs through Setenil is not an abstract feature of the landscape: it is the gorge the Guadalporcún carved as it passed through the town. Where the ground rises on both sides, the river occupies the bottom and leaves rocky walls that shape the space. The difference in elevation becomes an everyday feature of the town: its streets do not form a flat grid, but follow the slopes and the course of the water.

The layout of the town makes it possible to read this course. The castle stands above; from there, the settlement descends and adapts to the river, until the steep drop and the rock provide shelter for homes in the lower area. The rock is not merely a backdrop to the houses: in some places, it extends over them. The valley, then, does not separate Setenil from the river. It defines the layout the town has made use of and the setting in which its buildings come together.

The rocks beneath the municipality

The geotechnical survey offers a picture of the subsurface across the municipality. It classifies 71.82% of the materials within the municipal boundaries as limestone, dolomite, and marble. It also records compact gravel and sand, accounting for 11.84%, as well as fine sand and silt, at 3.97%, and white or soft expansive clays, at 2.85%. These are distinct material groups, and the figures describe the municipal territory; they do not automatically identify the composition of every wall or home.

To understand Setenil’s most recognizable feature, the essential link is more direct: the gorge was created by the river. A watercourse that cuts through the ground leaves a low-lying strip and exposes its banks; here, that resulting landform became space for streets and homes. The geotechnical percentages help describe the variety of materials found in the municipality, while the Guadalporcún explains the specific feature that dominates the town center. This is how the landscape carved by the river can be distinguished from the broader picture of the local subsurface.

Caves preserve an ancient trace

The relationship between Setenil and rocky spaces goes back a long way. Objects found in caves in the area indicate that they were inhabited around 5,000 years ago. This evidence places human presence in the municipality far earlier than the medieval fortress, though it does not establish that the present-day homes beneath the gorge are a continuation of those earlier occupations. These are traces from different periods, gathered in the same territory, where the rock has provided habitable places.

There is a long gap in time between that ancient occupation and the Setenil known for its fortress, and the available evidence does not fill it with an unbroken sequence. What can be clearly traced is how the landform and settlement left distinct marks: the caves preserve objects associated with a presence dating back millennia; later, the elevated position and layout of the town are linked to a fortified settlement. The rock does not tell just one story, but several, each with its own traces.

The castle withstands seven sieges

In the 13th century, the Nasrid fortress centered another Setenil around an elevated position. Its complex included a citadel, a keep, a medina, baths, a mosque, and the Coracha-Mina, a structure designed to supply water. The fortress retains 530 meters of defensive walls and nearly 40 towers, as well as much of its medieval urban fabric. The terrain alone does not explain the military history, but the settlement raised above the river and its steep slopes provide the setting for its defense.

The Castilian Crown sought to take Setenil as it advanced toward Granada. In 1407, the siege failed to conquer the town; after that defeat, Setenil was considered almost impregnable. From the time of Juan II through the reign of the Catholic Monarchs, the town endured seven sieges. The conflict lasted for decades: those who sought to take the stronghold faced a fortress that continued to stand, while the population held its position on the frontier between two powers.

The outcome came on September 21, 1484, when the last of those sieges ended in a Castilian victory. The fall of the fortress changed who ruled the town, but it did not erase the settlement built around it. The castle, its walls, and the streets of the old town remain traces of a defense that had made Setenil a contested target. The landform remained; what changed was who governed the stronghold.

Houses cling to the wall

In the lower part of town, the inhabitants found another way to live with the rock. The houses beneath the gorge belong to a type known as “shelters beneath rock overhangs”: rather than excavating the wall, they close it off and extend the home along it. The rock serves as a roof or boundary, while the building occupies the available strip in front of the wall. These are not caves hollowed out to make houses, then, but shelters already provided by the landform, completed with walls.

Viviendas bajo un saliente rocoso en Setenil, un ejemplo del abrigo bajo rocas descrito para la localidad.

Viviendas bajo un saliente rocoso en Setenil, un ejemplo del abrigo bajo rocas descrito para la localidad.

Foto: Falconaumanni, CC BY-SA 3.0 — commons.wikimedia.org

This solution makes the difference between the work of the river and that of its inhabitants visible. The river carved the cut; the people made use of one of its features to shelter their homes. The house does not conceal the wall, but is arranged alongside it and follows its length. In this meeting, geology ceases to be a distant backdrop: it shapes the arrangement of the buildings and makes the urban route legible as a route through the gorge as well.

Above and below, the town maintains two ways of relating to the same change in elevation. The fortress occupies the high ground; the sheltered homes make use of the rocky wall in the lower area. Between them, streets and neighborhoods follow the slope and adapt to the river’s course. There is no need to assume that the same rock underlies every one of these places to recognize the continuity of the landscape: the Guadalporcún’s cut links spaces built in different ways and allows the landform to shape the town.

From fortified town to historic ensemble

After the conquest, Setenil was declared a town belonging directly to the Crown and received a Charter of Privileges in 1501. Its inhabitants made their living from growing grapes and cereals, from the surrounding woodland, from livestock, and from fishing. In the 17th century, after numerous legal disputes, they gained independence from Ronda through a pragmática signed in 1630. The town had changed its lordship and political status; the river, the slope, and the settlement that had grown alongside them remained.

Local life faced further conflicts in later centuries. In the 19th century, the people of Setenil joined those of other towns in the mountains of Cádiz in guerrilla resistance to the French occupation. Much later, emigration shaped the second half of the 20th century. After that period, the municipality continued its traditional agricultural activities and added tourism, drawing on its urban fabric and the surrounding area. In 1985, the town was declared a historic-artistic ensemble.

The result is there to be seen: Setenil preserves a fortress that was besieged seven times, streets that descend from it, and homes that make use of the shelter of the rock without excavating it. The military episode ended with the conquest of 1484; the landscape’s story continued in the houses fitted to the river’s cut. The Guadalporcún carved the gorge. The town made its walls a place to live.

Ground types in Setenil de las Bodegas

Characteristic soils in the area, ordered by relevance.

  • Gravas y Arenas compactas
    Neutral

    Compact gravels and sands

    High-compacity granular deposits, typically associated with old fluvial terraces (Ebro, Duero, Tajo, Guadalquivir rivers) and Pleistocene glacis. They have no cohesion (they are not clays) but their a

    View details
  • Arenas finas y limos
    Hazard

    Fine sands and silts

    Fine to very fine granular soils with medium to loose compacity. Typical of floodplains and coastlines. Although they can support light buildings, they are treacherous soils linked to water processes:

    View details
  • Arcillas Expansivas Blancas/Blandas
    Hazard

    White/Soft Expansive Clays

    The great queens of pathology in civil building in Spain. They are frequently found in the lands of barros of Córdoba and Badajoz, the vegas of the Guadalquivir (Mairena, Carmona), the Miocene basin o

    View details

Seismic risk in Setenil de las Bodegas

Low
Maximum recorded magnitude M 2.6 Richter scale
MaxM 2.6
MediaM 1.93
Max Media
Recorded events
32
Between 1996 and 2026
An earthquake of similar maximum magnitude (M ≥ 2.1) occurs approx. every 3 years.
Largest recorded
  • 1 M 2.6 2026
  • 2 M 2.5 2019
  • 3 M 2.5 2019
Last recorded earthquake
2026
M 1.5 · this year
Indicative historical seismicity data. The minimum magnitude considered is 1.5. Source: Seismic Portal (EMSC/IGN).
Geotechnical study

Do you need a geotechnical study in Setenil de las Bodegas?

Request a no-obligation quote. We’ll advise you on the type of study you need.

  • Studies signed by a licensed geologist
  • Compliant with the CTE and Eurocode 7
  • Coverage throughout Spain
4,9 / 5

Más de 1000 estudios realizados

Request a free quote

Just one more little step...

We can contact you via WhatsApp, phone, or email, whichever you prefer.