San Jose · Building on your lot
Building on your lot in San Jose
San Jose sets its own limits on fences and accessory buildings, and has a separate chapter on home occupations. Fence height depends on the yard and on corner lots, and taller fences need a development permit.
Key points
- Fence height: Residential fences are limited to 3 feet in the front setback and 7 feet in rear and side setbacks of interior lots (city rule).
- Accessory height: In the R-1, R-2 and R-M districts, sloped-roof accessory buildings are limited to 16 feet if the mid-roof height is at most 12 feet.
- Home businesses: The city has a separate chapter on home occupations.
Each rule below is marked San Jose code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Corner visibility |
|
|---|---|
| Height anywhere on the lot |
|
| Front yard height |
|
| Side and rear yard height |
|
| Permit |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Distance from the house |
|
Lot splits under SB 9
San Jose code Floor area ratio and lot coverage limits cannot block a second unit of up to 800 square feet. At least 4 feet.
All 14 San Jose rules on lot splits under sb 9, with the code text and the state law underneath →
RV and boat parking
| Front-yard parking |
|
|---|
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar permit process |
|
| Review time |
|
Tree removal
| Permit to remove |
|
|---|---|
| Replacement trees |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Gates |
|
| Maintenance and empty pools |
|
Other San Jose rules on this
San Jose's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Home occupations (Ch. 20.80, Part 9)
- Maximum number of dogs and cats (§ 7.40.020)
- Limits on small animals near neighbors' homes (§ 7.60.815)
Who this affects
Frequently asked questions
How tall can a fence be in San Jose?
Residential fences are limited to 3 feet in the front setback and 7 feet in rear and side setbacks of interior lots (city rule).
How big can a shed or accessory building be in San Jose?
In the R-1, R-2 and R-M districts, sloped-roof accessory buildings are limited to 16 feet if the mid-roof height is at most 12 feet.
Can I run a business from my home in San Jose?
The city has a separate chapter on home occupations. San Jose also has a related rule: Home occupations (Ch. 20.80, Part 9).
Can I park an RV or boat at my home in San Jose?
San Jose's code: Allowed only when parked perpendicular to the street. (Applies to recreational vehicles in the front yard of a residential property.) (§ 17.72.610).
Do I need a permit for solar panels or an EV charger in San Jose?
San Jose's code: The building permit is issued without discretion for complete applications that meet the approved checklist and city requirements. (Applies to complete applications.) (§ 17.88.420); A nondiscretionary building permit; apply in person or online. (Applies to small home rooftop solar systems eligible for expedited review.) (§ 17.86.420).
Do I need a permit to remove a tree in San Jose?
San Jose's code: Removal of ordinance-size trees is processed together with the ministerial ADU approval. (Applies to lots with an ADU project. Does not apply to heritage trees or palm trees in the Palm Haven Conservation Area.) (§ 20.80.177); At least one 15-gallon tree per tree removed, or one 24-inch box tree instead of two 15-gallon trees. (Applies to one-family dwellings removing ordinance-size trees for an ADU. Replace onsite or by in-lieu payment.) (§ 20.80.177).
What are the pool fence and setback rules in San Jose?
San Jose's code: Openings, holes or gaps in the barrier may be no more than 4 inches in any dimension. (Applies to outdoor pools with permits filed on or after May 26, 1989, except openings protected by doors or gates.) (§ 17.28.050); The pool must be fully enclosed by a fence, wall or durable enclosure, which may include a building. (Applies to outdoor swimming or wading pools with building permits filed on or after May 26, 1989.) (§ 17.28.050).
General information, not legal advice.
Ask about a specific San Jose property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question