Fence Regulations in San Jose, CA: What Residents Actually Need to Know
If you live in San Jose or are thinking about moving there, fence regulations are one of those things you probably won't think about until they affect you directly. San Jose has 4 specific rules on the books covering different aspects of fence regulations, and some of them might surprise you.
Retaining Walls
San Jose exempts retaining walls under 4 feet from a building permit, but residential zoning caps accessory retaining walls at just 2 feet unless a Special Use Permit is granted for greater height.
Key details: Permit-exempt height: Up to 4 feet, footing to top. Zoning height cap (residential): 2 feet from grade. Above the cap: Requires a Special Use Permit. Front setback for wall: None required.
Building without the required permit, or exceeding the 2-foot zoning height cap without a Special Use Permit, can draw a stop-work order and code enforcement action from the building official.
Height Limits
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.
Key details: 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.
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.
Material Restrictions
San Jose prohibits barbed wire, razor wire and electric fences on residential parcels not covered by a Chapter 20.100 development permit, and separately bans embedding glass or other sharp materials on any residential fence surface.
Key details: Barbed/razor wire: Prohibited on residential parcels. Electric fences: Prohibited on residential parcels. Glass/sharp materials: Banned on fence surfaces. Scope: Parcels outside Ch. 20.100 permits. Administering office: Director of Neighborhood Preservation.
Fences using barbed wire, razor wire, electric current, or embedded glass/sharp materials on a residential parcel violate Β§ 17.24.040 and are a municipal code violation subject to the city's standard code-enforcement and abatement process; there is no variance procedure for material bans (only height rules can be varianced).
Compared to other cities, San Jose takes a harder line on material restrictions. The enforcement and penalty structure reflects that.
Fence Permit Requirements
San Jose fences that meet the height limits in Table 20-80 need no permit, but anything over three feet in a front setback or seven feet elsewhere requires director approval under Municipal Code Β§ 20.30.600.
Key details: Front setback fence limit: 3 feet. Side/rear setback fence limit: 7 feet. Compliant fence: No permit needed. Over-height fence: Director approval required. Alternative path: Chapter 17.24 variance, fee required.
Building or maintaining a fence over the Table 20-80 limits without director approval or an approved variance is a zoning violation, subject to code enforcement action and an order to modify or remove the fence.
The Bottom Line
San Jose's fence regulations rules are a mixed bag. Some areas are strict, others are relaxed, and the details matter. The best approach is to check the specific rule that applies to your situation rather than assuming San Jose is broadly strict or permissive.
These rules come from San Jose's publicly available municipal code. For complete penalty schedules, exemption details, and answers to common questions, see the individual ordinance pages throughout this guide.