Last summer was Europe's hottest on record, smashing temperature records in countries including Italy, Spain and Croatia.
July was the hottest month recorded in Spain since at least 1961 when Spain's meteorological service began its register.
The met agency suggests that the current heat wave could prove to be "the most potent" ever recorded.
Soldiers worked to reach drivers stranded for hours on roads around Madrid.
In the last decade, 23 heat waves have been recorded, compared to 11 or 12 in each of the previous three decades, according to Aemet.
Temperatures will soar upwards of 40 degrees in parts of Gran Canaria on Friday and it will be hot and sweaty overnight with lows 28-30 degrees.
The highest for the entire month was 42.2ºC in Hondarribia on July 30 followed by 38.8ºC at Burgos/Airport on July 27.
Temperatures are up to 10ºC higher than normal in the Balearic Islands.
Stormy weather on its way to the Peninsula and the Balearic Islands.
Europe, Asia and Africa, as well as the Hawaii and U.S. Gulf of Mexico regions experienced their hottest Junes on record.
Heatwaves in Spain are becoming ten times more frequent than at the turn of the century.
The hottest time of the year is now from around the eleventh of June to the twenty-second of September.
Serra de Tramuntana
- Update: The 90-day rule for Britons in Spain your views keep flooding in " When we’re in Mallorca we also support the local economy"
- Get the Mallorca Beach App!
- One million Brits would benefit from 90-day rule being scrapped in Spain
- Mallorca hoteliers calling for eight-year sentences for British tourists' false claims
- Mallorca Bulletin Reader Offers