Permit Required? Not required at 7 ft or under
Typical Fee Range $0–$590 Fences 7 ft or under are exempt; zoning allows only 3 ft in the front setback
Fee Method $211 processing + tiered inspection fee + plan check

What's Required in San Jose

  • Fences not over 7 ft (other than pool barriers) need no building permit (SJMC 24.02.120.A.2)
  • Zoning Table 20-80: 3 ft maximum in the front setback area, 7 ft in rear and side setback areas of R-1 lots
  • Corner lots: 3 ft within 5 ft of the street-side line, 7 ft beyond; 3 ft inside the corner triangle
  • Height is measured from the grade of the public right-of-way or existing grade; 6 ft cap where grade differs more than 2 ft across the line
  • Gates and trellises up to 8 ft high and 5 ft long allowed if at least 15 ft from an intersection; posts up to 4 ft and 18 in wide
  • Barbed wire, razor wire, electric fences, glass and sharp materials are prohibited on residential lots
  • A fence taller than Table 20-80 allows needs a fence variance under Chapter 17.24; over 7 ft it also needs a building permit
  • Retaining walls over 4 ft (footing to top) or supporting a surcharge need a building permit; zoning caps them at 2 ft without a special use permit

Do You Need a Permit for a Fence in San Jose?

Two separate rules decide this, and the old advice usually mixes them up. The building code exemption in San Jose Municipal Code 24.02.120 covers fences, other than swimming pool barriers, not over seven feet high, so a fence at 7 feet or under needs no building permit. The zoning code then limits how tall a fence may be in each part of the lot: Table 20-80 allows a maximum of three feet in the front setback area and seven feet in the rear and side setback areas of an R-1 lot. A fence that meets Table 20-80 needs no approval from the Planning director; a fence that exceeds it is only allowed by variance, and Chapter 17.24 of the code exists specifically for fence variances on residential lots. So a 6-foot front-yard fence is not a permit question, it is a variance question.

San Jose Fence Rules by Scenario

What you are doingCity filingRule
Wood or vinyl fence up to 7 ft in the rear or side setback of an interior lotNo permitSJMC 24.02.120.A.2; Table 20-80
Fence in the front setback area, up to 3 ftNo permitTable 20-80 front setback area maximum three feet
Fence over 3 ft in the front setback, or over 7 ft anywhereFence variance (Ch. 17.24) and, above 7 ft, a building permitSJMC 20.30.600; 24.02.120
Corner lot, fence along the street side3 ft within 5 ft of the property line; 7 ft beyond thatTable 20-80 corner lot, adjacent to a street
Corner lot next to a key lot's side yard3 ft for 12.5 ft from the street line and 15 ft from the rear lot lineTable 20-80
Grade drops more than 2 ft across the shared property lineFence on that line capped at 6 ftSJMC 20.30.620
Pool barrier fenceBuilding permit as part of the pool permit; 4 ft minimum heightSJMC 24.02.120.A.2 exception; Ch. 17.28

How Much Does a Fence Permit Cost in San Jose?

Nothing for a code-compliant fence at 7 feet or under, which is nearly every residential fence. When a fence does need a building permit, the Schedule of Fees and Charges effective July 1, 2026 lists a Fence permit processing line at 1.0 hour, $211. On top of that the building permit is charged at $315 per hour of inspection time in tiers of 40, 70, 130 or 250 minutes, and plan check runs $325 per hour with a 30-minute minimum for an over-the-counter review. A Tier 1 fence permit is therefore about $211 + $210 + $162.50, roughly $585. A fence variance is a Planning application with its own fee that the Planning fee schedule sets; that document was not reachable for this guide, so ask Planning for the current amount before you apply. Building a permit-required fence without a permit costs two times the plan review and inspection fees as a penalty.

How Is Fence Height Measured?

Section 20.30.610 measures fence height from the grade of the public right-of-way along a street, and from existing grade on every other property line, which matters on sloped lots. Posts and columns up to 4 feet tall and 18 inches wide, and pedestrian gates or trellises up to 8 feet tall and 5 feet long, are allowed as long as the entry is at least 15 feet from an intersection. Within the corner triangle at an intersection the cap is 3 feet. Barbed wire, razor wire, electric fences, glass and other sharp materials are prohibited on residential property.

Who Builds It and What About Retaining Walls?

A homeowner may build a fence under California's owner-builder exemption, and any contractor hired for a job of $1,000 or more must hold a state license. A retaining wall is a different exemption: walls not over 4 feet measured from the bottom of the footing to the top, and not supporting a surcharge, need no building permit, but the zoning table limits retaining walls to 2 feet unless a special use permit approves more. Utility easements are recorded on your title report; the city does not clear them for you.

How to Get a Fence Permit in San Jose

1

Locate the fence on the lot

Front setback area means 3 ft; rear and side setback areas allow 7 ft. Corner lots and key lots have their own lines in Table 20-80.

2

Check height against 7 ft

At or under 7 ft and within Table 20-80, no building permit and no Planning approval are needed. Confirm easements on your title report.

3

Apply for a variance if the design exceeds zoning

Chapter 17.24 fence variances go through Planning; ask for the current application fee, which the Planning fee schedule sets.

4

File a building permit above 7 ft

Submit a site plan and fence detail; pay $211 processing, the tiered inspection fee at $315 per hour and plan check at $325 per hour.

5

Schedule the final inspection

Permitted fences are inspected for height and location; cancel or reschedule by 2 pm two business days ahead.

Frequently Asked Questions

Seven feet. San Jose Municipal Code 24.02.120 exempts fences not over seven feet high from a building permit. Zoning still limits front-setback fences to 3 feet and rear and side fences to 7 feet, and a fence that exceeds Table 20-80 needs a variance, not just a permit.
Zero for a compliant fence at 7 feet or under. A fence that needs a building permit pays a $211 processing fee, an inspection fee at $315 per hour in tiers (Tier 1 is 40 minutes, about $210), and plan check at $325 per hour with a 30-minute minimum, roughly $585 in total.
Not without a variance. Table 20-80 caps fences in the front setback area at 3 feet on both interior and corner lots. Chapter 17.24 of the municipal code provides a fence variance process for residential lots; ask Planning about its fee and findings before you build.
Along a street on a corner lot the fence may be 3 feet within 5 feet of the property line and 7 feet beyond that. Next to a key lot's side yard the limit is 3 feet for 12.5 feet from the street line and 15 feet from the rear lot line, and 3 feet inside the corner triangle.
From the grade of the public right-of-way along a street and from existing grade on other property lines, per SJMC 20.30.610. When the grade difference along a shared line exceeds 2 feet, the fence on that line may be no more than 6 feet.
Yes. The 7-foot fence exemption specifically excludes swimming pool barriers. The pool enclosure is reviewed with the pool building permit and must be at least 4 feet high with self-closing, self-latching gates under Chapter 17.28, and it must meet the state Swimming Pool Safety Act.