Reference · As of September 2026

Fence rules across San Diego County, city by city

Height limits, building permits, pool barriers, Zone 0 and coastal permits for nine jurisdictions, summarized from the official sources and linked to each one.

9 jurisdictionsEvery rule linked to its sourceSources checked September 26, 2026

The short version

  • Side and rear yards: 6 ft in most of these jurisdictions; the City of San Diego allows up to 9 ft if the part above 6 ft is open.
  • Front yards: from 42 in (unincorporated County, Carlsbad, Solana Beach) to 6 ft with an open top (City of San Diego, Poway).
  • Building permits: over 6 ft is the common threshold (County, Poway, Escondido, Carlsbad); the City of San Diego starts at 7 ft and Solana Beach over 7 ft; Del Mar (over 12 in) and Coronado (over 2 ft) are much lower, and the Rancho Santa Fe Association permits nearly every fence.
  • Near the house: the City of San Diego and the unincorporated County already apply Zone 0 rules that reach fences; the statewide rule adopted August 19, 2026 was not in effect as of September 2026.

How to use this page

Fence rules in San Diego County change at the city line, and sometimes at the neighborhood line: a planned district in La Jolla, a specific plan in Encinitas, a protective covenant in Rancho Santa Fe. This page summarizes what the official sources for nine jurisdictions said as of September 2026, and each rule links to the code section, ordinance or handout it comes from.

  1. Find your jurisdiction. A mailing address is not always a city. Homes outside city limits, including Rancho Santa Fe, follow County rules.
  2. Read the table, then the notes. Each value links to its source. Where two official documents disagree, the section says so and names who to ask.
  3. “Confirm with…” means no number. Where a value could not be verified from an official source, we name the agency to ask instead of printing a figure.
  4. No permit does not mean no rules. Zoning limits still apply to fences that need no building permit, as the City of San Diego, the County and Solana Beach each state.

Not legal advice. Codes change, handouts lag the code, and a single parcel can sit inside an overlay zone, coastal area or HOA that adds requirements. Confirm with the agency before you build.

At a glance

Height limits and permit thresholds

Residential fences, as of September 2026. Each value links to its source; exceptions, measuring rules and conflicts are in the jurisdiction's own section.

Statewide rules that apply everywhere on this list are summarized below the table. Heights are for residential lots; overlay zones, specific plans and HOAs can be stricter.

California · As of September 2026

The statewide baseline

Four state rules sit underneath every city on this page. Cities can add to them, and several do.

In force

Pool barriers: the Swimming Pool Safety Act

  • It applies when a building permit is issued for a new or remodeled pool or spa at a private single-family home, and a “pool” is any structure holding water over 18 in deep. HSC §115922 HSC §115921
  • The pool needs at least two of seven drowning-prevention features. Two are fence-type: an enclosure that meets §115923, or removable mesh fencing (ASTM F2286) with a self-closing, self-latching gate that accepts a key lock. HSC §115922
  • An enclosure is at least 60 in tall, with no more than 2 in of clearance at the bottom, no gap that passes a 4-in sphere, no handholds or footholds on the outside, and gates that open away from the pool with a self-latching device no lower than 60 in. HSC §115923
  • The local building official inspects the features before final approval, and the power to modify or interpret the Act is reserved to local jurisdictions. HSC §115922(c) HSC §115927

Set locally

When a fence needs a building permit

  • Cities set their own fence threshold. On this page it ranges from 12 in in Del Mar and 2 ft in Coronado to 6 or 7 ft elsewhere.
  • San Diego's building department describes its own wording, which exempts fences 7 ft or less other than pool barriers, as consistent with the California Building and Residential Codes. It keeps pool barriers out of the exemption because they “need to be inspected.” City of San Diego, 2025 code adoption
  • A building-permit exemption is not a zoning exemption. San Diego's fence rules apply “whether or not a permit or other approval is required,” and the County and Solana Beach exemptions assume the fence meets zoning. SDMC §142.0305(a) County PDS 070 Solana Beach Building
  • A retaining wall under a fence can change the answer. San Diego treats a fence on a retaining wall as a surcharge, so that wall needs a permit even at 3 ft or less. DSD Information Bulletin 220

Adopted, not in effect

Zone 0: the first 5 feet

  • State law calls for an ember-resistant zone within 5 ft of a structure, based on Board of Forestry regulations. PRC §4291
  • The Board adopted those regulations as emergency rules on August 19, 2026 (14 CCR §§1298.01–1298.04 and 1299.01–1299.03) and submitted them to the Office of Administrative Law. As of September 2026 they are not in effect. Board notice, Aug. 20, 2026 OAL recent actions
  • In Local Responsibility Areas they cover occupied structures in Very High Fire Hazard Severity Zones; in State Responsibility Areas, all structures. Board notice
  • The Board's summary for fences: no combustible fence or gate attached to an occupied structure; any attached fence or gate needs a 5-ft noncombustible section; after the effective date, no new combustible fences or gates in Zone 0; existing structures comply within 3 years, or up to 5 on a local fire agency's timeline. “Noncombustible” is defined by the ASTM E136 test. Board notice
  • Local Zone 0 rules are separate, and some are already in force: see the City of San Diego, the unincorporated County and Rancho Santa Fe. Check an address against the hazard maps with the CAL FIRE viewer or our Zone 0 checker.

