Skip to main content
CityRuleLookup
🧱 Fence Regulations/Height Limits

Height Limits: Palo Alto vs Sunnyvale

How do height limits rules compare between Palo Alto, CA and Sunnyvale, CA?

Sunnyvale has fewer restrictions than Palo Alto.

Palo Alto, CA

Santa Clara County

Heavy Restrictions

Palo Alto limits fences to 6 feet in rear and side yards and 3 feet in front yards under PAMC 18.40.090, with sight-triangle rules at corners.

View full Palo Alto rules β†’

Sunnyvale, CA

Santa Clara County

Some Restrictions

Sunnyvale limits front yard fences to 3 feet, side and rear yard fences to 6 feet, and allows up to 8 feet with a minor fence permit for privacy and sound attenuation needs.

View full Sunnyvale rules β†’

Key Facts Comparison

FactPalo AltoSunnyvale
Side/rear max6 feet-
Front solid max3 feet-
Front open max4 feet-
Corner triangle30 inches within 10 feet-
Over 6 feetMinor Variance required-
Front yard-3 feet solid / 4 open
Side and rear-6 feet
Max with permit-8 feet
Corner sight triangle-3 feet max
Permit authority-Planning Division

Highlighted rows indicate differences between cities.

Palo Alto FAQ

Can I build a 7-foot fence for privacy?

Only with an approved Minor Variance showing unique circumstances.

Do hedges count?

Yes, hedges taller than 6 feet in side/rear yards can be enforced as fences.

Sunnyvale FAQ

Can I build an 8-foot backyard fence for privacy?

Yes, with a minor zoning clearance from Planning that confirms setbacks, neighbor notification, and no sight-distance impacts. Approval is usually administrative.

Does a trellis on top of a fence count toward the height?

Yes if it is solid. Open-lattice trellis above a 6-foot fence may qualify for higher limits but still needs Planning confirmation and cannot exceed 8 feet total.

Compare other topics

See how Palo Alto and Sunnyvale 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