Thousands of people have been ordered to evacuate as a wildfire rages out of control in northern California, with a swathe of the United States in the grip of a "record-breaking and dangerous" heatwave that was complicating firefighting efforts.

More than 3,500 acres of grass and woodland have been consumed when a blaze erupted just outside Oroville.

The town, near the state capital of Sacramento, is just 38km from Paradise, a community that was razed in 2018 by the deadliest fire in California history, which claimed the lives of 85 people.

Garrett Sjolund, fire chief of Butte County, said the area was under a so-called "red flag warning."

"The conditions out there that are in our county this summer are much different than we've experienced the last two summers," he told reporters.

A firefighting aircraft drops Phos-Chek fire retardant ahead of a wildfire

"The fuels are very dense. Brush is dry, and as you can see, any wind will move a fire out very quickly," Mr Sjolund.

Over 25,000 people in the area were under orders to evacuate yesterday, local NBC affiliate KCRA reported.

Fireworks

Climate scientists say the western US is undergoing a decades-long aridification as weather patterns change, at least in part because of human-caused global warming.

California suffered around 20 years of drought, but the last two years were relatively mild, with near-record amounts of rain that filled reservoirs and sparked furious growth in forests and grasslands.

However, 2024 is shaping up to be a hot and dry year, and that flora is rapidly drying out, creating plenty of fuel for the wildfires that are a normal part of the ecosystem's natural cycle.

The conditions have left officials warning of potentially devastating blazes waiting to happen, especially if people are careless or negligent with fireworks over the upcoming 4 July Independence Day holiday.

"We've had four fires within the last couple of weeks. This is a bad fire season," said Butte County Sheriff Kory Honea.

A boat moves along Lake Oroville as the wildfire fire continues to burn

"The last thing we need is somebody who's purchased fireworks from a local fire stand going out and doing something stupid. Don't be an idiot," he added.

Around 1,400 firefighters were attacking the flames on the ground with heavy machinery and by air with planes and helicopters, dumping red fire suppressant.

Mr Sjolund said that equipment and personnel were arriving from other jurisdictions to reinforce operations.

A handful of people, including some firefighters, have reportedly been injured, though none of them seriously.

AFP journalists have seen buildings and vehicles destroyed in the fire.

California Governor Gavin Newsom declared a state of emergency in Butte County, a move intended to free up resources and help the battle against the blaze.

"We are using every available tool to tackle this fire and will continue to work closely with our local and federal partners to support impacted communities," he said.

The remains of a home destroyed by the wildfire in Oroville, California

"As we head into some of the most challenging months of wildfire season, the state is better prepared than ever to protect at-risk communities with new tools, technology and resources," Mr Newsom added.

Record-breaking

The National Weather Service said the area was expected to see punishingly high temperatures over the coming days, with the mercury touching 46 degrees Celsius in some spots.

The oppressive heat is part of a system that is set to affect almost half of the country's population, including over the 4 July holiday weekend.

"Record-breaking and dangerous heat is forecast to make this Fourth of July week a scorcher across much of the West and from the southern Plains to the Mid-Atlantic," the NWS said.

"Nearly 150 million residents are currently under heat-related watches, warnings, and advisories throughout 21 states as of this afternoon," they added.

Forecasters said the heat would roll in off the West Coast and take hold of central California before spreading further as the week progresses, including into Oregon and Washington to the north.

"Dozens of record highs are possible, expressing the rarity of this early-July heatwave," the NWS said.

Extreme weather events are becoming increasingly common as our planet warms, largely due to humanity's unchecked burning of fossil fuels since the start of the Industrial Revolution.