In force

Coastal Act: coastal development permits

City · As of September 2026

City of San Diego

Citywide rules, plus planned districts and community plans in La Jolla, Carmel Valley and Scripps Ranch.

City of San Diego fence rules at a glance, as of September 2026
Front yardSolid: 3 ft on the front or street-side property line, rising on a sloped line to 6 ft at the setback line. Open (at least 35% open to light, or 75% in the Coastal Overlay Zone): 6 ft at the line, rising to 9 ft. Standard chain link: 3 ft at the line. 3 ft in required visibility areas at corners and driveways. SDMC §142.0310 SDMC §113.0273
Side & rear yardsUp to 9 ft in required side and rear yards, with anything above 6 ft built as open fence. Up to 10 ft outside the required yards. SDMC §142.0310(d)–(e)
Building permitNeeded for a fence 7 ft or taller. Pool-barrier fences are not covered by the fence exemption, and a retaining wall carrying a fence is treated as surcharged, so it needs a permit even at 3 ft or less. Table 142-03A SDMC §129.0203 IB 220
Pool barriersThe state Pool Safety Act, plus a local amendment effective April 22, 2026: exit alarms combined with an in-pool alarm do not count as two of the required features. SDMC §145.3102(b)
Fire & Zone 0In force. The WUI Code defines Zone 0 as the 5 ft around the structure. For new structures in a Very High Fire Hazard Severity Zone applying for a building permit on or after February 28, 2026, Fire-Rescue Standard D-2 requires all new fences and gates in Zone 0 to be noncombustible, such as steel, aluminum, fiber cement board or masonry, with a 5-ft noncombustible span where a fence attaches and a conditional exception for fire-retardant-treated wood. SDMC §512.0604 Standard D-2
Coastal & design reviewIn the Coastal Overlay Zone a Coastal Development Permit is required unless the work is exempt, and any fence or retaining wall between the shoreline and the first public roadway needs one (Process Three). Planned districts in La Jolla and Carmel Valley add their own review; see below. SDMC §126.0702 Table 142-03A

The fence rules apply to every fence and retaining wall, permit or not (§142.0305(a)). Height is measured from the lowest adjoining grade, and a fence on top of a retaining wall is measured from the grade on the high side (§113.0270). Up to 30% of a fence's length may run 6 in over the limit, and a Neighborhood Development Permit can allow up to 20% more height with specific findings (§§142.0310(a)(2), 142.0350).

Metal fences in required front and street-side yards must have a colored finish other than galvanized metal, and sharp-pointed metal fences are allowed only for agricultural uses in agricultural zones (§§142.0370(e), 142.0360(b)). The code does not define “sharp-pointed,” so confirm spear-top designs with Development Services.

For existing homes in a Very High zone, Fire-Rescue's Zone 0 guidelines (Rev. 4/22/2026) require a 5-ft noncombustible transitional span where an existing fence or gate attaches perpendicular to the house, and set no new requirements for fences outside Zone 0. Owners are not yet required to act, and enforcement begins on or after February 28, 2027; the guidelines say homeowners “should attempt” full compliance, including replacing noncompliant fences and gates, by February 28, 2029 (Zone 0 guidelines). Separately, fences inside brush management Zone One must be noncombustible, one-hour fire-rated or heavy timber (§142.0412).

Confirm before you rely on it

  • Table 142-03A requires a permit for a fence “7 feet or greater,” while the Building Code exemption covers fences “7 feet in height or less.” For a fence at exactly 7 ft, confirm with Development Services.
  • Zone 0 turns on whether the parcel is in a Very High Fire Hazard Severity Zone. Check the City's hazard-zone map for your address.

If a La Jolla lot is in the Coastal Overlay Zone, an “open” fence must be at least 75% open to light, and the coastal permit rules above apply (§142.0310(c)(2)(C)). In the La Jolla Shores Planned District the citywide fence rules apply where the district is silent; a Planned District Permit application must show fences, and fences can be decided as minor, Process One items (§1510.0107 §1510.0201).

In the La Jolla Planned District's Zones 5 and 6, walls and fences in a required front or street-side yard are capped at 3 ft above the adjacent sidewalk, chain link is prohibited, and materials come from a list: wood, brick, stucco, wrought iron, natural unpolished stone, poured concrete, slumpstone or split-face block (§159.0401(b)). The community plan, which is also the Local Coastal Program land use plan, asks that fences be kept off shoreline bluffs where feasible (La Jolla Community Plan).

Confirm before you rely on it

  • Whether a new fence that needs no building permit still needs a La Jolla Shores Planned District Permit is not clear from the code. Ask Development Services.
  • If you are planning aluminum or steel in Zones 5 or 6, confirm how the materials list applies, since it names wrought iron but no other metal.

