FENCE RULES – SAN JOSÉ (CITY), CALIFORNIA
OVERVIEW
San José generally limits residential front-setback fences to three feet and side or rear fences to seven feet, with important corner-lot, grade and approval conditions. Two municipal chapters use different six- and seven-foot wording for street-adjacent fencing, so ask Planning to classify that layout before choosing a height. A grade difference exceeding two feet along a common property line also changes the usual limit. Construction permits, sharp materials, older work and pool enclosures are separate checks. This guide covers the City of San José, California, not unincorporated Santa Clara County. Updated November 2026.
| Quick question | San José answer |
|---|---|
| Permit or approval | Non-pool fences no more than seven feet have a building exemption, not a zoning waiver. Confirm the single-home table, other Director review and any variance or development-permit conditions. |
| Typical fence height | Generally three feet in the front setback and seven feet in side/rear setbacks. Street-adjacent six/seven-foot wording and common-line grade differences exceeding two feet need separate attention. |
| Placement & property lines | Verify required yards, the five-foot street-side band, key-lot relationship and actual curb/projected-line corner triangle. |
| Common fence materials | Wood: confirm the actual assembly and approvals. Vinyl/PVC: check location and construction classification. Chain-link: height, visibility and pool rules still apply. |
| Important local conditions | Fence rules may be further affected by development-permit scope, corner geometry, unequal grades, pedestrian-entry limits, lawful older work, pool timing, current construction requirements and private restrictions. |
| Official local resource | San José residential fences and retaining walls |
The detailed sections and official links below explain the conditions behind these short answers.
GOVERNANCE
The City Council adopts local ordinances. Planning and Building staff within Planning, Building and Code Enforcement administer the applicable approvals. Start with the City’s residential fence and retaining-wall guidance, then confirm actual City location, zoning, dwelling configuration, development-permit conditions and boundaries.
Section 20.30.600 applies its fence table to lots with a single one-family dwelling in any zoning district. Complying fences do not require Director approval under that provision; all other fencing requires Director approval. Chapter 17.24 separately addresses property used for residential purposes that is not subject to a development permit requirement under Chapter 20.100. Do not extend the single-home rule automatically to multifamily or other sites.
The supplied municipal compilation is Supplement 5, October 2026, including ordinances through August 25, 2026. The City identifies the 2025 building codes as applicable to permit applications made on or after January 1, 2026. Confirm later applicable amendments and the current construction standard instead of treating an older pool provision or zoning height as a complete building specification.
PERMIT AND APPROVAL REQUIREMENTS
• Building exemption: Section 24.02.120(A)(2) exempts fences no more than seven feet high other than swimming-pool barriers. Section 24.02.110 separately says that an exemption does not authorize work violating technical codes or other law. Zoning, development-permit conditions and pool protection still apply, and separate electrical, plumbing or mechanical permits may be needed.
• Planning review: A fence complying with the actual single-one-family-home table does not require Director approval under Section 20.30.600. Other fencing and deviations need their applicable review. Provide the proposed location, height, materials, grades, corner geometry and existing approvals before treating a fence as exempt.
• Height variance: Chapter 17.24 provides a variance route based on special circumstances unique to the property and the required findings about neighboring property, general welfare and district integrity. Conditions can include construction materials. A variance or development permit is not automatic permission for an eight-foot privacy fence.
• Retaining sections: The building exemption for a retaining wall no more than four feet measures from the bottom of its footing to the top and excludes walls supporting a surcharge or the listed liquids. That measurement and exemption do not decide the fence’s zoning height, common-line grade limit or applicable retaining-wall approval. Have Building classify the combined assembly.
• 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
• Required yards: Establish the actual front, side and rear setback areas, legal boundaries, public right-of-way, easements and access. Chapter 17.24 defines an interior lot’s front area from the street lot line to the front setback line and uses the narrower street frontage to identify the front of a residential corner lot. Do not select the front simply by the address or preferred entrance.
• Street-adjacent corners: The zoning table permits three feet within five feet of the street-side property line and seven feet at least five feet from it. Chapter 17.24 instead uses a six-foot maximum in its stated street-adjacent side and rear branches, with three feet within the five-foot band from the lot line inside the sidewalk. Ask Planning which provisions govern the actual site before relying on a six-to-seven-foot street-side layout.
• Key-lot relationship: Where a corner rear setback backs onto the side setback of a key lot or another corner lot, the special three-foot branch uses twelve and one-half feet measured from the street property line and fifteen feet measured from the rear lot line. Have Planning draw the applicable area; it is not a generic driveway triangle or a limit on every rear fence.
• Access and site conditions: Keep approved driveways, public access and utility easements available, and show drainage and retaining functions. A fence near the street may be affected by both the required-yard limit and the intersection triangle. Verify ownership before replacing a boundary fence.
• 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. 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
• Interior lots: Table 20-80 generally allows three feet in the front setback and seven feet in side and rear setbacks. Chapter 17.24 also has a six-foot limit in the interior-lot buildable area between the front setback and the front of an existing or proposed residence. A fence’s position behind the setback line is therefore not permission to ignore other applicable limits.
• Corner lots: The zoning table lists three feet in the front setback, seven feet in the rear setback and seven feet in the side setback not adjacent to a street. Its street-side and key-lot provisions are separate, and Chapter 17.24’s concurrent street-adjacent six-foot wording needs the City classification described above.
• Measurement: Section 20.30.610 measures height from the grade of the public right-of-way and from existing grade at other property lines. Do not import another city’s higher-grade, finished-grade or averaging formula. Show both grades and the actual fence position when asking Planning to confirm the height.
• Unequal grades: If the grade difference along a common property line exceeds two feet, Section 20.30.620 limits a fence along that line to six feet. The written trigger is greater than two feet, not two feet or more. It is a separate restriction on the ordinary seven-foot branch.
• Intersection visibility: A fence cannot exceed three feet within the defined corner triangle. Chapter 17.24 describes street lot lines and their projections, with forty-five-foot measurements at the outer edge of the curb. Have the City establish those actual curb and projected-line points on the plan rather than substituting a forty-five-foot property-line formula or another jurisdiction’s driveway dimensions.
The intersection exception concerns single-stem plants or trees without foliage between three and eight feet. It is not permission for a solid hedge or fence above the three-foot triangle limit. Chapter 17.24 otherwise includes hedges and walls within its fence definition.
• Posts and pedestrian entries: Support posts or columns may be up to four feet high and eighteen inches wide. The stated pedestrian gate and trellis exception permits up to eight feet high and five feet long, provided the entry is at least fifteen feet from an intersection. Do not treat that narrow entry provision as an eight-foot general fence allowance or a vehicular-gate exception.
• 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
• Ordinary assemblies: Confirm wood, vinyl/PVC, chain-link and any masonry against actual height, yard, grade, visibility, building and approval conditions. The cited residential provisions do not give every named material an unconditional approval. Conditions on an existing development permit or a granted variance may affect the selected design.
• Hazardous fencing: The stated residential-property rules, where the property is not subject to the development-permit requirement, prohibit barbed wire, razor wire, electric fences, glass and other sharp materials. Chapter 17.24 also prohibits embedding glass or other sharp materials on a fence surface. This is not an unrestricted approval for those materials on other property; have the City classify any specialized use.
• Maintenance: Chapter 17.24 positively permits construction and maintenance of fences meeting its stated conditions. Confirm the existing fence’s lawful status and whether the proposed work is maintenance, replacement, alteration or a new installation before dismantling it. A previous fence, or the building exemption alone, does not establish an unconditional right to rebuild a nonconforming layout.
• Damage and restoration: Section 20.150.020 contains a qualified route for legal nonconforming structures destroyed by a catastrophic event or sudden cause beyond the owner’s control that reasonable care and maintenance could not have prevented. It has application and construction-start deadlines, required permits and limits on footprint, height and other changes. Ask Planning whether that classification applies to the actual fence; it is not a general entitlement to any replacement.
• Local pool chapter: Chapter 17.28 concerns artificial swimming or recreational-bathing basins eighteen inches deep or more. Its enclosure specifications address outdoor pools with permit applications filed on or after May 26, 1989, while earlier installations have separate prior-law and hazard-order provisions. The listed four-foot enclosure, four-foot pool-edge separation and three-and-one-half-foot latch provision are not proof that a new pool complies with current construction and State safety requirements.
The local chapter allows specified permanent construction to form part of the enclosure and contains a building-door exception to its gate provision. Have Building approve the current complete enclosure, gates, doors and safety-feature combination for the actual pool and home use. Do not treat an ordinary yard fence or an older local minimum as a waiver of newer 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:
• Single-home or other development classification, the actual required yards, corner and key-lot relationships, the street-side six/seven-foot overlap, grades and intersection visibility.
• Building and Planning approvals, material hazards, lawful maintenance or restoration, applicable pool provisions, shared-fence costs, excavation and private restrictions.
USING THIS INFORMATION
This page provides general orientation on how residential fence rules are structured and applied within the City of San José, 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.