Temperatures this week are expected to be 15 to 20 degrees Celsius above normal for this time of year, with a chance they could hit 40 degrees Celsius (104 degrees Fahrenheit) in some places.
In large parts of Spain, temperatures have exceeded 30 degrees Celsius (86 degrees Fahrenheit).
Nighttime temperatures are also forecast to remain high, not dipping below 20 degrees Celsius (68 degrees Fahrenheit) in some places.
Schools in central and southern Spain are concerned about protecting students and staff from overheated classrooms that don’t have air conditioning, Spanish media reported.
The high temperatures come as a prolonged drought has gripped parts of southern Spain, as well as the northeast of the country, near Barcelona.