The Carmel Valley Planned District Ordinance controls where it conflicts with the citywide code, and its list of citywide provisions that apply does not include the Fence Regulations (§153.0103). Its single-family zones use the RS-1-14 base-zone rules except for the district's own lot, setback, coverage and height standards, and an application must show fences if the City asks (§153.0302 PDO Div. 2).

Confirm before you rely on it

  • Which fence-height rules the City applies inside the Carmel Valley Planned District is not stated in the text we reviewed. Confirm with Development Services before relying on the citywide numbers above. HOA rules were not reviewed.

We found no planned district ordinance for Scripps Ranch, so the citywide rules above are the starting point. The Miramar Ranch North Community Plan adds advisory guidance for the Miramar Lake viewshed: fencing “should” be common to the whole development, built of natural, non-obtrusive materials, and no taller than 5 ft (Miramar Ranch North Community Plan). Check the City's hazard-zone map for your parcel, since the Zone 0 rules above turn on that designation. HOA rules were not reviewed.

All jurisdictions ↑

County · As of September 2026

Unincorporated San Diego County

Homes outside any city's limits, including Rancho Santa Fe.

Unincorporated San Diego County fence rules at a glance, as of September 2026
Front yard42 in for solid and open fences in the front or exterior side yard. On lots of 1 gross acre or more in the A70, A72, RR, S82, S88, S90 and S92 use regulations, open fences of woven or barbed wire, wrought iron, pipe corral or rails may be 72 in. Zoning Ord. §6708
Side & rear yards72 in in rear and interior side yards. An administrative exception allows up to 7 ft 6 in in interior side setbacks, or rear setbacks not on a street or alley, with written consent from every adjoining owner. Taller fences need an Administrative Permit, with notice to owners within 300 ft. Zoning Ord. §6708(h)–(i)
Building permitNeeded above 6 ft for fences and freestanding masonry walls. Pool barriers are excluded from the exemption, and the exemption assumes the fence meets the Zoning Ordinance. PDS 110 (rev. 1/2026) PDS 070
Pool barriersA new pool at a single-family home or duplex must be separated from neighbors by a permanent enclosure at least 60 in tall, measured on the side away from the pool; bottom gap 2 in (4 in over a solid surface); openings that won't pass a 1-3/4-in sphere (4 in between verticals when rails are 45 in or more apart); pedestrian gates that open away from the pool, self-close and self-latch. Lots of 3 net acres or more with the pool 100 ft or more from the nearest property line are excepted from the neighbor enclosure. County Code §92.1.3109
Fire & Zone 0In force since April 2, 2026: the 0–5 ft zone must be continuous hardscape or noncombustible materials, with combustible materials removed, and fences within 5 ft of a dwelling count as structures for fuel modification. The code's Zone 0 diagram note says to remove combustible “fences attachments.” County WUI Code §604 2026 WUI Code, Annex D
Coastal & design reviewFence-height Administrative Permit applications go to the local Community Planning Group and/or Design Review Board for a recommendation. PDS fee sheet (2019) Coastal permits: Confirm with County PDS

An “open” fence, gates included, lets you see directly through at least 80% of any one-square-foot segment, while a “solid” fence has openings of no more than 2% of a segment above 8 in (Zoning Ord. definitions). Hedges used as a fence are held to the fence limit for that spot, and gates on individual lots may be up to 12 ft (§§6704, 6708).

A retaining wall is exempt from a building permit only if it retains 3 ft of soil or less, stands no more than 6 ft in total, has level backfill with no structures within 6 ft, and carries no surcharge (PDS 110). The County's 2012 walls handout shows the regulated fence height measured above the upper, retained grade (PDS-308); it is a diagram rather than code text, so confirm on grade-change lots.

Confirm before you rely on it

  • County handouts (PDS 664, rev. 2024; PDS 070, rev. 2023) say any part of a fence less than 5 ft from a building must be noncombustible, fire-retardant-treated wood or built to the exterior-wall standard. No matching section appears in the current County Building Code chapter or WUI Code. Confirm with PDS Building before treating it as law.
  • The WUI Code's 0–5 ft text states no phase-in for existing homes. Ask your fire protection district how it is applied to an existing fence that touches the house.

County rules apply, plus the Rancho Santa Fe Association for parcels under the Protective Covenant, and the Rancho Santa Fe Fire Protection District.

Rancho Santa Fe fence rules at a glance, as of September 2026
Front yardCounty limits apply, and County and Covenant setbacks must both be met. Association guidelines say solid walls should sit back about 25% of lot depth from the front line, and open fences, gates and pilasters about 10%. Corner lots in Residence Districts A and B: nothing over 3.5 ft in the triangle 20 ft along each street line. RSFA setbacks Design Guidelines Covenant ¶145
Side & rear yardsCounty limits apply. Association guidelines: walls and fences should not exceed 5 ft, and pilasters and gates 6 ft. Perimeter fencing is permitted only to enclose active-use areas, not simply to follow property lines. Design Guidelines
Association permitEvery fence and wall is “Major Construction,” needing advance Association approval and a permit. The exceptions are unpainted wooden split rail up to 36 in with no more than two rails, and dry-laid garden walls up to 32 in. Gates, gateposts and pilasters are Major Construction too. Regulatory Code Ch. 31
Pool barriersCounty enclosure rules apply (above), and the Covenant treats pools as major construction. Covenant ¶48
Fire & Zone 0Fire District Ordinance 2022-02 allows no combustible attachments such as fences in the 0–5 ft zone, and District guidance says fencing should be noncombustible, such as iron. Ordinance 2025-04 (effective January 1, 2026) carries the same Zone 0 section as the County WUI Code. Ord. 2022-02 RSF Fire guidance Ord. 2025-04
Design reviewThe Art Jury reviews applications, filed through the Association's portal, against the Covenant's “high artistic result” standard. The guidelines rule out galvanized chain link and pipe corrals. Architectural review Design Guidelines

