FENCE RULES – MILPITAS (CITY), CALIFORNIA

OVERVIEW

Updated November 2026. Milpitas distinguishes valley-floor fencing from the H Hillside Combining District. Valley-floor required front setbacks generally have a forty-two-inch limit, while required interior-side and rear setbacks generally allow six feet. Street-side distance, corner visibility, neighbor consent for certain taller fences and separate permit requirements also matter. Hillside height, openness, materials and review are different. Lawful older fencing has a qualified repair route, not an unrestricted reconstruction right. Confirm the district, applicable specific plan, boundaries, grades, approval path and pool protection before installation or replacement. These rules concern the City of Milpitas, California.

Quick questionMilpitas answer
Permit or approvalBuilding permits: pool/spa fences, other fences over seven feet, retaining walls over four feet or supporting surcharge. Planning must resolve the handout’s all-new/replacement instruction against code exemptions and conditional triggers.
Typical fence heightValley required front: forty-two inches. Required street side: forty-two inches within ten feet, six feet farther away, with boundary confirmation. Required interior side/rear: six feet; conditional eight-foot consent route. Hillside differs.
Placement & property linesConfirm required yards, finished grades, easements, thirty-five-foot face-of-curb corner geometry and applicable hillside or specific-plan controls.
Common fence materialsWood: check design and hillside posts/frame rule. Vinyl/PVC: confirm product and approval. Chain-link: not an ordinary residential option under the general prohibition.
Important local conditionsFence rules may be further affected by hillside and crestline review, specific plans, grade, written neighbor consent, sight clearance, easements, repair scope, pool protection and private restrictions.
Official local resourceMilpitas: Official Current Zoning Ordinance

The detailed sections below explain the main homeowner requirements and link to official local resources. They distinguish approvals, placement, height and visibility, materials, lawful maintenance, repairs, replacement and pool protection.

GOVERNANCE

The City Council adopts ordinances. Planning administers zoning and site-development approvals, Building Safety handles construction permits, and Public Works reviews applicable easements and visibility. The City’s comprehensive zoning-update page links the replacement Title XIII, adopted September 2, 2025 and effective October 2, 2025. Confirm later amendments, specific plans and the actual district rather than relying on older Title XI fencing provisions.

The City adopted the 2025 California construction codes through Ordinance 65.155. Its certified ordinance adopts the 2024 International Swimming Pool and Spa Code, despite a different year shown on the summary webpage. Have Building identify the complete applicable construction and pool requirements; zoning height permission does not settle those questions.

PERMIT AND APPROVAL REQUIREMENTS

The January 2026 residential fence handout requires a Building permit for all pool or spa fences, other fences over seven feet, and retaining walls over four feet or supporting a surcharge. Retaining-wall height is measured from the bottom of the footing to the top. Submit the proposed assembly, loads and pool function for Building classification; a seven-foot construction threshold does not raise a lower zoning limit.

Ask Planning to confirm the site-development approval path before new or replacement work. The handout calls for a Minor Site permit for all new and replacement fences and retaining walls. The zoning code separately lists a Building-permit-dependent Minor Site trigger and exempts fences and walls consistent with Section C.2.040 and the Title. Do not assume either that every fence is exempt or that every project necessarily follows the same review route.

The code also provides site-development permit exemptions for specified like-kind and like-form repairs, certain work not visible to the public, and routine maintenance that does not change color, materials or design. Those procedural exemptions do not authorize a prohibited material or unrestricted reconstruction of a nonconforming fence. Confirm the actual work and any prior site approvals with Planning.

• Hired fence work: Verify the contractor’s applicable license and scope. The Business and Professions Code 7048 exception covers casual, minor or inconsequential work below $1,000 in aggregate labor, materials and other costs only when no building permit is required and no one is employed to perform or assist. It excludes work that is part of a larger operation, splitting projects to fit the limit, and persons advertising as contractors or qualified to contract. It is not an exemption for every low-cost fence job.

FENCE PLACEMENT RULES

For valley-floor property outside the H Hillside Combining District, establish the required front, street-side, interior-side and rear setbacks. The street-side rule distinguishes fencing within ten feet of the property line from fencing ten feet or more away. Have Planning resolve the exact ten-foot boundary and required-yard layout on the plan rather than treating every lot area identically.

A fence encroaching into a public utility or other easement needs written approval from the Public Works Director and affected utility companies. Encroachment into a public easement also requires the stated public-agency approvals. Neighbor consent does not replace these approvals or establish ownership. All fencing must avoid hazards to traffic, people and property.

