Skip to main content
CityRuleLookup

Milpitas, CA Fence Regulations: Retaining Walls (2026)

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

Key Facts

Applies in
'H' Hillside Combining District (Ch. B.22)
Retaining wall max height
6 feet
Roadway crib wall max height
15 feet
Grading over 500 cy
Planning Commission review
Grading over 1,500 cy
City Council approval
Tree replacement ratio
5:1 for 6-inch+ trunk trees
Max fine
$1,000 / 6 months jail

Summary

In the City of Milpitas, retaining walls built within the 'H' Hillside Combining District cannot exceed six feet in height, while crib walls that fence a roadway can run up to fifteen feet. The limit is part of the hillside grading standards in Chapter XIII-B.22, which require streets and cut-or-fill slopes to follow the land's natural contours rather than reshape it to fit a project.

Streets shall be designed to generally follow the natural contours and land form in order to minimize cut and fill. Exposed walls and fences facing roadways and retaining walls shall be no greater than six (6) feet in height. Crib walls fencing roadways shall be no greater than fifteen (15) feet in height.

Full Breakdown

Section B.22.180 of the Milpitas Municipal Code, within Chapter B.22 governing the 'H' Hillside Combining District, sets design standards for grading in the city's hill areas east of the valley floor. Subsection C.11 requires streets to generally follow natural contours and land form to minimize cut and fill, and caps exposed walls, fences facing roadways, and retaining walls at six feet in height, while allowing crib walls that fence a roadway to reach fifteen feet. The same section requires cut-or-fill slopes greater than three-to-one adjacent to a public right-of-way to be professionally landscaped and maintained, prohibits grading on natural slopes steeper than 40 percent, and generally protects trees with a six-inch or greater trunk diameter, requiring 5:1 replacement when the Planning Commission permits their removal.

Review is tiered by volume: the Community Development Manager approves grading under 500 cubic yards, the Planning Commission reviews grading between 500 and 1,500 cubic yards, and any grading over 1,500 cubic yards needs a Planning Commission recommendation followed by City Council approval. This six-foot cap is specific to the Hillside Combining District; it does not apply to retaining walls built on valley-floor lots elsewhere in Milpitas, which fall instead under the citywide fence, wall, and hedge standards of Section C.2.040.

Violations & Fines

A retaining wall built over the six-foot hillside limit, or hillside grading done without the required Community Development Manager or Planning Commission approval, is enforced under Chapter D.18. Section D.18.040 sets a fine of up to $1,000, up to six months in the Santa Clara County Jail, or both, with each day of a continuing violation counted separately, and Section D.18.060 lets the Building Official issue a stop-work order until the violation is corrected.

Frequently Asked Questions

How tall can a retaining wall be on hillside property in Milpitas?
Section B.22.180 of the Milpitas Municipal Code caps retaining walls, and exposed walls or fences facing roadways, at six feet in height within the 'H' Hillside Combining District. A crib wall built specifically to fence a roadway is allowed to run taller, up to fifteen feet.
Does the six-foot retaining wall limit apply everywhere in Milpitas?
No. The limit in Section B.22.180 is specific to hillside grading within the 'H' Hillside Combining District. Retaining walls built on flatter, valley-floor lots elsewhere in the city are instead governed by the separate fence, wall, and hedge height standards in Section C.2.040.
Do I need city approval before grading a hillside lot in Milpitas?
It depends on volume. The Community Development Manager can approve grading plans under 500 cubic yards administratively. Grading between 500 and 1,500 cubic yards needs Planning Commission review, and anything over 1,500 cubic yards requires a Planning Commission recommendation followed by City Council approval.
What's the penalty for exceeding the hillside retaining wall height limit?
A violation is enforced under Section D.18.040, which carries a fine of up to $1,000, up to six months in the Santa Clara County Jail, or both, with each day the wall stays in violation counted as a separate offense, on top of any stop-work order the Building Official issues.

Sources & Official References

Other rules in Milpitas

All Milpitas rules

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

Get notified when Retaining Walls in Milpitas, 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.

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