In the Andalusian countryside of southern Spain, the white houses of Setenil de las Bodegas seem to have been squeezed into the landscape by an enormous hand. Some buildings stand beneath vast shelves of rock, while others are tucked into natural cavities or rise above the stone that forms their foundations. Along several streets, the cliff itself becomes the roof, creating a striking contrast between whitewashed walls and the warm colours of the exposed rock. This unusual arrangement is not a modern architectural experiment but the result of centuries of people adapting their homes to a dramatic river gorge. Setenil is at once a living village, a medieval settlement, and one of the most memorable examples of cave-based urban architecture in Spain.

Where Is Setenil de las Bodegas?
Setenil de las Bodegas lies in the province of Cádiz in Andalusia, in southern Spain. It is part of the region commonly known as the White Villages, a collection of settlements recognized for their whitewashed buildings, historic centres, and dramatic landscapes. The town sits northeast of the city of Cádiz and is built along the gorge carved by the Trejo River, also referred to in local descriptions as the Guadalporcún River.
The river valley has shaped the layout of the settlement. Rather than spreading across a flat plain, streets follow the curves and levels of the gorge. Natural rock shelters provided protection from sun and rain, and over time residents built walls and rooms that used the cliff as a natural ceiling. The result is a town in which geology and architecture are closely connected.

Why Are the Houses Built Under Rocks?
The most famous feature of Setenil is its troglodytic architecture, a term used for homes and buildings that make use of natural caves or rock shelters. In many places, the rock was not excavated to create a complete underground dwelling. Instead, residents adapted existing cavities and overhangs, closing the open side with masonry walls and adding doors, windows, and interior rooms.
This approach offered practical advantages. The massive stone overhead provided natural shelter and helped moderate indoor temperatures, keeping interiors cooler during hot Andalusian summers and offering protection from rain and wind. Building beneath a rock overhang could also reduce the amount of construction material required. The shape of each natural cavity was different, so the houses developed individual layouts that followed the contours of the stone.

Cuevas del Sol and Cuevas de la Sombra
Two of the best-known streets are Calle Cuevas del Sol and Calle Cuevas de la Sombra. Their names mean Street of the Caves of the Sun and Street of the Caves of the Shade, and together they demonstrate how the gorge creates different living environments. Cuevas del Sol receives more direct sunlight, while Cuevas de la Sombra is covered by a broad rock shelf that spans above the road and makes the street feel like a tunnel.
The streets are lined with white façades, cafés, small shops, and homes built into the rock. Visitors often stop to photograph the contrast between the bright walls and the natural stone overhead. These streets are not artificial sets or abandoned cave dwellings; they are part of a functioning town where people live and work every day.

How the Gorge Shaped the Town
The Trejo River gradually cut into the surrounding rock, producing a narrow valley with steep sides and exposed shelves of stone. This topography created sheltered spaces that people could use long before modern construction techniques existed. The earliest inhabitants could take advantage of natural cavities for shelter, storage, and protection, gradually adapting the landscape to their needs.
As the settlement expanded, buildings occupied different levels along the gorge. Some were placed directly beneath the rock, others stood on ledges above the river, and still others were constructed on the slopes. The town therefore developed vertically as well as horizontally, with narrow lanes and stairways linking different parts of the settlement.

Prehistoric Origins and Early Settlement
Archaeological discoveries in and around Setenil indicate human activity in the area going back thousands of years. Natural caves and sheltered rock formations would have offered attractive places to live in a landscape where shade, water, and protection from the elements mattered. Local tourism information refers to prehistoric finds, including material associated with cave occupation and the area’s long history of settlement.
The present urban settlement, however, took shape much later. The town’s historic core developed around a fortified site that became an important stronghold during the medieval period. The natural gorge made the location difficult to approach and helped give the settlement strategic value during the centuries when control of fortified towns was central to regional power.
Setenil Under Muslim Rule
During the period of Muslim rule in the Iberian Peninsula, Setenil developed as a fortified settlement associated with the Almohad period. Its castle occupied a commanding position above the town, taking advantage of the steep terrain and the natural defences provided by the gorge. The remains of the medieval fortress, including its keep and water-related structures, remain important elements of the historic landscape.
The town’s position made it a significant defensive point in the approaches toward the Kingdom of Granada. The combination of walls, a high castle, narrow access routes, and steep natural slopes made it difficult for attacking forces to capture. The settlement’s medieval identity is still visible in the layout of the old quarter and the surviving castle structures.

The Seven Sieges and the Conquest of 1484
Setenil is especially associated with the campaigns that led to the fall of the Nasrid Kingdom of Granada. Historical accounts describe repeated attempts by Christian forces to capture the fortified town. Its natural defences made the task difficult, and tradition remembers a series of seven sieges before the final conquest by the forces of the Catholic Monarchs in September 1484.
The siege of 1484 was a significant event in the wider campaign toward Granada. The town’s capture opened another route through the mountainous region and strengthened the Christian advance. The date is commemorated in local historical accounts, although details of the earlier attempts are sometimes simplified in popular retellings. The phrase often repeated in connection with the name Setenil refers to the idea of seven sieges, but the exact linguistic origin of the town’s name should not be treated as definitively settled.