• Shared fences: California Civil Code 841 presumes adjoining landowners benefit equally from a dividing fence and, absent a contrary written agreement, share reasonable construction, maintenance and necessary replacement costs. The presumption is rebuttable, not a right to choose an expensive upgrade and automatically bill a neighbor for half. Before incurring covered costs, give each affected adjoining owner thirty days’ prior written notice stating the presumption, the problem, proposed solution, estimated costs, proposed sharing and timeline.

A court can reduce or eliminate a contribution if the presumption is rebutted by a preponderance of the evidence. It considers disproportionate benefit or burden, cost compared with added property value, proven financial hardship, unreasonable or excessive expense, personal aesthetic preferences and other equitable factors. The statute’s landowner definition excludes public bodies. Public approval does not resolve ownership or authorize removal of someone else’s property.

• Before digging: Use USA North 811’s California utility-location guidance before post holes and check responses and markings. Private irrigation and other owner-installed lines may need a private locator. California’s owner exceptions include a residential owner, not acting as a licensed contractor, improving the principal residence or its appurtenances through excavation that does not require a permit, and an owner contracting with a licensed contractor for permit-exempt excavation. Those exceptions do not excuse a hired excavator’s own duties; locating utilities remains sound safety practice.

Covered excavators delineate the work area and ordinarily notify at least two working days, and no more than fourteen calendar days, before excavation, excluding the notice day from the two-working-day count. Obtain an actual ticket, observe its legal start and operator responses, and preserve markings. Tickets generally remain valid twenty-eight calendar days from issuance and must be revalidated before expiration if work continues. Follow the exact-location and safe-exposure requirements; the tolerance zone generally extends twenty-four inches from each outside edge of the installation. Upon discovering or causing installation damage, immediately notify the operator. Call 911 first for a gas or hazardous-liquid pipeline release of flammable, toxic or corrosive material, or damage to a high-priority installation, subject to the narrow operator-maintenance exception. Notify the regional notification center within forty-eight hours unless its separate operator-maintenance exception applies.

FENCE HEIGHT AND VISIBILITY RULES

On the valley floor, fences, walls, dense continuous hedges and their structural supports are generally limited to forty-two inches in required front setbacks. In required street-side setbacks, the limit is forty-two inches within ten feet of the property line and six feet at ten feet or more, subject to City resolution of that boundary. Required interior-side and rear setbacks generally have a six-foot limit.

Measure fence or wall height from finished grade to its top at any point, including any barbed-wire top. The zoning measurement provision allows measurement from the higher elevation where finished grade differs across the fence. The handout refers to finished grade on either side; have the City approve the actual profile, especially with retained soil or grade changes. Do not assume an extra retaining-wall height allowance.

Within residential rear and side setback areas, a fence may reach eight feet when written consent from adjoining residential property owners is received. That is a specific conditional route, not permission for an eight-foot front fence. Obtain the required City classification and construction permits as well as the actual adjoining-owner consent.

At corners, fences in the visibility triangle may not exceed three feet unless the Public Works Director approves otherwise. The triangle uses thirty-five feet from the intersection of extended face-of-curb lines; where there is no curb, use the roadway edge or vehicle travel area as specified. This is not a thirty-five-foot property-line triangle. Have Public Works confirm the actual layout.

The H Hillside Combining District generally limits fencing to fifty-four inches with at least seventy-five-percent visual transparency in every square-foot area, excluding posts. Wood posts and supporting framework are required under the ordinary hillside rule. Crestline protection and exceptions for greater height, less-open designs or different posts have specific Planning Commission review provisions; the ordinary valley-floor six-foot rule does not replace them.

One qualifying entry gateway, trellis or entry structure has a separate valley-floor front/street-side exception with dimensional and openness restrictions. It does not authorize a continuous ten-foot fence. Have Planning review that feature and any applicable Building-required safety railing or special site condition.

• Spite fences: Civil Code 841.4 treats an unnecessarily over-ten-foot fence or fence-like structure maliciously erected or maintained to annoy an adjoining owner or occupant as a private nuisance. Ten feet is not a zoning allowance.

MATERIAL AND CONSTRUCTION LIMITS

Wood: confirm the design and location; the hillside rule specifically concerns wood posts and supporting framework. Vinyl/PVC: obtain approval of the actual product, district and design rather than inferring permission from height alone. Chain-link: prohibited for ordinary residential fencing under the general rule; its stated sports-court and limited commercial or industrial enclosure exceptions are not a general residential allowance.

