Serving San Jose and the South BayLicensed & insured · Free on-site estimates
(408) 539-3039

San Jose, CA · Free estimates

San Jose Fence Permits, Height Limits and Local Rules

San Jose fence rules explained: when a permit is needed, height limits, property lines and surveys, historic areas, HOAs, pool barriers, fire zones and 811.

Most back yard fences in San Jose go up without a building permit. According to the city, a permit is required only when a fence is taller than the maximum heights in the Municipal Code. The zoning limits still bind every fence, permit or not. The office in charge is the Planning, Building and Code Enforcement Department (PBCE).

Is a permit needed to build or replace a fence?

Height is what triggers it. San Jose's Fences and Retaining Walls page states that no building permit is required to construct a fence unless it exceeds the Municipal Code maximums, and it refers to section 105.2 of the California Building Code, which lists work exempt from permit. So the short answer to whether you need a permit to build or replace is no for a fence within the limits, and yes above them.

  • Over the limit: a building permit and planning approval, supported by a site plan and scaled elevations.
  • Residential variances: handled under Municipal Code Chapter 17.24.
  • Other approvals the city lists for fence projects: Historic Preservation Permit, Tree Removal Permit, Grading Permit, and Geologic Hazard Clearance on hillside land.
  • Materials: the city's definition of a fence does not include barbed wire or other harmful materials.

The city page does not carve out a like-for-like replacement, so a replacement fence must meet the same height limits as a new one. Other towns in the county write their own rules. See the town pages on this site for Santa Clara, Sunnyvale, Cupertino, Campbell, Morgan Hill and the rest.

What height is allowed? Is 6 feet allowed?

Six feet is the normal back yard and side yard fence in San Jose and is generally allowed there. Front setbacks are held much lower, and corner lots have added limits beside the street. The actual numbers, the method of measuring and the list of prohibited fences are in Municipal Code sections 20.30.600 through 20.30.640, within Chapter 20.30, Part 6. We were not able to read the code text directly, so this page gives no figures. The Planning Division confirms them for your lot. Separately, state law treats a fence unnecessarily over 10 feet, put up maliciously to annoy a neighbor, as a private nuisance (Civil Code section 841.4).

How close to the property line can a fence go? Should I get a survey?

A fence between two yards usually goes on the line, or just inside it if you are building alone. Keep it out of the public right-of-way, which on many San Jose streets extends past the sidewalk into the front yard. If the boundary is not marked by pins or monuments, or you and the neighbor remember it differently, get a plot plan or a survey before any post goes in. Only a licensed land surveyor can establish the line.

My house is in a historic district. Does that limit the fence?

It can, mostly at the front. San Jose has seven City Landmark Districts, including Hensley, Lakehouse, Reed, River Street and St. James Square, and seven Conservation Areas: Naglee Park, Hanchett and Hester Park, Palm Haven, North Willow Glen, Martha Gardens, Market-Almaden and Guadalupe/Washington. A Historic Preservation Permit is on the city's list of approvals a fence may need. Call the historic preservation staff in the Planning Division before settling on a design. Low wood picket and simple iron are the styles most often in keeping with these streets, but the staff decide.

Can a condo association or HOA restrict my fence?

Yes. Covenants can limit height, material, color and even stain, and they apply in addition to city code. You have to satisfy both. Planned communities in Silver Creek, Evergreen, the Villages and north San Jose commonly require an application to an architectural committee. Have the approval in hand, in writing, before materials are ordered.

We are building a pool. What does the law require for the fence?

The Swimming Pool Safety Act sets the baseline. Under Health and Safety Code section 115922, a permit to build or remodel a pool or spa at a single-family home requires at least two of seven drowning prevention features. An enclosure isolating the pool from the home is one. Section 115923 gives its specifications:

  • Height of at least 60 inches.
  • No more than 2 inches between the bottom of the enclosure and the ground.
  • No gaps that would pass a 4-inch sphere.
  • An outside surface without protrusions or footholds a child under five could climb.
  • Gates that open away from the pool, self-close and self-latch, with the release at least 60 inches above the ground.

The local building department inspects the barrier and can require more.

The pool inspector failed my existing fence. Who makes the corrections?

A fence contractor does. Send us the correction notice. The items we see most are gates that do not self-close, latches mounted under 60 inches, gates hinged to swing in toward the water, soil that has dropped and left more than 2 inches under the fence, and horizontal rails facing outward. Each is priced as its own line so you can see what the re-inspection needs.

The HOA allows only a 4-foot open fence and I want privacy. Any way around it?

Not around it, but there are approved routes. Shrubs or a hedge planted inside the fence give screening that most covenants do not count as a fence. Some associations permit a taller screen right at a patio or spa. You can also apply for a variance and explain the reason. Before planting or building, look at the plot plan for easements. Lots along creeks and flood channels may have a Valley Water or utility easement that restricts what can stand there.

Do wildfire rules apply to fences in the San Jose hills?

Possibly. Fire Hazard Severity Zones are mapped by the State Fire Marshal in three levels, and the San Jose Fire Department offers an address lookup for parcels in the city. A city may enlarge the state's zones but may not reduce them. Check if you live along the Almaden, Evergreen or east foothill edges. For Cupertino, Los Gatos, Saratoga and Monte Sereno, the Santa Clara County Fire Department publishes the maps. A statewide Zone 0 regulation covering the first 5 feet from a structure was still in final review between the Board of Forestry and Fire Protection and the Office of Administrative Law as of October 2026, so it was not yet in effect. Your fire department can tell you what applies today. Using steel or aluminum for the last stretch of fence that touches the house is a reasonable precaution regardless.

Who calls 811, the homeowner or the contractor?

Whoever is going to dig. The one-call centre for this area is USA North 811. Government Code section 4216.2 sets the timing: notice at least 2 working days before excavation, not counting the day you give it, and not more than 14 calendar days ahead. The excavator also outlines the dig area in white beforehand. When we build the fence, we open the ticket. Member utilities mark only their own lines. Private lines, such as irrigation, pool equipment runs, yard lighting and a feed to a detached garage, are yours to point out.

A contractor offered to skip the permit and set posts in the old holes. Should I worry?

Yes. If the fence needed a permit or planning approval, the owner is the one the city pursues, and unpermitted work can also come up when you sell. Reusing holes saves the contractor time and gives you the same shallow footings that failed. One more point: under California law the small-job licence exemption does not apply to work that requires a permit, so that job needs a licensed contractor.

The city says my old fence breaks the current rules. May I still repair it?

Ask the city before you spend money. Many codes allow maintenance of an existing nonconforming fence but require a full replacement to comply. Whether that is true for your fence is for Code Enforcement or the Planning Division at PBCE to say. We follow their answer.

For a price on your own fence line, book the free site visit. We measure, then send the quote in writing. Call (408) 539-3039.

More services

Areas we serve

Ready to get started?

Free estimate and a written quote. Call us or send the form.

Call (408) 539-3039