Most cities in LA & San Bernardino County follow the same basic exemption rules. You do NOT need a building permit if your fence meets all the following conditions:​
•
Backyard & Side Yard Fence ≤ 6 FT Tall​
Residential rear and interior side yard fences up to 6 feet in height are permit-exempt in most unincorporated county areas, including LA County and San Bernardino County. This is the most common rule for standard backyard privacy fences.​
•
Front Yard Fence ≤ 3–4 FT Tall​
Front yard fences are strictly limited. Most cities allow maximum 3 feet to 42 inches front yard fence without a permit.​
•
No retaining wall combination​
Fences built on the ground (not on top of a retaining wall) under 6 ft do not require permits.​
•
No electrical, lighting, or structural pillars​
Plain vinyl and WPC fence panels without extra electrical fixtures or heavy structural columns are permit-exempt.​

⚠️ When You MUST Apply for a Fence Permit​

You are required to submit a city building permit if any of these apply:​
•
Backyard fence height over 6 feet​
•
Front yard fence height over 3–4 feet​
•
Fence installed on top of a retaining wall (any height usually requires review)​
•
Fence includes lights, electrical components, or heavy masonry structures​
•
Corner lot properties within traffic visibility triangle zones​

📍 City & County Rule Differences (Very Important)​

Here is why many homeowners get confused: each city has its own fence code.​
•
Los Angeles County (Unincorporated Areas)​
6-foot maximum backyard fence NO permit required; strict front-yard height limits apply.​
•
San Bernardino County / Upland / Ontario / Fontana​
Fence height, setback distance, and side-yard rules are strictly zoned differently per residential area. Some zones require permits even for 6 ft fences.​
•
City of San Francisco & Coastal Cities​
Front yard max 3 ft, rear/side max 6 ft; stricter visibility rules for street-facing fences.​
•
Solana Beach & Planned Community Cities​
Front yard fences capped at 42 inches; only open-style fence material can extend slightly higher.​

🚧 Critical Setback & Location Rules (Even Without Permit)​

Even if your fence height is under the permit limit, you still must follow city codes:​
•
Street-side setback: Fences cannot be placed too close to sidewalks or street right-of-way.​
•
Corner lot visibility rule: Fences near street intersections must stay low to preserve traffic visibility.​
•
HOA Community Rules OVERRIDE city rules​
If you live in an HOA neighborhood, your fence height, color, material, and style must be HOA-approved — even if the city does not require a permit.​

💡 LJFence Professional Tip​

Before you buy any fence materials or start installation, always confirm your local city rules and HOA requirements first. Many customers mistakenly build unapproved fences and end up paying fines or removing the finished fence.