Every parcel in the Fire District is designated a Moderate, High or Very High Fire Hazard Severity Zone (Ord. 2022-02). Association retaining-wall rules allow a stand-alone site wall up to 5 ft and up to three terraced walls totaling 8 ft, and a 42-in guard rail on top does not count if it is at least 50% transparent (§§41.06–41.12). Fences for keeping animals need their own construction permit under Art Jury review (§40.02).

Confirm before you rely on it

  • Confirm with the Association whether the Covenant covers your parcel.
  • Proposed fence and gate chapters posted by the Association in 2022 were not in the Regulatory Code we reviewed (amended August 7, 2025). Treat them as not adopted unless the Association says otherwise.
  • The design guidelines date from 1991 and use “should” language; they are guidance, not code.
All jurisdictions ↑

City · As of September 2026

Poway

City of Poway, residential zones.

Poway fence rules at a glance, as of September 2026
Front yard6 ft maximum, and at least the top 2 ft of a 6-ft fence or wall in the required front yard must be open fencing. The City's FAQ puts it plainly: no solid fence or wall over 4 ft in the front setback. Within 15 ft of where a driveway meets the street right-of-way, 3 ft. PMC 17.08.240 City FAQ
Side & rear yardsA solid wall or fence up to 6 ft along interior side and rear lot lines. Up to 8 ft where the Director of Development Services allows it for noise attenuation. PMC 17.08.240(B), (E)
Building permitNeeded above 6 ft; Poway amended the Building Code exemption to 6 ft. Wood or masonry fences up to 6 ft are exempt only if they carry no added load, such as chain link or glass panels mounted on top. PMC 15.04.040 Fence standards
Pool barriersBoth a perimeter barrier and an enclosure between the house and the pool; alarms, covers or door latches can stand in only for the house-side enclosure. At least 60 in tall on the side away from the pool, bottom gap 4 in to a hard surface or 2 in to earth, no opening that passes a 4-in sphere, chain link no larger than 2-in mesh. Gates open outward, self-close, self-latch, and accept a locking device at least 54 in up. PMC 8.52.070 Pool handout
Fire & Zone 0Over 90% of Poway is in a Fire Hazard Severity Zone. In Very High zones and designated WUI areas, the WUI Code requires the 0–5 ft zone around combustible buildings to be continuous hardscape or noncombustible ground cover and prohibits combustible materials there, without naming fences; the City's fire page says Zone 0 requirements for existing homes take effect January 2030. City FHSZ page PMC 15.05.050
Coastal & design reviewConfirm with Poway Planning Specific plans and HOA rules were not reviewed for this page.

Where a retaining wall is used to add usable lot area, the fence or wall on it plus the retaining wall may total only 6 ft, unless a 5-ft landscape area separates them; a required safety railing on top, in open decorative metal, does not count toward the wall's height (PMC 17.08.240(A)(1), (J)). Fiberglass or bamboo sheeting is not allowed on street-yard frontages (PMC 17.08.240(D)). Keep 2 ft clear on all sides of the water meter box, and don't build walls, fences or gates in a utility easement without written City authorization (Meter FAQ Walls and Fences handout).

For homes near the top of a slope, metal or precast fire-rated fencing at the top of the slope is one of the listed mitigations for a reduced structure setback (WUI §608.3). The Fire Department's homeowner guide advises replacing combustible fencing, gates and arbors attached to the home with noncombustible alternatives; that is guidance, not a code citation (Defensible space guide). The pool's final plaster coat cannot go on until all fencing and barriers are installed and inspected (PMC 8.52.090).

Confirm before you rely on it

  • The Building Division's fence bulletin measures a fence on a retaining wall from the higher-side grade, which conflicts with the zoning code's 6-ft sum-total rule. Follow PMC 17.08.240(A)(1) and confirm with Planning.
  • The Residential Code amendment reads “6 feet (2134 mm),” and 2134 mm is 7 ft (PMC 15.10.040). Treat 6 ft as the operative number and confirm with Building.
  • The City FAQ exempts retaining walls “3 feet in height or less”; the Building bulletin exempts walls “less than three feet high” (retaining wall bulletin). Confirm a wall at exactly 3 ft.
  • How the WUI Code's 0–5 ft rule and the City's January 2030 date apply to an existing fence attached to a house is not stated. Ask Poway Fire Prevention.
