Jaén · Andalucía
Baños de la Encina
- Province
- Jaén
- Declared
- 1966
- Status
- Conjunto Histórico
- Population
- 2500
- Elevation
- 329 m
Baños de la Encina is a heritage town in the province of Jaén, Andalucía, Spain. It was designated a Conjunto Histórico (Spain's national heritage designation for historic ensembles) in 1966. Population 2500 (2020), elevation 329m.
Baños de la Encina contains the most complete and best-preserved Moorish castle in Spain: a 10th-century Caliphal fortress with 14 towers and an arched gateway that appears almost untouched by eight centuries of weather, looming over a small agricultural village that seems barely to notice its extraordinary good fortune.
Key facts
- Province
- Jaén
- Heritage status
- Conjunto Histórico (declared 1966)
- Population
- 2500 (2020)
- Elevation
- 329 m
History of Baños de la Encina
Baños de la Encina was the site of the Caliphal fortress of Burgalimar, built by Abd al-Rahman III of Córdoba in 967 CE, according to an inscription on the main gate — one of the rare cases where the precise year of a medieval Islamic construction is known. The castle was built to control the Despeñaperros pass, the main route between Castile and Andalucía. It fell to Alfonso VII of Castile in 1147 and was briefly held by the Almohads before Christian reconquest in 1213.
Baños de la Encina itself developed as a small agricultural settlement below the castle. The castle's remarkable preservation is partly explained by its lack of strategic importance after the Reconquista — it was not significantly remodelled or damaged in subsequent centuries.
Heritage & Monuments
The Castle of Burgalimar is the reason to come: a near-perfect horseshoe-plan Caliphal fortress enclosing a large courtyard, with 14 semicircular towers, a keep (torre del homenaje), and the Puerta de Términos, an arched gateway with the original 967 CE foundation inscription. The exterior walls and towers are made of thin brick in the Caliphal style, with limited later additions. The interior can be visited.
It is considered one of the best examples of Caliphal military architecture surviving anywhere in the world. The village below is small and quiet, with a simple parish church and a few bars. The surrounding landscape of olive groves and the Despeñaperros Natural Park provides context for the castle's strategic importance.
Practical Travel Info
Baños de la Encina is 35 km north of Jaén and 60 km from Úbeda, reached via the A-32. There is limited public transport; a car is advisable. The castle can be visited daily; guided tours run at set times.
Allow 1.5 hours. The village has a bar-restaurant beside the castle. Combine with a visit to Úbeda and Baeza for a Jaén heritage day.
Traditional food & drink in Andalucía
- Gazpacho
- — A cold soup of raw blended tomatoes, peppers, cucumber, garlic and olive oil — the taste of an Andalusian summer.
- Salmorejo
- — A thicker, creamier cousin of gazpacho from Córdoba, topped with chopped egg and jamón.
- Pescaíto frito
- — Lightly floured small fish flash-fried in olive oil — the classic coastal snack.
- Jamón ibérico
- — Cured ham from acorn-fed Iberian pigs, with prized denominations in Huelva and the Sierra.
- Sherry (Jerez)
- — The fortified wine of the Jerez triangle, from bone-dry fino to sweet Pedro Ximénez.
Watch: Sherry (Jerez)
Location
Quick answers
Is Baños de la Encina worth visiting?▾
Baños de la Encina contains the most complete and best-preserved Moorish castle in Spain: a 10th-century Caliphal fortress with 14 towers and an arched gateway that appears almost untouched by eight centuries of weather, looming over a small agricultural village that seems barely to notice its extraordinary good fortune.
Why is Baños de la Encina a heritage town?▾
Baños de la Encina is officially designated a Conjunto Histórico, declared in 1966 — Spain's national protection for historic town ensembles (Conjuntos Históricos).
What is the traditional food in Andalucía?▾
Andalucía is known for Gazpacho, Salmorejo, Pescaíto frito and Jamón ibérico. You'll find these regional specialities in and around Baños de la Encina.
Which heritage towns are near Baños de la Encina?▾
Nearby heritage towns include Úbeda, Baeza and Linares.
Where is Baños de la Encina?▾
Baños de la Encina lies in the El Condado comarca, in the province of Jaén, Andalucía, Spain.
How big is Baños de la Encina?▾
Baños de la Encina has a population of about 2500 (2020), and sits at 329 m above sea level.
Nearby heritage towns
A UNESCO World Heritage city in Jaén, Úbeda holds what archaeologists say is the oldest scientifically documented urban site in western Europe, surrounded by Renaissance palaces, medieval churches, and the layered stones of six thousand years of continuous human presence.
A UNESCO World Heritage city in Jaén, Andalucía, where Bronze Age foundations lie beneath Roman, Visigoth, Moorish, and Renaissance stone, all within a single historic centre.
Linares was one of the great mining cities of the ancient world — the Castulo site outside town rivals any Iberian-Roman city in Spain — and is famous in taurine history as the ring where Manolete, the greatest bullfighter of the 20th century, received his fatal horn wound in 1947.
Last updated 20 June 2026.