Skip to main content
CityRuleLookup

Milpitas, CA Fence Regulations: Height Limits (2026)

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

Key Facts

Front setback max
42 inches
Street side, within 10 ft of line
42 inches
Street side, 10+ ft from line
6 feet
Interior side/rear setback max
6 feet
Corner visibility triangle max
3 feet
Visibility triangle measurement
35 feet from curb intersection
Hillside district max
54 inches

Summary

In the City of Milpitas fences on the valley floor top out at 42 inches in front and street-side setbacks near the property line, and six feet along interior side and rear lines. Corner-lot fences inside the sight-visibility triangle are capped at three feet unless the Public Works Director approves otherwise.

4.Intersection Visibility. On corner lots, fences within the visibility triangle (see Figure C.2.040-1 (Visibility Triangle)) may not exceed three feet in height unless approved by the Public Works Director. The visibility triangle is formed by lines extended from the face of the curb to their intersection and a line connecting the face of the curb extensions measured 35 feet from their point of intersection. If no curb exists, the edge of the roadway or vehicular travel area shall be used as the point of measurement. ... C.Standards for Fences and Walls on the Valley Floor (outside of the "H" Hillside Combining District).1.Height Limitations. Fences, walls, dense and continuous hedges, and similar structures are limited to maximum heights as follows:a.Within required front setbacks. 42 inches.b.Within required street side setbacks.(i)Within 10 feet of the property line. 42 inches.(ii)10 feet or more from the property line. Six feet.c.Within required interior side and rear setbacks. Six feet.

Full Breakdown

Milpitas Municipal Code Section C.2.040 sets the citywide fence, wall and dense-hedge height standards for the valley floor (areas outside the "H" Hillside Combining District). Within a required front setback, a fence, wall or continuous hedge may not exceed 42 inches. Along a street side setback, the same 42-inch cap applies within 10 feet of the property line, but the fence may rise to six feet once it sits 10 feet or more from the property line. Interior side and rear setbacks allow six feet as of right. The Section measures fence and wall height under Subsection A.6.090, and the limits reach every structural support element, including pilasters, columns and posts, not just fence panels.

Corner lots carry an added restriction: fences inside the visibility triangle shown in Figure C.2.040-1 cannot exceed three feet unless the Public Works Director signs off on a taller design. The triangle is built from lines extended from the face of the curb to their intersection, connected by a line drawn 35 feet back from that intersection point along each curb face; where no curb exists, the edge of the roadway or vehicular travel area is used instead. Exceptions to the general height caps exist for Building Code-required railings, recreation-area fencing up to 12 feet (with the portion above six feet at least 50 percent openwork), nonresidential rear/side fences up to eight feet with a Minor Site Development Permit, and residential rear/side fences up to eight feet with adjoining owners' written consent. In the Hillside Combining District, the maximum drops to 54 inches with additional openwork and material rules under Subsection D of the same Section.

Violations & Fines

Milpitas Planning and Neighborhood Services and Code Enforcement handle fence-height complaints, and the Public Works Director is the named reviewing authority for visibility-triangle exceptions. An oversized or noncompliant fence built without the required Minor Site Development Permit or neighbor consent is subject to code enforcement action and can be ordered removed or cut down to the compliant height; barbed wire within four feet of a public sidewalk, electrically charged fencing, and most chain-link fencing outside sports courts or approved industrial expansions are outright prohibited under Subsection B.2 of the same Section.

Frequently Asked Questions

How tall can my front-yard fence be in Milpitas?
Under Municipal Code Section C.2.040.C, a fence, wall or dense continuous hedge within a required front setback is capped at 42 inches on the valley floor. The same 42-inch limit applies to a street side setback within 10 feet of the property line.
Can I build a six-foot fence along my side or back yard?
Yes. Section C.2.040.C.1.c allows six feet as of right within required interior side and rear setbacks, and a street side setback also reaches six feet once it is 10 feet or more from the property line.
Why is my corner-lot fence limited to three feet?
Section C.2.040.B.4 restricts fences inside the intersection visibility triangle to three feet so drivers and pedestrians can see oncoming traffic. The triangle runs from the curb-face intersection to points 35 feet back along each curb face; the Public Works Director can approve a taller fence there.
Is chain-link fencing allowed in Milpitas?
Only in limited cases. Section C.2.040.B.2.c permits chain link for recreational sports courts like tennis courts, or in commercial and industrial zones as an expansion of an existing approved chain-link enclosure that is not visible from the public right-of-way; otherwise it is prohibited citywide.

Sources & Official References

Other rules in Milpitas

All Milpitas rules

How Milpitas compares: Cities That Allow the Tallest Residential Fences·California rules heatmap·Compare Milpitas to another location·View the California fence regulations overview

Get notified when Height Limits 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.

Height Limits in Nearby Cities

How other cities in Santa Clara County handle height limits.

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