Palo Alto · Building on your lot
Building on your lot in Palo Alto
Palo Alto sets fence heights by distance from the street, with higher limits on University Avenue and next to railroads, industrial or commercial areas. At street intersections, fences are limited to 3 feet within a visibility triangle.
Key points
- Fence heights: Fences: at most 4 feet in the street setback; beyond it, 6 feet in street yards, 7 in interior side and rear yards.
- Accessory height: Accessory buildings in a required interior yard are limited to 12 feet, under a daylight plane starting at 8 feet at the property line.
- Home business size: A home occupation may use at most 25 percent of the dwelling's floor area or 500 square feet, whichever is less; no outside employees.
Each rule below is marked Palo Alto 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 |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Side and rear setback |
|
Running a business from home
| Space used |
|
|---|---|
| Employees |
|
Lot splits under SB 9
| How the lot may be divided |
|
|---|---|
| Minimum new lot size |
|
| Standards |
|
| Owner occupancy |
|
Solar panels and EV chargers
| Solar permit process |
|
|---|
Tree removal
| Exemptions |
|
|---|---|
| Permit to remove |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Equipment and alarms |
|
| Gates |
|
Pets, chickens and bees
Palo Alto code Yes; no more than 2 hives. Yes, with a permit from the animal center superintendent.
All 9 Palo Alto rules on pets, chickens and bees, with the code text and the state law underneath →
Other Palo Alto rules on this
Palo Alto's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Large vehicle and RV street parking limits (Ch. 10.47) — posted public streets only
Who this affects
Frequently asked questions
How tall can a fence be in Palo Alto?
Fences: at most 4 feet in the street setback; beyond it, 6 feet in street yards, 7 in interior side and rear yards.
How big can a shed or accessory building be in Palo Alto?
Accessory buildings in a required interior yard are limited to 12 feet, under a daylight plane starting at 8 feet at the property line.
Can I run a business from my home in Palo Alto?
A home occupation may use at most 25 percent of the dwelling's floor area or 500 square feet, whichever is less; no outside employees.
Can I split my lot under SB 9 in Palo Alto?
Palo Alto's code: Lots of about equal area; none smaller than 40% of the original lot. (Applies to urban lot splits.) (§ 21.10.040); At least 1,200 square feet. (§ 21.10.040).
Do I need a permit for solar panels or an EV charger in Palo Alto?
Palo Alto's code: Fast review is available; one combined inspection is required. (Applies to small rooftop home solar systems eligible for fast review.) (§ 16.63.060).
Do I need a permit to remove a tree in Palo Alto?
Palo Alto's code: Dead, diseased or broken branches may be pruned without the 7-day notice. (An exemption from the 7-day posted notice before pruning a protected tree.) (§ 8.10.070); Protected trees under 5 years old are exempt from the pruning notice. (An exemption from the 7-day posted notice before pruning a protected tree.) (§ 8.10.070).
What are the pool fence and setback rules in Palo Alto?
Palo Alto's code: The gap from the ground to the bottom of the enclosure is at most 2 inches (51 mm). (Applies to enclosures for private pools.) (§ 16.18.150); Gaps must not let a sphere 4 inches (102 mm) or wider pass through. (Applies to enclosures for private pools.) (§ 16.18.150).
General information, not legal advice.
Ask about a specific Palo Alto property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question