Open Travel Guide
  1. Home
  2. Destinations
  3. Spain
  4. Andalusia
  5. History
  6. Castillo de Baños de la Encina

History · Andalusia, Andalusia

Castillo de Baños de la Encina

  • EraUmayyad Caliphate (10th century)

The Castillo de Baños de la Encina is a Moorish ring fortress crowning a hill above the village of Baños de la Encina in the province of Jaén, in the interior of Andalusia. It was constructed in 968 by order of the Umayyad Caliph Al-Hakam II as a frontier stronghold defending the northern territories of the Caliphate of Córdoba against the expanding Christian kingdoms of Castile and León.

One of the best-preserved Moorish castles in Spain — a 14-tower ring fortress built by the Caliph Al-Hakam II, still largely intact. Sits on a hill above the medieval village of Baños de la Encina in Jaén's olive country.

The Castillo de Baños de la Encina is a Moorish ring fortress crowning a hill above the village of Baños de la Encina in the province of Jaén, in the interior of Andalusia. It was constructed in 968 by order of the Umayyad Caliph Al-Hakam II as a frontier stronghold defending the northern territories of the Caliphate of Córdoba against the expanding Christian kingdoms of Castile and León. The fortress is among the most authentically preserved examples of Umayyad military architecture remaining in the Iberian Peninsula.

The plan consists of a roughly oval curtain wall of rammed earth (tapial) reinforced with fired brick, punctuated by 14 towers — 13 square towers and one distinctive cylindrical tower, the Torre del Homenaje (keep), added after the Christian reconquest. The towers project outward from the curtain wall at regular intervals to allow flanking defensive fire. The main gate, the Puerta de la Victoria, retains its horseshoe arch in the characteristic Umayyad style. The total perimeter of the walls extends to approximately 550 metres, enclosing an interior area large enough to shelter the population of the surrounding territory in times of siege.

Following the collapse of the Caliphate of Córdoba in the early 11th century, the castle passed through multiple Muslim taifa rulers before the region became a contested frontier between the Almohad dynasty and the Kingdom of Castile. Fernando III of Castile captured the fortress in 1227, after which it was garrisoned as a Castilian frontier post. The village of Baños de la Encina developed below the castle walls during the later medieval period and preserves a largely intact historic centre.

The fortress was declared a Monumento Nacional in 1931 and is listed as a Bien de Interés Cultural. Restoration work in the late 20th century stabilised the curtain wall and towers. Guided visits, coordinated by the Ayuntamiento de Baños de la Encina, are available on weekends; the castle's remote location in Jaén's olive-growing country means visitor numbers remain very low compared to the major Andalusian heritage sites.

Why it matters

Constructed in 968 by Caliph Al-Hakam II as part of the Caliphate of Córdoba's northern defensive line, this 14-tower ring fortress is among the most authentically preserved examples of Umayyad military architecture on the Iberian Peninsula.

Location

38.1716, -3.7758 View on map

Highlights

  • The 14-tower ring curtain wall in rammed earth (tapial) and fired brick — the best-preserved example of Umayyad frontier military architecture in Spain
  • The Puerta de la Victoria — the original 10th-century horseshoe-arch entry gate in the Umayyad style, intact from 968
  • Panoramic views over Baños de la Encina village, the Jaén olive groves, and the Sierra Morena foothills from the curtain wall walkway
  • The Torre del Homenaje (keep) — the single cylindrical tower added after the Christian reconquest, contrasting with the 13 square Umayyad towers

Tips for visiting

  • Visits are guided only and available on weekends (Saturday and Sunday 10 AM to 2 PM); contact the Ayuntamiento de Baños de la Encina in advance to confirm availability.
  • Combine the castle visit with a walk through Baños de la Encina village — one of the best-preserved medieval villages in Jaén, with a traditional Plaza Mayor.
  • Baños de la Encina is roughly 50 kilometres north of Jaén city on the A-6001 road; no regular direct public transport from Jaén operates — a car or private hire is needed.
  • Admission is €3; arrive a few minutes before 10 AM as groups are small and the guide begins promptly.

Frequently asked questions

Is the castle open to the public without a guide?

No — visits are guided only, available on weekends. The Ayuntamiento de Baños de la Encina manages access; contact them in advance to confirm times and ensure the guide is available.

How long does a guided visit take?

The guided tour of the castle takes approximately 1 hour and covers the curtain wall, the main gate, the towers, and the interior courtyard with explanations of Umayyad construction techniques.

How do visitors reach Baños de la Encina?

The village is approximately 50 kilometres north of Jaén city on the A-6001 road. There is no regular direct public transport from Jaén; a car or taxi is the most practical option for most visitors.

Is the castle accessible with limited mobility?

The curtain wall walkway and towers involve steps and uneven terrain. The interior courtyard at ground level is accessible. The guided tour route includes sections that may not be suitable for visitors with significant mobility limitations.