French firefighters battled to contain a raging wildfire near the glitzy Mediterranean resort of Saint-Tropez on Tuesday, with thousands of residents and holidaymakers forced to evacuate.

Roughly 1,000 firefighters were using high-pressure hoses, aircraft and helicopters in an attempt to control the flames, which began racing through the scrubland and trees of the Plaine des Maures nature reserve on Monday evening.

Strong winds have fanned the flames of the first major summer wildfire in France
Strong winds have fanned the flames of the first major summer wildfire in France AFP / NICOLAS TUCAT

"The coming hours will be absolutely decisive" for the firefighting effort, President Emmanuel Macron said during an early evening visit to first responders.

While Macron added that "the battle is ongoing and the fire has not yet been contained, stabilised," he said that the firefighters' courage had managed to "avoid the worst" with no casualties so far.

Eric Grohin, a colonel in the Var department firefighters, said the flames were regularly leaping gaps of up to 800 metres (900 yards), making it difficult to hem the blazes in.

People on the beach watch a Canadair aircraft fill its tank from the sea in the bay of Saint-Tropez.
People on the beach watch a Canadair aircraft fill its tank from the sea in the bay of Saint-Tropez. AFP / Valery HACHE

"There's not much we can do beyond protecting human lives and homes," he said.

But a spokesman for the firefighters later told AFP that the wind had dropped.

A woman evacuates a horse as smoke rises in the background in Gonfaron, southern France.
A woman evacuates a horse as smoke rises in the background in Gonfaron, southern France. AFP / NICOLAS TUCAT

"The situation isn't as worrying as last night, but it remains a concern," he said.

Around 7,000 people have been evacuated from homes and campsites, the Var prefecture said, many to the safety of municipal buildings and schools.

Among them were 1,300 people staying at a campsite in the village of Bormes-les-Mimosas down the coast from Saint-Tropez.

Evacuees find refuge in gym after wildfires in France's south
Evacuees find refuge in gym after wildfires in France's south AFPTV / Fabien NOVIAL

Many tourists could be still be seen enjoying the sunshine on the nearby Cote d'Azur beaches, however, as Canadair firefighting aircraft swooped in regularly to fill their tanks from the sea before returning to the smoking hills nearby.

Others loaded up their cars and headed for safety, leading officials to plead for people in secure areas to stay at home and avoid blocking roads used by the emergency services.

A map showing fires in southern France
A map showing fires in southern France AFP / Jean-Michel CORNU

"We started smelling the smoke around 7:00 pm (1700 GMT), then we saw the flames on the hill," said Cindy Thinesse, who fled the Mole campsite near Cavalaire on Monday evening. "We hesitated, but when we saw that, we decided to leave," she told AFP.

President Emmanuel Macron and his wife Brigitte are on holiday at the nearby Bregancon Fort and he announced he would visit the scene later Tuesday.

A burnt tortoise following a forest fire in Gonfaron, in southern France's Var department
A burnt tortoise following a forest fire in Gonfaron, in southern France's Var department AFP / NICOLAS TUCAT

Large blazes have already ravaged parts of Turkey, Bulgaria, Albania, Northern Macedonia, Greece, Italy, Spain, Portugal, Israel, Tunisia, Algeria and Morocco this year.

The Mediterranean basin has long faced seasonal wildfires linked to its dry and hot weather in the summer, but climate scientists warn they will become increasingly common because of man-made global warming.

Around 600 firefighters in Portugal were also battling a fresh blaze in Castro Marim in the Algarve region on Tuesday, a tourist hotspot in the far south of the country close to the border with Spain.

A separate fire in central Spain near Navalacruz is also being brought under control, regional authorities have said, but around 12,000 hectares of forest have gone up in flames.

The French fire is believed to have started near a motorway that runs through the Plaine des Maures nature reserve some 30 kilometres (18 miles) northwest of Saint-Tropez.

The wind-fanned blaze had ripped through some 6,500 hectares of forest and scrubland by Tuesday, according to the fire department.

"We've never seen it spread with such speed, it was three or four times the usual," Thomas Dombry, mayor of La Garde-Freinet village, told AFP.

Authorities were counting the cost to the environment even as the fires still raged Tuesday.

"Half of the Plain des Maures nature reserve has been devastated," said Concha Agero, deputy director of the French Office of Biodiversity.

Charred power lines lay on the ground Tuesday, as well as vines in place.

Many trees were burnt around their trunks but their branches were intact, suggesting the fire had ripped through at speed.