All jurisdictions ↑

City · As of September 2026

Escondido

Inside city limits. Escondido addresses outside city limits follow County rules.

Escondido fence rules at a glance, as of September 2026
Front yardConfirm with Escondido Planning
Side & rear yardsConfirm with Escondido Planning
Building permitCity guideline (January 2008): no building permit for wood or masonry fences up to 6 ft; a fence over 6 ft needs one. A 2014 guideline adds that Planning Division approval is required even for exempt fences. Retaining walls need a permit unless under 4 ft including the footing, with no surcharge. Guideline 3 Guideline 18 Guideline 2
Pool barriersCity packet: permanent fencing at the property line serves as the enclosure (lots over 1 acre may apply for a variance to fence the pool instead), plus two drowning-prevention features. The enclosure is at least 60 in, measured on the outside, with no opening over 4 in; gates open away from the pool, self-close and self-latch, with the latch at least 54 in from the bottom of the gate. Pool packet
Fire & Zone 0Moderate, High and Very High zones are mapped in the city, and new construction in High and Very High zones must meet ignition-resistant building standards. Local Zone 0 rule: Confirm with Escondido Fire Prevention City FHSZ page
Coastal & design reviewIn the Old Escondido Neighborhood and on Historic Register properties, fencing and retaining walls get staff review against the historic design guidelines, and a Certificate of Appropriateness may be needed even without a building permit. The guidelines call chain link “not acceptable.” Historic guidelines Guideline 18

We could not verify Escondido's current zoning height limits against the official code text, so this page does not print them; the rules are in Zoning Code Article 56, and the Planning Division can confirm them for your lot. The fence guideline notes that the City prohibits fences that block access to a water meter, and asks that masonry fences use decorative materials (Guideline 3). The pool packet also sets the pool water edge and pool equipment at least 5 ft from the property line, with the equipment enclosed by a barrier at least 5 ft tall (Pool packet).

Confirm before you rely on it

  • The fence and permit guidelines date from 2008 and 2014, and the pool packet references the 2019 state codes. Confirm current requirements with Building.
  • The historic guidelines (2002) allow low front-setback garden walls up to 42 in. Confirm that figure against the current zoning code with Planning.
All jurisdictions ↑

City · As of September 2026

Encinitas

Includes Leucadia, Cardiff-by-the-Sea, Olivenhain and New Encinitas.

Encinitas fence rules at a glance, as of September 2026
Front yard4 ft within 15 ft of the property line or road easement, or up to 6 ft if the top 2 ft is at least 50% open. 4 ft within 15 ft of an intersection. EMC §30.16.010(G)
Side & rear yards6 ft in street-side, interior side and rear yards. The City handout adds that a fence at least 50% open can be 6 ft wherever a fence is allowed, except within 15 ft of street corners. EMC §30.16.010(G) PLN-196 (Oct 2025)
Building permitThe City's two handouts disagree: the October 2025 fence handout says a permit is needed above 7 ft; the Section 105 handout exempts fences only up to 6 ft. Confirm with Encinitas Building Either way, a fence over 6 ft needs a planning discretionary permit first, and a CMU or masonry wall 3 ft or taller needs a building permit. PLN-196
Pool barriersA fence of at least 5 ft with a self-latching gate must enclose all pools and spas, as set out in the Building Code. The City adopts the County's pool-fencing chapter by reference, and Building Code §3109 alternatives are allowed. EMC §30.16.010(G)(3) EMC §11.04.020 PLN-196
Fire & Zone 0The City has Very High Fire Hazard Severity Zone areas and requires its defensible-space inspection only for properties in them. The 2025 WUI Code is adopted, and its local amendments do not mention fences. Local Zone 0 rule: Confirm with Encinitas Fire EMC Ch. 10.05
Coastal & design reviewMost of the city is in the Coastal Zone. A coastal development permit is required unless exempt, and the exemptions do not apply where a discretionary approval is needed or the Coastal Bluff Overlay governs. Fences 6 ft or less are exempt from design review. On bluff-top lots, walls and fences stay at least 5 ft from the bluff edge. EMC §§30.80.010, 30.80.050 EMC §23.08.030 PLN-196

Height is measured from grade at the fence line, and raising the grade to gain height is not allowed. A freestanding wall, fence or railing above a retaining wall must sit 4 ft back from it, except railings, cable railings or glass panels that meet the handout's size criteria, and a retaining wall over 6 ft needs a Variance (PLN-196). Specific plans for Cardiff-by-the-Sea, Downtown, the North 101 Corridor and Encinitas Ranch can set their own residential standards, and homes in a Planned Residential Development may face limits on fence colors and materials (EMC §30.16.010(A) LCP page).

Confirm before you rely on it

  • The building-permit threshold: 6 ft or 7 ft, per the two handouts above. Ask the Building Division ([email protected]) before you design to either number.
  • Fence standards inside the four specific plans, and Olivenhain rural or trail conditions, were not reviewed.
All jurisdictions ↑

City · As of September 2026

Carlsbad

Includes La Costa.