Concrete block must have the required stucco finish or decorative split face and a decorative cap. Plain concrete block is not allowed for walls or fencing. Barbed wire near a public sidewalk and electrically charged or hazardous fencing have separate prohibitions and stated legal exceptions. Qualifying nonresidential security systems need their own legal and City classification; do not treat this homeowner guide as a universal nonresidential electric-fence ban.

• Repair and replacement: Section C.18.050 permits repairs and alterations to a lawful nonconforming building or structure but prohibits structural alterations except those required by law. Keep that substantive limit separate from the code’s like-kind or routine-maintenance permit exemptions. Have Planning classify substantial replacement before removing the existing fence.

Additions or enlargements must meet applicable standards and not increase the degree of nonconformity. Moving a nonconforming structure requires conformity of every portion. The separate seventy-five-percent true-value casualty-restoration provisions are not a quota for replacing ordinary fence boards or automatic permission for voluntary full reconstruction. Maintain fencing so it does not create a hazard.

• Pool protection: Pool and spa fencing requires a Building permit under the City handout. Obtain approval of the complete current pool enclosure, gates and safety features under the applicable California codes, the City’s adopted pool code and local requirements. An ordinary perimeter fence or two selected State features alone should not be assumed to satisfy all applicable protection.

For covered construction or remodeling of a pool or spa at a private single-family home, California generally requires at least two qualifying drowning-prevention features, subject to statutory exceptions and distinct licensed-child-care rules. The Act covers qualifying recreational-water structures containing water more than eighteen inches deep, including spas and hot tubs. Alternatives include a compliant isolation enclosure, qualifying removable mesh fencing, an approved safety cover, exit alarms, qualifying self-closing and self-latching home doors, a qualifying water alarm, or independently tested equivalent protection. Each feature must meet its actual technical standard. An exit alarm and latch on the same door, an exit alarm and latch on separate doors, or a safety cover and the specified water alarm do not make a qualifying two-feature pair. Final inspection is required.

A statutory isolation enclosure must be at least sixty inches high, with no more than two inches of ground clearance and no opening passing a sphere four inches or larger. Its outside must not provide handholds or footholds enabling a child under five to climb over. Gates must open away from the pool, self-close and self-latch, with the latch at least sixty inches above ground. That differs from the fifty-four-inch release height for the separate qualifying home-door feature. Licensed family child-care homes with in-ground pools have additional isolation, protective-feature, documentation and inspection requirements. An ordinary perimeter fence alone does not establish pool compliance.

PRIVATE RESTRICTIONS

Recorded covenants, association design standards, private easements and boundary agreements may restrict a fence independently of public requirements. Obtain any required private approval separately. A public permit does not override recorded access rights or settle ownership.

Where association governing documents require approval of a physical change, Civil Code 4765 requires a fair, reasonable and expeditious process, good-faith decisions consistent with law, and all decisions in writing, including approvals. The procedure must provide prompt deadlines and state the maximum response time for an application or board reconsideration request. A denial must explain its reasons and the applicable reconsideration procedure. The statute does not create automatic approval or one universal deadline for every fence request.

REVIEW AND ENFORCEMENT CONTEXT

Fence issues are typically reviewed during permit or approval review when required, and through complaint-based code enforcement. Examples include:

• Valley-floor versus hillside classification, required setbacks, grade profiles, neighbor-consent height increases, curb-based corner visibility, materials, easements and actual permit routes.

• Like-kind maintenance, lawful nonconforming repairs and replacement, pool protection, excavation, shared boundaries and private restrictions.

USING THIS INFORMATION

This page provides general orientation on how residential fence rules are structured and applied within the City of Milpitas, California. Updated November 2026.

In addition to local fence rules, certain California laws apply statewide. See Statewide Fence Laws in California.

It is not legal advice and does not replace official statutes, regulations, ordinances, orders, permits, surveys, recorded documents or professional guidance. Rules and interpretations may change. Applicable requirements depend on the property’s actual location, the authority responsible for each issue, current adopted codes and amendments, zoning and site conditions, rights-of-way, easements, drainage and floodplain conditions, historic or design districts, pool and home uses, agricultural and livestock conditions, shared-fence rights, excavation and private restrictions. Government approval does not resolve ownership, private agreements or recorded access rights. If this page conflicts with controlling law or official requirements, the controlling authorities govern.