Hundreds of Moroccan firefighters and soldiers battled late Thursday to put out at least four infernos ripping through forests in the north of the kingdom, officials said.

The fires, fanned by strong winds in the four areas, have not resulted in any casualties so far, but nearly 500 families were evacuated "as a precaution" in the provinces of Larache and Taza, according to official statements.

Firefighters battle a blaze raging in Morocco's northern region of Ksar Sghir on July 14
Firefighters battle a blaze raging in Morocco's northern region of Ksar Sghir on July 14 AFP / FADEL SENNA

Several villages that were evacuated also saw military planes dropping loads of water to extinguish fires tearing across the dry terrain, an AFP journalist said.

Shocked by how fast the flames were spreading, residents fled their homes, with some families herding their cattle and horses -- upon which their livelihoods depend -- ahead of them.

Since Wednesday night, at least 1,000 hectares (2,500 acres) of forest have been burned in Larache and Ouezzane, according to initial reports
Since Wednesday night, at least 1,000 hectares (2,500 acres) of forest have been burned in Larache and Ouezzane, according to initial reports AFP / FADEL SENNA

"I was with my family, and at one point, we heard people shouting, 'Fire! Fire!'" said Samir Boundad, from Larache.

"We ran out to flee and fortunately, thanks to God, the fire moved up the mountain."

A village in the Ksar El Kebir region was destroyed by the flames.

People evacuate a house as a wild forest fire rages in northern Morocco
People evacuate a house as a wild forest fire rages in northern Morocco AFP / FADEL SENNA

Hundreds of civil defence workers, as well as soldiers and police officers, are trying to stop the fires from causing more destruction.

In four provinces -- Larache, Ouezzane, Tetouan and Taza -- the fires ripped through forestland that is difficult to access, said Fouad Assali, head of the National Center for Forest Climate Risk Management.

Planes dropped loads of water to extinguish fires tearing through Morroco's terrain
Planes dropped loads of water to extinguish fires tearing through Morroco's terrain AFP / FADEL SENNA

"Efforts are continuing in the hope of bringing these fires under control," Assali was quoted as saying by the official MAP news agency.

Since Wednesday night, at least 1,000 hectares (2,500 acres) of forest have burned in Larache and Ouezzane, according to initial reports, leaving burnt trees smouldering under a sky blanketed by plumes of smoke.

The North African nation, which is struggling under intense droughts, has in recent days been hit by soaring temperatures approaching 45 degrees Celsius (113 degrees Fahrenheit).

"It is the heat that causes this kind of fire. It was yesterday at dawn that the fire reached our village," Ahmed Mezouar, 58, a resident of Larache, told AFP, adding that he was hopeful that firefighters would be able to contain it.

Still, he worried, as a neighbouring village had been completely surrounded by the flames.

"We are afraid for our houses," he said. "For the moment, we are safe."

Across the Strait of Gibraltar, wildfires are also raging in southern Europe, from Portugal and Spain through to France and Greece.

Scientists say extreme weather events such as heatwaves and droughts, which make wildfires more likely, are linked to climate change.

They are expected to become even more frequent, more prolonged and more intense in the future.