Pleasanton · Building on your lot
Building on your lot in Pleasanton
Pleasanton limits how much of the required rear yard accessory structures may cover and sets setbacks for pools, spas and pool equipment, including 5 feet from the pool water line. Gunsmiths and firearm sales are not allowed as home occupations.
Key points
- Right-of-way permit: A hedge, fence, shrub or similar structure in a watercourse or right-of-way needs a permit.
- Rear-yard coverage: In R districts, accessory structures may cover at most 500 square feet or 10 percent of the required rear yard, whichever is greater.
- Banned businesses: Gunsmiths and firearm sales are not allowed as home occupations in Pleasanton.
Each rule below is marked Pleasanton code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Permit |
|
|---|
Sheds, garages and other accessory structures
| Size or lot coverage |
|
|---|---|
| Side and rear setback |
|
Running a business from home
| Businesses not allowed |
|
|---|
Lot splits under SB 9
Pleasanton code No more than 2 parcels; neither may be smaller than 40% of the original lot area. Each lot must be at least 1,200 square feet.
All 18 Pleasanton rules on lot splits under sb 9, with the code text and the state law underneath →
Tree removal
| Exemptions |
|
|---|---|
| Permit to remove |
|
| Replacement trees |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Gates |
|
| Maintenance and empty pools |
|
Pets, chickens and bees
| Bees |
|
|---|---|
| Permit |
|
Other Pleasanton rules on this
Pleasanton's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- EV charger readiness for new homes (§ 20.26.080) — new construction only
- Solar energy system requirements (§ 20.70.040)
Who this affects
Frequently asked questions
How tall can a fence be in Pleasanton?
A hedge, fence, shrub or similar structure in a watercourse or right-of-way needs a permit.
How big can a shed or accessory building be in Pleasanton?
In R districts, accessory structures may cover at most 500 square feet or 10 percent of the required rear yard, whichever is greater.
Can I run a business from my home in Pleasanton?
Gunsmiths and firearm sales are not allowed as home occupations in Pleasanton.
Do I need a permit to remove a tree in Pleasanton?
Pleasanton's code: No permit is needed for normal maintenance and pruning. (Pruning must follow the city's pruning guidelines.) (§ 17.16.010); Grounds include a dead, dying, diseased or hazardous tree, or one damaging utilities or structures that cannot be saved. (Also needed improvements (home expansion, ADU, pool) or fire risk in high/very high fire zones. Not grounds: debris, pollen, surface roots, landscape renovation, disliked species.) (§ 17.16.020).
What are the pool fence and setback rules in Pleasanton?
Pleasanton's code: Pools, hot tubs and spas must be fully surrounded by a fence or barrier meeting California Building Code pool rules. (Applies to private pools, hot tubs and spas with water more than 18 inches deep.) (§ 20.65.120); Existing pool enclosures may not be removed, replaced or changed in a way that makes them less safe. (Applies to existing pool enclosures.) (§ 20.65.120).
Can I keep chickens or bees at my home in Pleasanton?
Pleasanton's code: Yes, no more than 2 hives. The beekeeper must live on the property. (Detached single-family homes in the R-1, RM and Downtown Specific Plan Area districts. A beekeeping permit is required.) (§ 18.103.080); Yes, no more than 10 hives. (Applies to land in the A zoning district.) (§ 18.103.080).
General information, not legal advice.
Ask about a specific Pleasanton property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question