Carlsbad fence rules at a glance, as of September 2026
Front yard42 in for any fence, wall or hedge in the required front yard setback in an R zone. Corner lots keep a vision triangle with 15-ft sides where nothing may exceed 42 in. CMC §§21.46.100, 21.46.130
Side & rear yardsOn an interior lot, up to 6 ft anywhere behind the required front yard. On a corner or reversed-corner lot, a 6-ft fence in the required side or street-side yard needs City Planner approval and may carry conditions. CMC §21.46.130
Building permitFor houses and duplexes, fences up to 6 ft and retaining walls up to 4 ft are exempt under the Residential Code as amended. The Building Code amendment also exempts fences up to 6 ft but excludes pool barriers. CMC §18.20.030 CMC §18.04.025
Pool barriersAppendix CI (Swimming Pool Safety Act) is adopted with the Residential Code. The pool-code editions cited in the municipal code are inconsistent: Confirm with Carlsbad Building CMC §18.20.010 CMC §18.17.010
Fire & Zone 0Carlsbad Fire says Zone Zero requirements will be applied to new construction in the Very High zone and phased in over time, and buildings in the Very High zone must maintain 100 ft of defensible space. In the High zone, defensible-space requirements do not currently apply. No fence-specific local amendment appears in the WUI Code chapter. Carlsbad Fire CMC Ch. 17.06
Coastal & design reviewCoastal-zone development needs a coastal development permit unless exempt. Fences at an existing home are generally exempt, but not within 50 ft of a coastal bluff edge or in sensitive habitat, and not for a height increase over 10% between the sea and the first public road, within 300 ft of a beach, or in a designated scenic area. The City Planner decides exemptions. CMC Ch. 21.201

Hedges and plants up to 42 in are allowed in any required yard except the vision triangle (§21.46.140). On R-1 flag lots, fences in the access strip are limited to 42 in within 20 ft of the street and 6 ft beyond (§21.10.100). Fencing along a slope edge “should” be an open design that does not visually add to the slope's height (§21.95.140).

Confirm before you rely on it

  • The Building Code amendment excludes pool barriers from the fence exemption; the Residential Code amendment, which covers houses, has no such carve-out. Confirm pool-fence permitting with Building.
  • We found no verified rule for measuring a fence on top of a retaining wall, or for whether a retaining wall counts toward the 42-in front-yard limit. Confirm with Planning.
  • La Costa master-plan and HOA standards were not reviewed.
All jurisdictions ↑

City · As of September 2026

Solana Beach

The whole city lies in the Coastal Zone. Planning permits

Solana Beach fence rules at a glance, as of September 2026
Front yard42 in for any fence, wall, retaining wall or combination in required front and street-side yards, plus 24 in more (to 66 in) if the added portion is at least 80% open to light. Posts at least 5 ft apart may reach 5 ft, and a 5-ft fence may be permitted in the front setback to meet pool or spa safety rules. SBMC 17.20.040(O)(1)
Side & rear yards6 ft in required rear and interior yards, plus 2 ft more (to 8 ft) if the added portion is at least 50% open to light and air; it may be solid next to a nonresidential zone. Up to 16 ft within the buildable area. SBMC 17.20.040(O)(2)–(3)
Building permitFences or walls up to 7 ft need no building permit but must still meet zoning height and transparency rules. Retaining walls up to 4 ft, measured from the bottom of the footing, are exempt unless they support a surcharge. When to get a building permit
Pool barriersOn lots of one acre or less: a barrier at least 5 ft from the exterior grade, with no ladder-like access and no horizontal openings over 5 in; gates self-closing and self-latching, with latches at least 4 ft 6 in above grade. SBMC 15.44.030
Fire & Zone 0About 0.43 square miles of the city, with roughly 560 homes, is mapped High or Very High, and new construction there must meet CBC Chapter 7A. The City advises replacing combustible fencing, gates and arbors attached to the home with noncombustible alternatives; that is guidance, not an ordinance. Staff report, May 2025 Defensible space
Coastal & design reviewEvery building permit application must be reviewed and approved by the California Coastal Commission before the City issues it; the City does not process those approvals itself. Whether a fence that needs no building permit still needs Commission sign-off: Confirm with the Coastal Commission Planning permits

Solana Beach counts retaining walls, berms and fill slopes above natural grade as part of a fence, and treats a fence and a retaining wall as one whenever the gap between them is less than the wall's height; on cut or fill slopes, height is measured from the pre-existing grade (SBMC 17.08 17.20.040(O)). Near bluffs and canyon rims, fences over 42 in count as structures for setbacks, and lower fences may come no closer than 15 ft to the top of a coastal bluff; a lightweight fence 42 in or lower, of lightweight materials rather than block, brick or concrete pillars, built without mechanized equipment and without affecting bluff stability, may come within 5 ft (17.20.030(E)(3)). Where slopes or grade differences between lots justify it, the director can allow up to 2 ft more, with mailed notice to owners within 50 ft (SBMC 17.68.030).

