Eight places in Portugal broke local temperature records Friday as a wave of heat from North Africa swept across the Iberian peninsula - and officials predicted the scorching temperatures could get even worse over the weekend.
Temperatures built to around 45 degrees Celsius (113 degrees Fahrenheit) Friday in many inland areas of Portugal and were expected to peak at 47 C (116.6 F) in some places Saturday.
Large sections of Portugal are on red alert on the Civil Protection Agency's danger scale.
The highest temperature recorded Thursday, when the heat began to rise, was 45.2 C (113.4 F) near Abrantes, a town 150 kilometres (93 miles) northeast of the capital, Lisbon, the country's weather agency IPMA said.
Portugal's highest recorded temperature was 47.4 C (117.3 F) in 2003.
Emergency services have issued a red alert through Sunday, placing extra services such as medical staff and firefighters on standby.
In Portugal's southern Alentejo province, streets were largely deserted.
Some farmers chose to work during the night instead of in the heat of the day.
Beaches around Lisbon, the capital, were packed.
Some 400 firefighters and five water-dropping aircraft, meanwhile, were battling a wildfire in southern Portugal's Algarve region.
Portugal sees large wildfires every year, although unseasonably cool weather through the end of July has meant fewer blazes in 2018.
The government says only about 15 per cent of the 10-year average area has been charred so far this year.
Temperatures were being driven higher across the Iberian peninsula by a hot air mass moving northward from Africa, which is also bringing dust from the Sahara Desert, meteorologists said.
The dust gave the sky a dark yellow hue in some places.
In Spain, heat warnings were also issued for 41 of the country's 50 provinces as temperatures were expected to reach up to 44 C (111.2 F).
Spain's highest recorded temperature is 46.9 C (116.42 F) in Cordoba, a southern city, in July 2017. The World Meteorological Organization says continental Europe's record is 48 C (118.4 F) in Greece in 1977.