NextOnTrip

Burgalimar Castle

Baños de la Encina, Spain

About this place

Burgalimar Castle stands in the small town of Baños de la Encina, in the province of Jaén, Andalusia. Built in the 10th century under the rule of the Umayyad Caliphate of Córdoba, it is one of the best-preserved examples of Caliphal military architecture on the Iberian Peninsula.

What will you see?

Burgalimar's most distinctive feature is its elongated, irregular curtain wall reinforced by numerous square towers — a layout Caliphal military engineers used to control the defensive perimeter without relying on a single massive keep. At its heart stands an octagonal keep, a shape that sets it apart from most other fortresses of the period and remains one of the castle's signature details. The entrance is framed by a horseshoe arch, a hallmark of Al-Andalus Islamic architecture that survives here in remarkably intact condition. Walking along the walls gives a strong sense of the fortress's scale and its strategic position, with views opening onto the surrounding hills of the Sierra Morena.

The castle sits on a low rise right at the edge of the town, so it's an easy walk up from the center of Baños de la Encina — a small whitewashed town with narrow streets that makes a natural extension of the visit.

How to get there?

Baños de la Encina lies in the northern part of Jaén province, on the foothills of the Sierra Morena, in a region known for its vast olive groves and high-quality olive oil production. Arriving by car is the most convenient option, as the town sits along routes connecting Jaén and Córdoba, making it a natural stop for travelers moving between the two cities. Public transport connections are more limited, so travelers relying on buses should check current schedules from Jaén in advance.

The castle itself is within the town, so no additional transport is needed once you arrive — just a short uphill walk to reach its walls.

When to visit?

Summers in Andalusia can be intensely hot, so spring and autumn are the most comfortable seasons for exploring both the Jaén countryside and the castle itself, with milder temperatures and better light for photographing the stone walls. The region is also known for its olive oil production, and visiting during the autumn harvest adds extra character to a landscape dominated by olive groves.

Frequently Asked Questions

What is Burgalimar Castle? A fortress built in the 10th century by the Umayyad Caliphate of Córdoba, regarded as one of the best-preserved examples of military architecture from that era in Spain.

What is the castle's most distinctive feature? Its octagonal keep and horseshoe-arched gateway, both of which set it apart from other medieval fortifications in the region.

Where exactly is the castle located? In the town of Baños de la Encina, in the province of Jaén, Andalusia, on the foothills of the Sierra Morena.

Is it worth combining the visit with exploring the town? Yes — Baños de la Encina is a small, picturesque whitewashed town that can easily be explored on foot right after visiting the castle.

Nearby places

Earn badges for the places you visit

Download NextOnTrip, discover new places and check off your trails.