Thousands of residents who were forced to evacuate from the region of Madrid returned home on Wednesday as the wildfires had been stabilised.

A day prior, Spanish authorities had lifted over a dozen evacuation orders for municipalities west of the capital of Madrid, where the fire had burned most fiercely.

"24,000 evacuated individuals have been able to return to their homes, and another 20,000 have been released from confinement in the Community of Madrid," central government delegate to the region Francisco Martin Aguirre said on X late on Tuesday.

Regional authorities said weather conditions improved overnight, which helped firefighting teams reduce the intensity of the fires.

On Tuesday, President of the Community of Madrid Isabel Díaz Ayuso wrote the situation was "improving little by little,"