About this place
Castillo de Ayódar is a medieval castle standing on a hilltop above the village of Ayódar, in the province of Castellón, in the Alto Mijares region of eastern Spain. The ruins sit on the opposite bank of the Ayódar river from the village itself, giving the site sweeping views over the valley and the surrounding Sierra de Espadán.
What is the history behind the castle?
The fortification dates back to the 12th or 13th century and has Andalusi (Muslim) origins. It once belonged to Abú Zayd, the last Almohad governor of Valencia, who eventually passed it on to his son. Ownership later shifted to the Church, then to the Crown, and finally to a succession of noble families who held the estate over the following centuries.
A turning point came in 1611: after the expulsion of the Moriscos from Spain, the settlement was granted a new repopulation charter and became the head of the Barony of Ayódar, with the castle serving as the administrative seat of this small feudal lordship.
Centuries later, during the First Carlist War, Carlist forces occupied the village in 1837 — a brief but telling episode of the internal conflicts that swept through inland Valencian towns in the 19th century.
What will you see on site?
The castle follows an irregular, scattered layout that adapts to the uneven terrain of the hill — a common trait of Andalusi fortifications built without a rigid geometric plan. The most distinctive surviving feature is the keep (torre del homenaje): a solid, square structure, but positioned off-center rather than at the heart of the enclosure. That eccentric placement sets Ayódar apart from the more symmetrical Christian-era castles found elsewhere in the region and reflects how the builders worked with the natural shape of the rock outcrop.
Walking through the ruins, visitors can pick out sections of the defensive walls and trace the outline of the original layout. This is a site for anyone interested in medieval Valencian history and defensive architecture rather than for those expecting a fully restored castle — Ayódar offers genuine stone remains set against the characteristic landscape of Alto Mijares.
How do you get there?
Ayódar lies inland in the province of Castellón, within the Sierra de Espadán mountain range. The easiest way to arrive is by car, following the local roads that connect the Mijares river valley with the surrounding villages of the region. Reaching the castle itself requires a short walk uphill, since the site sits on the hill across the river from the village center — the climb is not long, but the uneven path calls for reasonable footing.
When is the best time to visit?
Spring and autumn are the best seasons, when temperatures in this part of Valencia are mild and the views over the valley and hills are at their clearest. Summers in Alto Mijares can get very hot, which makes the uphill approach to the castle considerably more demanding, especially around midday.
Frequently asked questions
Is Castillo de Ayódar open to visitors? Yes, the ruins are freely accessible as part of the village's historic landscape — there is no ticket booth or fixed visiting hours, though visitors should stay cautious given the state of the remaining walls.
How long does a visit take? Walking up to the site and exploring the ruins typically takes 30 to 60 minutes, depending on your pace and how thoroughly you want to inspect the tower and wall remains.
What makes this castle different from other fortresses in Alto Mijares? Its most notable features are the off-center keep and the irregular, scattered layout — traits typical of earlier Andalusi fortifications, as opposed to the more geometric, symmetrical castles built later under Christian rule.
Are there other attractions nearby worth visiting? The Alto Mijares region and the Sierra de Espadán are dotted with similar medieval castles and hiking trails through a mountainous, sparsely built inland landscape, making Ayódar a good starting point for exploring the wider area.
Nearby places
Earn badges for the places you visit
Download NextOnTrip, discover new places and check off your trails.