The fire that caused €1million worth of damage at Cordoba’s Mosque this week has sent a blunt message: no monument, no matter how heavily guarded, is safe from disaster.
In that case, a short circuit in a cleaning machine sparked the flames – and while firefighters contained it quickly, the sight of smoke billowing from one of Spain’s most treasured landmarks was enough to set alarm bells ringing nationwide.
Now, Granada’s Alhambra is taking no chances. Backed by the Junta de Andalucia and the Digital Agency of Andalucia, it is building a ‘digital twin’ – a full AI-powered replica of the Nasrid palace complex designed to simulate emergencies and sharpen evacuation plans.

Simulating the worst to save the best
This isn’t just a 3D map. Sensors dotted across the Alhambra will feed real-time data into the system, detecting heat spikes, crowd build-ups, and even predicting how a fire could spread based on wind conditions.
In a crisis, it could instantly suggest safe evacuation routes, tell firefighters where to hit first and protect the most vulnerable areas.
The system will also help manage earthquakes, extreme weather and other emergencies – turning static paper protocols into live, adaptive plans.
From firefighting to prevention
With more than 2.5 million visitors a year, prevention is as critical as response. The €3.2 million project, due to go live in March 2026, will also help control tourist flow, monitor fragile zones, and predict conservation needs before damage happens.
It could even map the site’s flora and fauna, cut resource waste, and measure environmental impact in real time.
If a blaze like Cordoba’s Mezquita ever hits the Alhambra, AI could be the difference between a scare and a catastrophe.
And if it works here, this digital twin could set the gold standard for protecting heritage sites across Spain.
Read more Andalucia news at the Spanish Eye.