Skip to main content
CityRuleLookup
🧱 Fence Regulations/Height Limits

Height Limits: Los Angeles vs San Francisco

How do height limits rules compare between Los Angeles, CA and San Francisco, CA?

Los Angeles and San Francisco have similar restriction levels.

Los Angeles, CA

Los Angeles County

Some Restrictions

Front yard fences max 3.5 feet in R zones (42 inches). Side/rear yard fences up to 8 feet on lots 40+ feet wide; 6 feet on narrower lots. LAMC §12.22.C.20(f).

View full Los Angeles rules →

San Francisco, CA

San Francisco County

Some Restrictions

Fence height in San Francisco is regulated by Planning Code Section 136 (Permitted Obstructions in Required Setbacks, Yards, and Usable Open Space), administered by the San Francisco Planning Department. Within a required front setback, fences are generally limited to 3 feet in height. In required rear yards and side yards, fences may be erected up to 10 feet in height. Section 136 lists fences among the obstructions specifically permitted in yards subject to these limits. Additional Building Code permits apply to fences over 6 feet. Properties in historic districts or with conditional-use entitlements may face additional review. Contact Planning at (628) 652-7600.

View full San Francisco rules →

Key Facts Comparison

FactLos AngelesSan Francisco
CodeLAMC §12.22.C.20(f)-
Front Yard (R zones)3.5 feet max (42 inches)-
Side/Rear (lot ≥40 ft)8 feet max-
Side/Rear (lot <40 ft)6 feet max-
PermitRequired for fences >7 feet-
Code Citation-Planning Code Sec. 136
Front Setback Max-3 feet
Rear/Side Yard Max-10 feet
Building Permit Threshold-Over 6 feet
Pool Fencing-Cal. H&S 115920+
Planning Dept-(628) 652-7600

Highlighted rows indicate differences between cities.

Los Angeles FAQ

How tall can my fence be in los Angeles?

Front yard fences max 3.5 feet in R zones (42 inches). Side/rear yard fences up to 8 feet on lots 40+ feet wide; 6 feet on narrower lots. LAMC §12.22.C.20(f).

What is the maximum fence height for front yards in los Angeles?

Code: LAMC §12.22.C.20(f). Front Yard (R zones): 3.5 feet max (42 inches). Side/Rear (lot ≥40 ft): 8 feet max. Side/Rear (lot <40 ft): 6 feet max.

San Francisco FAQ

How tall can my fence be in San Francisco?

Under Planning Code Section 136, fences in a required front setback are limited to 3 feet in height. In required rear yards and side yards, fences may be erected up to 10 feet in height as a permitted obstruction under Section 136(c). Height is measured from the adjoining grade. Properties in historic districts or with special zoning conditions may have additional limits, so verify with the San Francisco Planning Department before construction.

Do I need a permit to build a fence in San Francisco?

Under the San Francisco Building Code, residential fences 6 feet or less in height are generally exempt from a building permit. Fences taller than 6 feet, fences combined with retaining walls, and swimming pool enclosures require a building permit from the Department of Building Inspection. Zoning compliance with Planning Code Section 136 (3-foot front-setback limit, 10-foot rear/side-yard limit) is required regardless of whether a building permit is issued.

Compare other topics

See how Los Angeles and San Francisco compare on other ordinance categories.

Want to add a third city?

Use our full comparison tool to compare up to three cities.

Open Comparison Tool