San Jose, CA Fence Regulations: Height Limits (2026)
Key Facts
- Front setback limit
- Max 3 ft
- Rear/side setback limit
- Max 7 ft
- Steep-grade exception
- Max 6 ft if grade differs 2+ ft
- Prohibited materials
- Barbed wire, razor wire, electric fencing, glass
- Compliant fence approval
- None required if within Table 20-80
Summary
San Jose caps residential fences at three feet in the front setback and seven feet along rear and side lines under Table 20-80; anything taller needs director approval or a formal variance.
All fences on lots with a single one-family dwelling in any zoning district shall conform to the development regulations set forth below in Table 20-80. Fences which comply with these requirements do not require approval from the director. No fence may be erected or constructed which exceeds the height specified in Table 20-80 except as specifically allowed by a variance or in conformance with this title. All other fencing shall require approval from the director.
Table 20-80 Fence Regulations R-1 Residence Districts
Interior Lot Front Setback Area Maximum three feet in height Rear Setback Area Maximum seven feet in height Side Setback Area Maximum seven feet in height Corner Lot Front Setback Area Maximum three feet in height Rear Setback Area Maximum seven feet in height
Adjacent to Side Setback Area of Key Lot or Corner Lot Maximum three feet in height for a distance of twelve and one-half feet measured from the street property line and fifteen feet as measured from the rear lot line. Adjacent to a Street Maximum three feet in height within five feet of property line. Maximum seven feet in height at least five feet from property line. Side Setback Area Not Adjacent to a Street Maximum seven feet in height.
Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Code of Ordinances: Supplement 5 Update 3).
Full Breakdown
Under San Jose Municipal Code § 20.30.600 and Table 20-80, fences on single-family lots are capped at three feet in the front setback area and seven feet in the rear and side setback areas; corner lots add a three-foot limit near intersections and within twelve and a half feet of a key lot's side line. Height is measured from the grade of the public right-of-way (§ 20.30.610), and where grade differs more than two feet, the fence tops out at six feet (§ 20.30.620). Barbed wire, razor wire, electric fencing, glass, and other sharp materials are prohibited citywide (§ 20.30.640). Fences that comply need no city approval; anything taller requires a variance from the director.
Violations & Fines
Building a fence over the Table 20-80 height limit without director approval, or using barbed wire, razor wire, electric fencing, or glass, is a zoning code violation subject to city code enforcement.
Frequently Asked Questions
How tall can a front yard fence be in San Jose?
Can I build a 7-foot fence in my back yard without a permit?
Is barbed wire allowed on a residential fence in San Jose?
Sources & Official References
Other rules in San Jose
How San Jose compares: Cities That Allow the Tallest Residential Fences·California rules heatmap·Compare San Jose to another location·View the California fence regulations overview
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.