Skip to main content
CityRuleLookup
🧱 Fence Regulations/Permit Requirements

Permit Requirements: Palo Alto vs Sunnyvale

How do permit requirements rules compare between Palo Alto, CA and Sunnyvale, CA?

Palo Alto and Sunnyvale have similar restriction levels.

Palo Alto, CA

Santa Clara County

Some Restrictions

Palo Alto requires a building permit for fences over 7 feet tall or any retaining-wall combination exceeding 4 feet; fences at or under 6 feet generally do not need a permit.

View full Palo Alto rules β†’

Sunnyvale, CA

Santa Clara County

Some Restrictions

Fences up to 6 feet in side and rear yards do not require a building permit in Sunnyvale, but fences over 7 feet, retaining walls over 4 feet, and pool barriers always need permits.

View full Sunnyvale rules β†’

Key Facts Comparison

FactPalo AltoSunnyvale
Under 7 feetNo building permit-
Over 7 feetPermit required-
Pool barriersPermit requiredAlways permitted
Retaining + fenceOver 4 ft needs permit-
Typical fee150 to 400 dollars-
No permit up to-7 feet wood / vinyl
Permit required over-7 feet
Retaining wall trigger-Over 4 feet
Issuing office-One Stop Permit Center

Highlighted rows indicate differences between cities.

Palo Alto FAQ

Do I need a permit to replace an existing fence?

Not if it is at the same location and height under 7 feet, but zoning compliance still applies.

What about a masonry wall?

Masonry walls usually need a permit due to structural footing requirements.

Sunnyvale FAQ

Do I need a permit to replace my existing 6-foot fence?

Like-for-like replacement at 6 feet in a side or rear yard does not require a building permit, but setbacks and HOA approval still apply.

Is barbed wire allowed on a residential fence?

No. Barbed wire and razor wire are not allowed on residential fences. Commercial and industrial uses may petition Planning for an exception.

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