FENCE RULES – MORGAN HILL (CITY), CALIFORNIA
OVERVIEW
Morgan Hill generally allows three-foot fences in front setbacks and within five feet of a street-side property line. Elsewhere, the ordinary limit is six feet, with up to one additional foot of uniformly open lattice or decorative features. Retaining walls, unequal grades, corner visibility and restricted materials need separate checks. Consistent fencing generally does not require a Planning permit, but construction exemptions do not waive zoning, pool safety or recorded rights. This guide covers incorporated Morgan Hill, not unincorporated Santa Clara County. Updated November 2026.
| Quick question | Morgan Hill answer |
|---|---|
| Permit or approval | Consistent fences generally need no Planning permit unless otherwise stated. The City lists a construction exemption through seven feet; zoning, pool and other approvals remain separate. |
| Typical fence height | Front and within five feet of a street-side property line: three feet. Other areas: six feet plus up to one foot of uniformly open lattice or decorative features. Exceptions require their stated conditions. |
| Placement & property lines | Confirm actual yards, surveyed lines, the street right-of-way corner triangle, easements and required access. |
| Common fence materials | Wood: listed as a long-lasting material example, subject to design. Vinyl/PVC: confirm the proposal. Chain-link: prohibited in residential districts unless Planning Commission approval is obtained. |
| Important local conditions | Fence rules may be further affected by street-side bands, lower grades, retaining walls, minor exceptions, corner views, lawful older fencing, building renovations, pool protection and private restrictions. |
| Official local resource | Morgan Hill Fences and Walls guidance |
The detailed sections and official links below explain the qualifications behind these short answers. Confirm the actual zone, required yards, surveyed lines, grades, material and purpose before ordering materials or removing an existing fence.
GOVERNANCE
The City Council adopts Morgan Hill’s requirements. Planning administers zoning and exception requests; Building handles construction permits and pool review; Public Works addresses applicable rights-of-way and encroachments. Start with the City’s Fences and Walls guidance and Chapter 18.52 of the Municipal Code.
The City adopts the 2025 California Building and Residential Codes with local amendments. Its current Building guidance applies those codes to applications beginning January 1, 2026. Confirm later amendments, specific plans and approved project conditions with the responsible division. City approval is distinct from private approval and does not resolve boundary ownership.
PERMIT AND APPROVAL REQUIREMENTS
• Planning and construction: Fences and walls consistent with Chapter 18.52 are permitted by right without a Planning permit unless otherwise stated. The City’s building-permit guidance exempts fences not over seven feet. That exemption is not permission for seven feet of solid fencing or a waiver of pool, structural, electrical or other approvals.
Retaining-wall construction has a different exemption: not over four feet measured from the bottom of the footing to the top, without a surcharge or impounding Class I, II or IIIA liquids. The zoning measurement for a fence on a retaining wall does not change that construction-permit test. Have Building classify the complete assembly and actual work.
• Requested extra height: The Director may approve the specific minor exceptions discussed below through Section 18.108.070. Approval requires compatibility, no adverse impact, unique property, structure or use characteristics, consistency with applicable plans and district purpose, and no undesirable precedent. Obtain the actual approval rather than relying on neighbor consent or the website’s abbreviated statement that fences over seven feet are not allowed.
• Public land and other approvals: A fence or wall in a public right-of-way requires an encroachment permit under Chapter 12.08. Easements, approved development conditions and actual fire, flood or grading triggers can require separate review. The chapter’s exemption for noise-attenuation walls applies to walls required by mitigation measures and designed and approved through a discretionary permit, not any fence described by its owner as noise screening.
• Repair or replacement: Lawfully established nonconforming fences may continue, and maintenance and nonstructural repairs that do not enlarge or extend the structure are permitted. Structural work affecting the nonconforming aspect has a different approval route. Obtain Planning’s classification before changing height, location or design, or undertaking major replacement.
• Before starting: Identify the actual yards, both finished grades, any retaining wall, corner views, materials, pool use and recorded rights. Confirm required applications, plans, fees, permits and inspections. A permit does not authorize occupying neighboring land or removing another owner’s fence.
FENCE PLACEMENT RULES
• Required yards and boundaries: The three-foot limit applies throughout the required front setback and within five feet of a street-side property line. Establish those actual areas and the legal boundary; a curb, pavement edge or old fence is not a survey. Other locations remain subject to height, material, visibility and site requirements.
• Street corners: Corner parcels in districts requiring front and street-side setbacks for primary structures must maintain the intersection clear-vision triangle. It uses twenty feet along the two intersecting streets from their right-of-way intersection, with a diagonal connecting the endpoints. Have the City apply the actual right-of-way geometry rather than substituting a driveway triangle or a guessed curb or property-line origin.
• Easements and access: Section 15.08.050 prohibits constructing or maintaining structures within utility easement boundaries, including the listed gas, water, storm drain, sewer, electrical and telephone easements. Check the recorded rights and the proposed fence’s classification before placing posts. Public permission does not extinguish a utility’s or neighbor’s access rights.
• 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. City 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. On discovering or causing damage, immediately notify the operator. Call 911 first when Government Code 4216.4(c)(1) requires it, including a gas or hazardous-liquid pipeline releasing flammable, toxic or corrosive gas or liquid, or damage to a high-priority installation, subject to its narrow operator-maintenance exception. Notify the regional notification center within forty-eight hours unless the statutory exception applies.
FENCE HEIGHT AND VISIBILITY RULES
• Ordinary heights: The maximum is three feet in the front setback and within five feet of a street-side property line. In other lot areas, the maximum is six feet, with an additional foot, up to seven feet total, for latticework or other decorative features uniformly open to light and air. It is not a seven-foot solid privacy-fence allowance.
• Grade and retaining walls: Measure from finished grade at the fence or wall base to its top edge. When it sits atop a retaining wall, the retaining height is excluded and the retaining-wall top is treated as finished grade. When it is not atop a retaining wall and opposite sides have different finished grades, measure from the lower finished grade to the highest point. Do not substitute the higher yard, an average, or a universal combined-wall formula.
• Decorative entries: One decorative arch, gate, trellis or other entry feature per street frontage may exceed the ordinary table, but may be no more than ten feet wide and ten feet high. This limited entry feature does not make an entire frontage eligible for ten-foot fencing.
• Open-space and estate districts: The Director may approve a front fence up to six feet through a minor exception only for open wrought-iron or decorative fencing at least seventy percent open to light and air. View-obstructing fencing, including solid boards and slatted chain-link, may not exceed three feet in the front setback under that branch. The separate Planning Commission material-approval requirement is not erased by this height provision.
• Other minor exceptions: In all districts, the Director may approve up to two additional feet in the front setback and one foot behind its line where sloping topography or an adjoining grade difference warrants privacy, security or screening relief. The stated park and open-space adjacency branch also requires that the increase not unreasonably affect desirable views, vistas or open-space value. These are conditional approvals, not automatic height additions.
• Clear sight lines: No structure, vehicle, object or landscaping over three feet may occupy the required clear-vision triangle. The exception permits trees pruned at least eight feet above established curb grade to provide drivers a clear view. That tree-clearance datum is not an express universal measurement rule for every fence. Do not assume lattice, a gate or an approved ordinary-height exception waives visibility requirements.
• Spite fences: California Civil Code 841.4 treats a fence or fence-like structure unnecessarily exceeding ten feet, maliciously erected or maintained to annoy an adjoining owner or occupant, as a private nuisance. Ten feet is not a permitted local height, and a shorter fence is not automatically free from other restrictions.
MATERIAL AND CONSTRUCTION LIMITS
• Ordinary materials: Fences and walls must use attractive, long-lasting materials; the examples include masonry, wood, tubular steel, fiberglass and stone. Walls must have a decorative design and/or landscape screening. Wood’s inclusion is not approval for every product or location. Vinyl/PVC needs classification under the actual design and site requirements; no blanket permission or ban is inferred.
• Residential restrictions: Barbed wire, razor wire, chain-link, sheet metal and electric fences are prohibited in residential zoning districts unless otherwise approved by the Planning Commission. A construction-permit exemption does not override that restriction, and the reference to chain-link in a height exception does not itself grant material approval.
The public-frontage open-view requirement applies to nonresidential and multifamily projects, with its noise and open-space qualifications; it is not an all-single-family frontage rule. The separate minimum seven-foot masonry screening requirement addresses commercial or industrial uses beside residential zones, not every homeowner boundary.
• Maintenance and lawful older fencing: Fences and walls must be continuously maintained in an orderly and good condition. Chapter 18.68 allows lawful nonconforming fences to remain and permits qualifying maintenance and nonstructural repair without enlargement. Age alone does not establish lawful status or unlimited replacement rights.
For additions or renovations increasing the floor area or market value of one or more buildings on the property by twenty-five percent or more, nonconforming screening, fences and landscaping must be brought into compliance. That trigger concerns building floor area or value, not twenty-five percent of fence length. Structural changes, relocation and casualty reconstruction have separate approval and conformity rules; residential-building reconstruction exceptions are not automatically fence exceptions.
• Local pool enclosure: Chapter 15.66 covers qualifying artificial basins or tanks permanently attached to land or intended as permanent installations, eighteen inches deep or more, used for swimming, diving, wading or recreational bathing. Covered outdoor pools must be completely enclosed by a fence, wall or other structure at least five feet high at all points and at least four feet from the nearest pool edge. A house or building may form part of the enclosure.
Local ground clearance must be less than two inches, openings must not pass a four-inch sphere, and the exterior must not provide climbing handholds or footholds. Gates must open away from the pool, self-close and self-latch at least sixty inches above ground. Direct-access home doors need the specified self-closing/latching protection or alarm. Have Building approve the complete enclosure and access system; a cover or alarm alone does not waive the local enclosure.
Maintain existing enclosures and do not remove, replace or change them in a way that reduces their safety effectiveness. The local eighteen-inches-or-more definition differs from the State Act’s more-than-eighteen-inch definition. Current State safety features apply independently to covered private-home construction or remodeling. The local legacy-pool hazard and notice procedure is not an automatic thirty-day deadline for every existing pool.
• Private single-family pool safeguards: California generally requires at least two qualifying drowning-prevention features when a permit is issued to construct or remodel a pool or spa at a private single-family home, subject to statutory exceptions and separate 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/self-latching home doors, a qualifying water alarm or independently tested equivalent protection. Each must meet its actual 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 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 that passes a sphere four inches or larger. Its outside must not provide handholds or footholds enabling a child under five to climb over. Gates open away from the pool, self-close and self-latch, with the latch at least sixty inches above ground. That latch height differs from the fifty-four-inch release height for the separate qualifying home-door feature. An ordinary perimeter fence alone does not prove compliance. Licensed family child-care homes with in-ground pools have additional isolation, protection, documentation and inspection requirements.
• Special sites: Applicable specific plans, approved project conditions, historic status, fire exposure, grading, drainage or flood requirements may affect a proposal. Confirm the actual triggers without treating every ordinary fence as a development project or assuming proposed statewide Zone 0 details are effective.
• 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.
PRIVATE RESTRICTIONS
Recorded declarations, association design standards, private easements and boundary agreements can restrict a fence independently of public requirements. Obtain any required private approval separately. A public permit does not override recorded access rights or determine 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 a written decision. 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:
• Construction classification, front and street-side heights, open extensions, grade and retaining relationships, corner visibility and requested exceptions.
• Restricted materials, lawful maintenance or replacement, building-related nonconforming-fence triggers, pool safeguards and recorded access.
Private approvals, ownership and shared-fence costs remain separate from the City’s public-code review.
USING THIS INFORMATION
This page provides general orientation on how residential fence rules are structured and applied within the City of Morgan Hill, 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.