Home/Guides/Fence Height and Permit Rules by City

Fence Height and Permit Rules by City

Four jurisdictions, four different answers. Here is what each one actually allows.

Local rules

Nobody in this market publishes this, and the four cities we work in genuinely conflict with each other. What is legal in unincorporated Santa Clara County is not legal in Morgan Hill. What passes in San Jose fails a Gilroy setback. This page is the version we work from.

3 ft 7 ft FRONT REAR

San Jose

3 ft front, 7 ft rear

On a corner lot the street-facing side counts as a front yard, so the 3 ft limit follows it round.

7 ft 6 ft LATTICE

Morgan Hill

7 ft, lattice required above 6 ft

A solid 7 ft board fence does not comply. 6 ft solid with a 1 ft lattice top does.

CURB 7 ft 26 ft back

Gilroy

7 ft, but 26 ft back from the curb

Above 3 ft it has to sit 26 ft back. On a shallow front yard that rules out a tall fence near the street.

8 ft 7 ft

Santa Clara County

8 ft, unincorporated

Taller than any of the cities allow. An -h, -sr or -d combining district overrides it.

JurisdictionFront yardSide and rearThe catch
San Jose 3 ft 7 ft Corner lots are the trap. The side yard that faces the street is treated as a front yard, so the 3 foot limit follows it around the corner.
Morgan Hill 3 ft 7 ft The detail that catches people: anything over 6 feet along a side or rear boundary outside the front setback has to include a foot of lattice. A solid 7 foot board fence does not comply. A 6 foot fence with a 1 foot lattice top does.
Gilroy 3 ft 7 ft Gilroy adds a setback rule rather than only a height rule. Anything over 3 feet has to sit 26 feet back from the curb, which on a shallow front yard rules out a tall fence near the street entirely.
Unincorporated Santa Clara County 3 ft 8 ft Combining districts override the base rule. If your parcel carries an -h, -sr or -d designation the district rule wins, and those are common on the hillside parcels above Morgan Hill and Gilroy.

Sources: City of San Jose, Fences and Retaining Walls · City of Morgan Hill, Fences and Walls · City of Gilroy · Santa Clara County Fence Standard Table

The full rule, city by city

San Jose

Up to 3 feet in a front yard and up to 7 feet in a side or rear yard without a planning permit. Above those heights you are into both a building permit and a planning permit. Corner lots are the trap. The side yard that faces the street is treated as a front yard, so the 3 foot limit follows it around the corner.

Morgan Hill

7 feet is the maximum, and it is not permitted above that. The detail that catches people: anything over 6 feet along a side or rear boundary outside the front setback has to include a foot of lattice. A solid 7 foot board fence does not comply. A 6 foot fence with a 1 foot lattice top does.

Gilroy

7 feet maximum. Gilroy adds a setback rule rather than only a height rule. Anything over 3 feet has to sit 26 feet back from the curb, which on a shallow front yard rules out a tall fence near the street entirely.

Unincorporated Santa Clara County

Up to 8 feet, which is taller than any of the cities allow. Combining districts override the base rule. If your parcel carries an -h, -sr or -d designation the district rule wins, and those are common on the hillside parcels above Morgan Hill and Gilroy.

These are the rules as the cities publish them, and cities change them. Every figure above links to the source it came from so you can check it yourself. If your parcel sits outside a city boundary, or carries an -h, -sr or -d combining district, the county rule and the district rule apply instead and they override the base height. We check your specific address before we quote rather than applying a general number.

More guides

The rest of what nobody around here publishes.

Free estimate

Not sure which set of rules applies to your address? Ask us and we will check it.

We will come out, measure, and give you a real number. No charge, no obligation, and usually the next day.

Free, no obligation, and usually next day. We will not pass your details to anyone.

Free next day estimates.

Most jobs can start within three days. Call us or send the form and we will come and measure.

Thanks. We will call you back shortly.