Iznájar Castle

Hisn Ashar: The Sentinel of the Genil

The Cheerful and Quarrelsome Castle

This castle is an “eagle’s nest” crowning the Subbética. Its Arabic name, Hisn Ashar, holds a duality: it means “Cheerful Castle,” but also “Warlike Castle.”

It was the epicenter of the Muladi rebellion of Umar ibn Hafsun in the 9th century and a key piece in the Nasrid frontier. In 1362, Peter I “The Cruel” conquered it with the help of the Sultan of Granada in a strange alliance. Its walls also inspired the poet Rafael Alberti, who dedicated immortal verses to it after his visit in the 1920s.

View of Iznájar Castle

Secrets and Legends

From secret passages to verses of the Generation of ’27, the fortress holds fascinating stories.

Rafael Alberti
Alberti’s Tower

Rafael Alberti visited Iznájar in the 1920s and was so impressed that he wrote the poem “Torre de Iznájar.” Today, the Keep houses a corner dedicated to the poet.

Umar ibn Hafsun
The Muladi Rebellion

In the year 886, the rebel leader Umar ibn Hafsun took the castle, turning it into a devastating base of operations against the Emirate of Córdoba, controlling the Genil valley.

Queen's Cave
The Queen’s Cave

Legend tells that there was a secret passage to the Genil river. Some Christian knights captured a servant of the Moorish queen when she went down to bathe, forcing her to reveal the entrance.

The Cistern
Thermal Engineering

The castle’s great cistern maintains a constant temperature of 16-17°C throughout the year, regardless of the outside heat, a marvel of Andalusi engineering.

Peter I
The Strange Alliance

In 1362, Peter I of Castile conquered Iznájar with the help of Muhammad V of Granada. Four years later, he returned the castle to the Nasrid sultan, a unique case of frontier diplomacy.

Ducal Residence
From Fortress to Palace

In the 18th century, the castle lost its military function to become the residence of the Duke of Sessa’s administrator. Windows were opened in the defensive walls and interior gardens were created.

Architecture of Iznájar Castle

Iznájar Castle Architecture

A tour of the defensive and domestic structure of Hisn-Ashar, from its watchtowers to daily life inside.

🏰
Keep

This imposing prismatic structure is the most visible element of the fortress. Built with masonry and ashlar reinforcements at the corners, it stands strategically on the southwest side. Its function was twofold: to serve as the lord’s residence and act as the last impregnable defensive bastion.

Last Shield Located to the southwest to dominate the valley, it functioned as an isolated compartment: if the castle fell, this tower was the last defensive refuge.
💧
The Great Cistern

In the center of the courtyard is a huge water tank from the Islamic period (probably 10th-11th century). Rectangular in plan and covered by a brick barrel vault, its sophisticated collection system guaranteed drinking water to the garrison during long sieges.

Survival Given its sacred and vital importance in a culture of desert origin, this tank collected rain from the roofs to withstand droughts and sieges.
⚔️
The Parade Ground

More than a simple military esplanade, Iznájar’s parade ground is a living archaeological site. Excavations have brought to light the complex urban fabric of the citadel, revealing a superposition of Islamic and Christian structures that coexisted for centuries.

Crossroads of Cultures It is an architectural puzzle: to the east it preserves Islamic dwellings, to the west Christian structures, and to the north a building erected by King Peter I.
🛡️
The Wall-walk (Adarve)

The round path or wall-walk runs along the top of the walls, connecting the different towers. This narrow elevated corridor allowed the guard to watch the horizon and move quickly to defend any point of the perimeter against an enemy attack.

Frontier Land From this elevated round path, one can perfectly glimpse how Iznájar was a defensive frontier, merging today with a landscape of water and olive trees.
🐎
The Stables

In the lower area is located a vaulted room traditionally identified as stables or guard room. Today, this cool and robust space houses an exhibition of ancient trades, connecting military history with the town’s artisanal tradition.

The Queen’s Cave At its entrance, the access to the legendary secret grotto that led to the Genil river, where the Moorish queen went down according to legend, can be observed.
🏺
Residential Zone

Archaeological excavations in the eastern sector have unearthed a set of dwellings from the Nasrid period. These domestic structures, with their small rooms and kitchens, offer us a unique window into the daily life of the Muslim inhabitants of the fortress.

Hidden Life Under the administrator’s house (18th century) appeared remains of Nasrid architecture of great value, demonstrating the importance of Iznájar in the Kingdom of Granada.

Chronological History

8th – 9th Century

Hisn Ashar

Construction of the Islamic fortress. In 886, Umar ibn Hafsun takes it and turns it into a rebel bastion against Córdoba.

1362

Peter I the Cruel

Castilian conquest with Nasrid help. The first church is built. In 1366, the castle is returned to Granada.

15th Century

Definitive Conquest

Iznájar passes definitively to Castile and is integrated into the domains of the House of Fernández de Córdoba (Duchy of Sessa).

18th Century

Residential Use

The castle is transformed into an administrative dwelling, losing military elements and gaining domestic comfort.

1950s

Prieto Moreno Restoration

Historicist intervention that adds battlements and consolidates the ruin, creating the current image of the castle.

2006 – 2008

Scientific Recovery

The City Council acquires the castle (1991) and executes a comprehensive archaeological restoration for its tourist opening.

Image Gallery

Plan Your Visit

“Discover the balcony of the Genil in the Subbética”

Hours

Tuesday to Sunday: 10:00 – 14:00

Afternoons (Fridays and Saturdays): Consult season

Closed Mondays
Tickets and Contact

General: 2€ | Reduced: 1€

Tourist Office: 957 53 44 79

turismo@iznajar.es

C/ Villa, s/n (La Villa Neighborhood)

Don’t Miss

The Comedy Courtyard (Patio de las Comedias) and the Reservoir Viewpoint

More Castles in Córdoba Province

Discover the complete defensive network. Click on the map numbers or use the search bar below.

Cordoba Castles Map
Iznájar Castle – Iznájar Town Council
Asset of Cultural Interest
Zoom