A fast-moving wildfire that has forced thousands of Californians to flee their homes doubled in size on Wednesday (19 July). More than 2,200 firefighters on the ground and in the air have contained just seven percent of the Detwiler Fire.

Detwiler fire mariposa california
An air tanker drops fire retardant on flames as firefighters continue to battle against the Detwiler fire in Mariposa, CaliforniaJosh Edelson/AFP

The blaze has mushroomed to 48,000 acres (19,424 hectares), an increase of about 23,000 acres (9,307 hectares) compared with the day before. The fire has destroyed 29 structures and is threatening communities in the foothills of the Sierra Nevada mountains.

Firefighters are facing "extreme and aggressive fire behaviour" with solid walls of flame and sparks from the main blaze setting spot fires in grasslands, the California Department of Forestry and Fire Protection (Cal Fire) said.

Detwiler fire mariposa california
Flames from the fast-moving Detwiler fire approach in MariposaStephen Lam/Reuters
Detwiler fire mariposa california
Flames tower over a home on the outskirts of Mariposa, CaliforniaJosh Edelson/AFP
Detwiler fire mariposa california
A firefighter sprays down flames as the Detwiler fire rages on near the town of MariposaJosh Edelson/AFP

Firefighters have managed to to stop it from reaching the picturesque gold rush town of Mariposa, a town of 2,000 with century-old wooden buildings, including what's touted as the oldest active courthouse west of the Rocky Mountains. The fire got within a half mile of Mariposa but crews have been able to keep it out of the town, Cal Fire spokesman Jason Motta

Mariposa's 2,000 residents were told to leave town on Tuesday after its power and water links were damaged. The small communities of Coulterville and Greeley Hill have also been ordered to evacuate. In total, nearly 5,000 people are under orders to vacate their homes, officials said.

Detwiler fire mariposa california
Evacuees from Mariposa gather in the parking lot at Sierra Vista Presbyterian Church in OakhurstStephen Lam/Reuters
Detwiler fire mariposa california
Evacuees react to their situation while camping at a Red Cross evacuation centre in OakhurstJosh Edelson/AFP

At its closest, the blaze was still about 35 miles (56 kilometres) from the boundary of Yosemite National Park, which now does not appear at risk from the fire, as it is moving south, away from the park, California fire spokesman Jordan Motta said.

Detwiler fire mariposa california
A helicopter carries water to a drop point over the Detwiler fire in MariposaJosh Edelson/AFP
Detwiler fire mariposa california
CalFire firefighters monitor flames from the Detwiler fire in MariposaStephen Lam/Reuters
Detwiler fire mariposa california
A firefighter pulls a water hose from an engine as he prepares to defend a structure from the Detwiler fire in MariposaStephen Lam/Reuters
Detwiler fire mariposa california
The remains of a property burned down by the Detwiler fire smoulder in MariposaJosh Edelson/AFP
Detwiler fire mariposa california
A chimney is all that remains of a home destroyed by the Detwiler fire in MariposaStephen Lam/Reuters
Detwiler fire mariposa california
A burnt vehicle is seen near a home destroyed by the Detwiler fire in MariposaStephen Lam/Reuters
Detwiler fire mariposa california
The sun glows a dim red through a smoky sky in MariposaJosh Edelson/AFP
Detwiler fire mariposa california
A fire-damaged real estate sign stands on the side of the road in MariposaJustin Sullivan/Getty Images
Detwiler fire mariposa california
A gas line continues to burn at a home in Mariposa that was destroyed by the Detwiler FireJustin Sullivan/Getty Images
Detwiler fire mariposa california
A burnt-out car sits next to a home that was destroyed by the Detwiler Fire in MariposaJustin Sullivan/Getty Images

Record rain and snowfall in the mountains this winter abruptly ended California's five-year drought. but that has increased the challenge for crews battling flames feeding on dense vegetation. "There's ample fuel and steep terrain," Cal Fire spokeswoman DeeDee Garcia said. "It makes firefighting difficult."

Statewide, about 6,000 firefighters are battling 17 large wildfires. There are currently 37 active large fires spread across 12 western states, according to the National Interagency Fire Centre's website.