In this article (8)
The first 5 feet of fence from the house must be noncombustible. The rest can stay wood.
See the rule detailsHow close can a fence be to a house in California? No statewide building or fire code sets a minimum distance, so outside cities with local rules a fence can touch the wall. California’s Zone 0 rule adds two distances once it takes effect: a fence within 1 foot of the house needs a 5 foot noncombustible span, and no new combustible fence may go within 5 feet.
A wood fence built now within 1 foot of the house would need its first 5 feet replaced within 3 to 5 years of the day the state rule takes effect, and from that day no new wood fence can go within 5 feet, so plan around both lines. Two cities already enforce local versions: Berkeley, since 1 January 2026 in its Grizzly Peak and Panoramic Hill areas, and San Diego (table below). The full fence provisions are on the Zone 0 fence requirements page.
Which distances does the Zone 0 rule use?
Two. The quotes below are from 14 CCR 1298.04, the version for homes where a city or county fire department handles wildfire protection (the Local Responsibility Area).
1 foot: the contact trigger. Paragraph (b)(9)(A) applies to “All fences and gates that are attached to an Occupied Structure, or come within one (1) foot of contact with an Occupied Structure.” Those fences “shall have a five (5) foot Noncombustible span from the point of attachment or the point closest to the Occupied Structure.” A fence that ends 8 inches from the siding is treated as attached, and the 5 feet is measured from its nearest point.
5 feet: the no-new-wood line. Paragraph (b)(9)(B) says that after the effective date, “no new Combustible fences or gates (whether attached or parallel to the Occupied Structure) are permitted within five (5) feet of an Occupied Structure.” The version for CAL FIRE’s State Responsibility Area, 1299.03(d)(9), has the same ban without the words in parentheses.
Everything past 5 feet is untouched. The Board’s July 2026 staff memo says “Fences more than five feet from the structure are not impacted by the draft regulation.” Existing combustible fences inside 5 feet that stay more than 1 foot from the house may remain (the same memo says the draft allows existing combustible fences “to remain in place”) and may be repaired with wood ((b)(9)(C)). For a parallel fence inside 5 feet, the Board’s guidance still recommends upgrading that section to noncombustible material, without requiring it.
Zone 0 itself is measured from the exterior wall, and from any attached deck, stairs or pergola (1298.04(a)). The rule’s definition of Occupied Structure (1298.02(h)) includes those features, plus a self-supporting deck, stairs or pergola within 1 foot of the house. If your fence meets a deck, measure from the deck edge, not the wall.
Does a gap between the fence and the house stop embers?
Not on its own, and the research gives no safe gap. In NIST’s 2022 fence experiments (Technical Note 2228, 187 burns), fences and mulch beds were set 0, 1, 3 and 6 feet from a test shed. Three results matter here:
- For fence-plus-mulch burns, “spot fire ignition times did not depend on separation distance.” Embers lit the target mulch along the wall about as fast with a 6 foot gap as with none.
- Wind around the shed formed a vortex that “deposited firebrands next to the structure.”
- In the burns with large flames, NIST concluded “that 1.83 m (6 ft) separation distance was insufficient to prevent the structure from ignition.” In one composite fence test, flames licked the shed from 6 feet away.
NIST’s recommendation is to avoid putting combustible fences near homes, and it declines to name a number: the spacing needed “is a function of structure construction materials/assembly and fence materials/design.” The state rule draws its own line at 1 foot: anything closer counts as touching, so 6 inches of air changes nothing under it.
How far apart should parallel fences be?
Here the numbers are clear. Two wood fences side by side, common where neighbors each build on a shared line, were in NIST’s very high hazard class: “A large fire occurred even when wood privacy fences were separated by 91 cm (3 ft),” and the report says “Spacing of 0.9 m (3 ft) between fences is not sufficient.”
A single fence running parallel to the house, 5 feet or less from it, also creates a narrow strip where debris builds up, flames intensify and upkeep gets harder.
The IBHS Wildfire Prepared Home designation sets 5 feet as the line for back-to-back fences in its Plus level: if two parallel combustible fences are less than 5 feet apart, one has to be removed or replaced with a noncombustible option. Mercury’s top wildfire discount tier asks for the same 5 foot separation.
Is there a building code setback between a fence and a house?
No. These are the codes that come closest:
- California Residential Code R105.2 exempts “Fences not over 7 feet (2134 mm) high” from a building permit. It sets no distance from the house.
- California Wildland-Urban Interface (WUI) Code 504.11.2 requires permitted “miscellaneous structures” less than 3 feet from a building to be noncombustible or ignition-resistant. Section 504.11.1 lists “trellises, arbors, patio covers, gazebos and similar structures” and applies only to structures that need a building permit. Fences are not named, so a fence short enough to need no permit appears to fall outside it. Whether a permitted fence over 7 feet counts as a “similar structure” is a question for your building department.
- Zone 0 rule. Its 1 foot and 5 foot distances are the only state fire-rule distances for fences, and they apply from the day the rule takes effect.
Your city’s zoning code may separately limit fence height and placement, so check it before you build.
Where does my fence fall? A decision table by distance
State column: the state rule once it takes effect. San Diego column: the city’s guidelines, in force locally for new structures since 28 February 2026, with full compliance for existing homes, fences included, targeted for 28 February 2029.
| Where the fence sits | State Zone 0 rule | San Diego Zone 0 Guidelines | IBHS Wildfire Prepared Home |
|---|---|---|---|
| Fastened to the house, deck or stairs | First 5 ft noncombustible ((b)(9)(A)) | 5 ft noncombustible “transitional span” | Replace wood or vinyl within 5 ft |
| Ends within 12 in of the wall | Same as attached; 5 ft measured from the closest point | Within 5 ft, so covered by section 4.6 | Same as above |
| Perpendicular, ends 1 to 5 ft away | Existing may stay and be repaired; any new fence there must be noncombustible | Noncombustible under a compliance plan; existing wood may stay only if the fire code official finds no continuous fuel pathway | Replace within 5 ft |
| Parallel to the house, 4 to 5 ft away | Existing may stay (guidance recommends upgrading); no new combustible fence | Existing vinyl, and new fire-retardant-treated wood, allowed if debris-free with no plants between fence and house | Replace within 5 ft |
| Parallel, under 4 ft away | Existing may stay; no new combustible fence | Prohibited where it forms “a continuous fuel pathway” | Replace within 5 ft |
| More than 5 ft away | Not affected | “no changes or new requirements” | Plus level: parallel pairs under 5 ft apart, replace one |
San Diego’s exceptions come from section 4.6 of its Rev. 4/22/2026 guidelines; the wood allowance needs a product listed in the State Fire Marshal’s WUI Products Handbook. Details are on San Diego Zone Zero fence rules.
What should I measure?
- Every point where a fence meets or nears the house, deck or stairs. If the gap is 12 inches or less, mark 5 feet along the fence from that point. Every gate, post and panel inside the mark is in the span.
- Any fence that runs parallel to a wall. Note its distance from the wall at the closest point, and whether a neighbor’s fence runs beside it.
- What sits at the fence base. NIST rated wood fences with mulch at the base as high hazard. The Board’s guidance says to “Remove vegetation and combustible materials in contact with the fence.”
If a fence touches the house, the options for the house end are on wood fence attached to house. For which parts of an older fence may stay, see do I have to replace my wood fence. The evidence on fences as a fire path is on do wood fences spread fire to houses.
Where the 5 feet start, and the plant-free strips inside them.
See the rule detailsQuestions people ask
What is the minimum distance between a fence and a house in California?
There is none in state building or fire code; a fence may touch the wall. Once the state Zone 0 rule takes effect, any fence within 1 foot of the house counts as attached and needs a 5 foot noncombustible span, and no new combustible fence may go within 5 feet. Berkeley and San Diego already apply local fence rules.
Keep reading
GuideZone 0 fence requirements in California
Do I have to replace my wood fence for Zone 0?
Wood fence attached to house: what Zone 0 requires
Zone Zero fencing in San Diego: what changes at the house, and by when
Berkeley Zone Zero ordinance: what it requires for fences and gates
More in Fences and gates
Spot an error? Tell us and we will correct it and note the change.
