On Sunday afternoon, the Meteorological Agency had warned of rising temperatures in 17 Spanish regions.
The city of Jaén in Andalusia, southern Spain, recorded, on Friday, a temperature of 40.3 degrees Celsius.
In a tweet, Spain’s Meteorological Agency said that in Jaén’s case, temperatures were up to 16°C (60.8°F) above average for that time of year.
Temperatures in the rest of the peninsula were at least 7 degrees Celsius (44.6 degrees Fahrenheit) above normal, the agency added.
AEMET spokesperson, Ruben del Campo, said: “This episode is very unusual in the middle of May and could be one of the most intense in the past 20 years.”
The early hours of Saturday morning were “unusually warm” at this time of year across much of central and southern Spain, according to AEMET.
In many places, early morning temperatures didn’t dip below 25 degrees Celsius (77 degrees Fahrenheit) – something the weather agency said was “unheard of on the peninsula in May.”
AEMET also said Segovia experienced its first-ever “tropical night” in May, which is defined as a night when temperatures don’t drop below 20 degrees Celsius (68 degrees Fahrenheit).