Confirm before you rely on it

  • The local pool chapter dates from 1990. The state Pool Safety Act also applies to new and remodeled pools at single-family homes, and its enclosure latch height is 60 in; confirm with Building which standard governs your pool.
  • No numeric corner sight triangle for fences was found; front-yard arbors and gate structures need the city engineer to confirm safe sight distance.
All jurisdictions ↑

City · As of September 2026

Del Mar

The whole city lies in the Coastal Zone. DMMC §30.75.020

Del Mar fence rules at a glance, as of September 2026
Front yard3.5 ft for fences and gates in the required front yard or a side yard on a street. For every 2 ft a fence sits back from the property line it may rise 6 in, to a 6-ft maximum. DMMC §30.86.090(A)(1)
Side & rear yards6 ft in rear and interior side yards. Within the building area, a fence may be as high as the building. DMMC §30.86.090(A)(2)–(3)
Building permitNeeded above 12 in: Del Mar amended both the Building and Residential Codes (effective October 22, 2025). Retaining walls are exempt only up to 12 in. The City's guide confirms that all new fences, retaining walls and freestanding masonry walls need building permits. DMMC §23.12.062 ADR guide
Pool barriersA barrier is required around any pool or outdoor body of water deeper than 12 in (the state threshold is 18 in): at least 5 ft on the outside face, not climbable like a ladder, with self-closing, self-latching gates whose unlatching device is at least 4 ft above ground. It applies to existing pools too. DMMC §30.86.170
Fire & Zone 0The City adopted its Fire Hazard Severity Zones map on June 16, 2025, and says the update significantly expanded High and Very High zones. The 2025 WUI Code is adopted; no local amendment on fences was found. Local Zone 0 rule: Confirm with Del Mar Fire DMMC Title 10
Coastal & design reviewFences at an existing home are generally exempt from a coastal development permit, but the exemption does not apply in several places, including the CDP Appeals Area, within 50 ft of a coastal bluff edge, and within 20 ft of the top or 10 ft of the bottom of a steep slope in the Bluff, Slope and Canyon Overlay. A new fence needs a Design Review Permit, and a replacement is exempt only if it is like-for-like in material, location and style; fences up to 6 ft can use Administrative Design Review. DMMC §30.75.200 DMMC Ch. 23.08 Mutual agreement form

Height is measured on the outside face, from the lower of natural or finished grade (§30.86.090(D)). A fence that retains more than 3 ft of earth must be designed or approved by a licensed engineer or architect, and a fence serving as a retaining wall may rise no more than 1 ft above the retained material (§30.86.090(C)). Administrative Design Review mails notice to owners within 300 ft, and an unresolved written objection sends the project to the Design Review Board; every owner sharing a property line must sign the City's mutual agreement form for a new or replacement fence on that line (ADR guide Mutual agreement form).

Confirm before you rely on it

  • Del Mar's 4-ft unlatching height is lower than the state's 60-in latch height for an enclosure at a new or remodeled single-family pool. Confirm with Building which applies.
  • Fence standards in the Beach Overlay and the Bluff, Slope and Canyon Overlay were not fully reviewed.
All jurisdictions ↑

City · As of September 2026

Coronado

The whole city lies in the Coastal Zone. LCP Land Use Plan

Coronado fence rules at a glance, as of September 2026
Front yardConfirm with Coronado Planning & Zoning
Side & rear yardsConfirm with Coronado Planning & Zoning
Building permitNeeded for any new or rebuilt fence taller than 2 ft, whatever the material. A fence that straddles the shared property line needs the neighbor's signature on the certification. Handout 112 (March 2025)
Pool barriersThe state Pool Safety Act applies to new and remodeled single-family pools. Local rules beyond it: Confirm with Coronado Building
Fire & Zone 0The City's fence handout notes that structures in a Very High zone may face added fire requirements, without saying whether any part of Coronado is in one. Confirm with Coronado Fire Prevention Handout 3
Coastal & design reviewPlanning & Zoning handles coastal permits as discretionary permits. Which fence work needs one, and any design or historic review: Confirm with Coronado Planning & Zoning LCP Land Use Plan

Fence permits go through over-the-counter plan review, and the applicant must show the Building Inspector that footings and posts match the approved plans (Handout 302 Handout 112). A boundary survey is recommended but not required, and fence-location disputes are a civil matter between neighbors. Any wall or fence in, or encroaching onto, the public right-of-way needs an Encroachment Permit (Encroachment permits).

Confirm before you rely on it

  • The City's fence and zoning handout (Handout 3) quotes the zoning code as it stood in November 2017 and applies the height rules to hedges used as fences. Confirm current height limits with Planning & Zoning before you design.
  • Fence rules for the Coronado Cays specific plan area, and HOA rules in the Cays or Coronado Shores, were not verified for this page.
All jurisdictions ↑

Putting it together

What this means for fences near the house

