A rare deluge of rain has left blue lagoons of water amid the palm trees and sand dunes of the Sahara Desert, nourishing some of its most drought-stricken regions with more water than many have seen in decades.

South-eastern Morocco’s desert is among the most arid places in the world and rarely experiences rain in late summer.

The Moroccan government said two days of rainfall in September had exceeded yearly averages in several areas that get an average of less than 250mm (10in) annually, including Tata, one of the hardest-hit areas.

Morocco Desert Rain
An aerial view of lakes caused by heavy rainfall between sand dunes in the desert town of Merzouga, near Rachidia, in south-eastern Morocco (AP)

In Tagounite, a village about 280 miles (450km) south of the capital, Rabat, more than 100mm (3.9in) was recorded in a 24-hour period.

The storms provided more rainfall than had been seen in decades, leaving striking images of bountiful water gushing through the Saharan sands amid castles and desert flora.

In desert communities frequented by the many tourists who visit the Sahara, 4x4s motored through the puddles and residents surveyed the scene in awe.

Morocco Desert Rain
Palm trees flooded in a lake caused by heavy rain in the desert town of Merzouga in south-eastern Morocco (AP)

“It’s been 30 to 50 years since we’ve had this much rain in such a short space of time,” said Houssine Youabeb, of Morocco’s General Directorate of Meteorology.

Such rains, which meteorologists are calling an extratropical storm, may indeed change the course of the region’s weather in months and years to come as the air retains more moisture, causing more evaporation and drawing more storms, he said.

Six consecutive years of drought have posed challenges for much of Morocco, forcing farmers to leave fields fallow and cities and villages to ration water consumption.

The bounty of rainfall is likely to help refill the large groundwater aquifers that lie beneath the desert and are relied upon to supply water in desert communities.

Morocco Desert Rain
A 4×4 vehicle transports tourists on sand dunes next to a lake caused by heavy rain in the desert in south-eastern Morocco (AP)

The region’s dammed reservoirs reported refilling at record rates throughout September, though it is unclear how far that will go towards alleviating the drought.

However, water gushing through the sands and oases also left more than 20 dead in Morocco and Algeria and damaged farmers’ harvests, forcing the government to allocate emergency relief funds, including in some areas affected by last year’s earthquake.

Nasa satellite images showed water rushing in to fill Lake Iriqui, a famous lakebed between Zagora and Tata that had been dry for 50 years.