Skip to main content
CityRuleLookup

San Jose, CA Fence Regulations: Retaining Walls (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Key Facts

Permit-exempt height
Up to 4 feet, footing to top
Zoning height cap (residential)
2 feet from grade
Above the cap
Requires a Special Use Permit
Front setback for wall
None required

Summary

San Jose exempts retaining walls under 4 feet from a building permit, but residential zoning caps accessory retaining walls at just 2 feet unless a Special Use Permit is granted for greater height.

Retaining walls which are not over four feet (1,219 mm) in height measured from the bottom of the footing to the top of the wall, unless supporting a surcharge or impounding Class I, II or III-A liquids.

View official code

Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Code of Ordinances: Supplement 5 Update 3).

Full Breakdown

Under San Jose Municipal Code § 24.02.120(A)(5), a building permit is not required for retaining walls up to 4 feet tall, measured from the bottom of the footing to the top of the wall, unless the wall supports a surcharge or holds back Class I, II or III-A liquids. But permit exemption doesn't mean unregulated: Table 20-70 in Municipal Code § 20.30.500, governing accessory buildings and structures in residential zoning districts, caps retaining wall height at just 2 feet measured from existing grade. A taller wall needs a Special Use Permit under Chapter 20.100, Part 7. Retaining walls carry no required front setback under the same table.

Violations & Fines

Building without the required permit, or exceeding the 2-foot zoning height cap without a Special Use Permit, can draw a stop-work order and code enforcement action from the building official.

Frequently Asked Questions

Do I need a permit to build a retaining wall in San Jose?
Not if it's 4 feet or less from the footing to the top and isn't holding back a surcharge or Class I-III-A liquids. Taller or load-bearing walls need a building permit under SJMC § 24.02.120(A)(5).
How tall can a retaining wall be in a San Jose backyard?
In residential zoning districts, accessory retaining walls are capped at 2 feet from existing grade under SJMC § 20.30.500, Table 20-70, unless the owner gets a Special Use Permit for more height.

Sources & Official References

Other rules in San Jose

All San Jose rules

California rules heatmap·Compare San Jose to another location·View the California fence regulations overview

Get notified when Retaining Walls in San Jose, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Retaining Walls in Nearby Cities

How other cities in Santa Clara County handle retaining walls.

Santa Clara, CA
Some Restrictions
Mountain View, CA
Some Restrictions