Across these jurisdictions the fire rules converge on one place: the first 5 feet around the house, and the point where a fence meets the wall. How firm the rule is depends on where you live.

  • In force, fence-specific. In the City of San Diego, new structures in a Very High zone need noncombustible fences and gates in Zone 0, and an attached fence needs a 5-ft noncombustible span; Standard D-2 names steel and aluminum among the materials (Standard D-2). The Rancho Santa Fe Fire Protection District allows no combustible attachments such as fences within 5 ft (Ord. 2022-02).
  • In force, general. The County WUI Code requires the 0–5 ft zone to be hardscape or noncombustible materials, and counts fences within 5 ft of a dwelling as structures (County WUI Code §604).
  • Adopted statewide, not in effect. The Board of Forestry's Zone 0 rules would bar new combustible fences and gates in Zone 0 and require a 5-ft noncombustible section where a fence attaches to an occupied structure. “Noncombustible” is tied to the ASTM E136 test (Board notice).
  • Guidance elsewhere. Poway and Solana Beach advise replacing combustible fencing, gates and arbors attached to the home, and Carlsbad Fire says Zone Zero requirements will be applied to new construction in its Very High zone (Poway guide Solana Beach Carlsbad Fire).

Pool barriers side by side

Pool gates are where fence rules get most specific. Where more than one rule applies to a pool, ask the building official which one governs.

Pool barrier height and gate latch rules by source, as of September 2026
RuleBarrier heightGate latch or lock
State enclosure standard60 in minimumSelf-latching device no lower than 60 in; gate opens away from the pool
Unincorporated County60 in, measured on the side away from the poolSelf-closing, self-latching; opens away from the pool
Poway60 in, measured on the side away from the poolAccepts a locking device at least 54 in above grade
Escondido (city packet)60 in, measured on the outsideAt least 54 in from the bottom of the gate
Encinitas5 ft minimumSelf-latching gate
Solana Beach5 ft from exterior gradeAt least 4 ft 6 in above grade
Del Mar5 ft on the outside face, for water over 12 in deepUnlatching device at least 4 ft above ground

Where to go next

Questions homeowners ask

Do I need a permit to build a fence in San Diego County?

It depends on the jurisdiction and the height. As of September 2026, the building-permit threshold for a fence ranges from 12 inches in Del Mar and 2 feet in Coronado to 6 or 7 feet in the other jurisdictions on this page. Pool-barrier fences are excluded from the exemption in the City of San Diego and the unincorporated County, and zoning height limits apply even when no building permit is needed. Confirm with the building division before you build.

Sources: Del Mar, Coronado, City of San Diego, County, and each section above.

How tall can a front-yard fence be?

In every jurisdiction here where we could verify the numbers, front yards are more restricted than side and rear yards. Examples as of September 2026: 42 inches in Carlsbad and the unincorporated County; 3.5 feet in Del Mar, rising with setback to 6 feet; 4 feet within 15 feet of the property line in Encinitas, or 6 feet if the top 2 feet is at least 50% open; and 3 feet for a solid fence on the property line in the City of San Diego. Open designs often allow more height.

Sources: Carlsbad, County, Del Mar, Encinitas, City of San Diego.

Does Zone 0 require a noncombustible fence next to my house?

It depends on where you live. In the City of San Diego, Zone 0 rules are in force: for new structures in a Very High Fire Hazard Severity Zone, Fire-Rescue Standard D-2 requires new fences and gates within Zone 0, the first 5 feet around the structure, to be noncombustible, such as steel, aluminum, fiber cement board or masonry, with a 5-foot noncombustible span where a fence attaches and a conditional exception for fire-retardant-treated wood. The state Board of Forestry adopted Zone 0 emergency regulations on August 19, 2026, but as of September 2026 they are not in effect. The unincorporated County and the Rancho Santa Fe Fire Protection District have their own 0–5 foot rules, so confirm with your fire agency.

Sources: Standard D-2, Board of Forestry notice, County WUI Code, RSF Fire Ord. 2022-02.

Do I need a coastal development permit for a fence?

Sometimes. Under the Coastal Act a fence can count as development, and improvements to an existing single-family home are generally exempt. Local rules take fences back out of that exemption in certain places, for example between the sea and the first public road in the City of San Diego, or in Del Mar's Coastal Development Permit Appeals Area. Del Mar, Solana Beach and Coronado lie entirely in the Coastal Zone, and in Solana Beach the Coastal Commission reviews every building permit application. Confirm with the city's planning department.

Sources: PRC §30106, PRC §30610, SDMC §126.0704, DMMC Ch. 30.75, Solana Beach Planning.

Which rules apply if my mailing address says Escondido or Rancho Santa Fe?

The rules follow the jurisdiction, not the mailing address. Homes outside city limits follow County of San Diego rules. In Rancho Santa Fe, parcels under the Protective Covenant also need Rancho Santa Fe Association approval for fences and walls, and the Rancho Santa Fe Fire Protection District sets its own 0–5 foot rules. Confirm your jurisdiction with the County or the city before you design.

Sources: County Zoning Ordinance, RSF Association Regulatory Code, RSF Fire Ord. 2022-02.

Plan the fence around the rules

A site review covers the details these rules turn on: setbacks and sight lines, slope and retaining walls, pool gates, and the first five feet around the house. A written scope follows, with materials, spans and finish detailed.

Site reviews and estimates are always free.

Call (619) 975-1883 Site Review