How Did Setenil Get Its Name?
The full name Setenil de las Bodegas is often linked in popular explanations to the town’s history and its traditional wine cellars. The final words, de las Bodegas, mean of the wineries or wine cellars, and are commonly associated with the importance of wine production and storage in the local economy in earlier centuries. The town also became known for agricultural products and food traditions connected to the surrounding countryside.
The first part of the name has attracted several explanations, including the familiar association with the seven sieges. Such interpretations are repeated in tourism literature, but historical place names can have complex linguistic origins. It is safer to present the seven-siege story as a traditional explanation rather than as an uncontested etymological fact.
Life in the Town Today
Despite its international reputation, Setenil is not simply an open-air museum. It remains a residential community with shops, schools, services, cafés, restaurants, and businesses serving local people as well as visitors. The town’s economy has traditionally included agriculture and livestock, while tourism has become increasingly important because of its distinctive architecture and historic character.
Local food is an important part of the experience. Visitors may find cured meats, traditional pastries, olive oil, and dishes associated with the wider Cádiz region. The surrounding countryside supports agricultural activity, and the town’s restaurants often combine regional ingredients with familiar Andalusian cooking.

Historic Buildings and Monuments
Beyond the famous cave streets, Setenil has a collection of historic buildings that reflect its medieval and later development. The remains of the castle are among the most important, with the keep providing a visible reminder of the town’s fortified past. The Church of Nuestra Señora de la Encarnación is another major landmark, combining architectural features associated with different periods of construction.
The old town hall and small hermitages also contribute to the historic centre. Walking through the streets reveals how religious buildings, defensive structures, homes, and commercial spaces were fitted into a compact landscape. The town’s heritage is not limited to a single monument; it is the relationship between the buildings, the river gorge, and the rock that makes the whole settlement distinctive.

Festivals and Local Traditions
Setenil maintains a lively calendar of religious and community celebrations. Holy Week is particularly important in Andalusia, and the town’s processions move through streets that are unusually narrow and dramatic. The architecture creates a distinctive setting for these events, with religious images and processions passing beneath rock ceilings and between white façades.
Local fairs and food-related celebrations also reflect the agricultural traditions of the area. The town’s identity is tied to the surrounding countryside, and festivals provide opportunities for residents and visitors to experience local music, food, and customs. Dates and programmes can vary from year to year, so travellers should check the municipal calendar before planning a visit around a particular event.
Walking Through the White Village
The best way to appreciate Setenil is on foot. The historic centre is compact, but its steep streets, stairways, and changes in level mean that comfortable shoes are useful. Visitors can explore the famous cave streets, cross the river, climb toward the castle, and look back across the gorge to see how the town occupies the natural rock formations.
Some streets can become busy during weekends and holiday periods, particularly around Cuevas del Sol and Cuevas de la Sombra. Since many buildings are private homes, visitors should respect residents’ privacy, avoid entering doorways or courtyards without permission, and keep noise to a considerate level. The town’s appeal depends on the fact that it remains a lived-in place.

When Is the Best Time to Visit?
Spring and autumn are often comfortable seasons for exploring Setenil, with milder temperatures than the hottest part of summer. Summer can be very warm in inland Andalusia, although the shaded streets beneath the rock may offer some relief. Winter is generally quieter, but weather can be cool and rainy, especially in the surrounding hills.
Visitors should also consider the timing of local festivals and public holidays. These can bring a lively atmosphere but also increase traffic and demand for accommodation. Because the historic streets are narrow, arriving early in the day can make walking and photography more pleasant.
Why Setenil Is Architecturally Unique
Setenil’s architecture is remarkable because it uses the natural landscape as an active part of the built environment. The rock is not merely a backdrop behind the houses; it forms ceilings, shelters, boundaries, and in some places the dominant feature of an entire street. The result is a close relationship between geology and human settlement that is difficult to find in ordinary towns.
The white façades make the natural stone even more prominent. Rather than covering the rock with a uniform building style, residents have adapted each structure to the available space. The architecture is therefore practical, local, and shaped by generations of small decisions rather than by a single grand plan.
A Town Beneath the Stone
Setenil de las Bodegas is one of Spain’s most memorable villages because its homes and streets appear to grow directly from the cliffs. Its cave-based architecture reflects a long history of adapting to the landscape, while the medieval castle and old churches preserve the story of a strategic settlement that changed hands during the conquest of Granada.
More Than a Photogenic Village


The town’s unusual appearance attracts visitors from around the world, but Setenil is more than a collection of picturesque streets. It is a living Andalusian community with a distinctive history, local food traditions, festivals, and an urban landscape shaped by the Trejo River and the surrounding rock. Its houses beneath the cliffs show how people can build not against nature but in close cooperation with it.
