Stockton · Building on your lot
Building on your lot in Stockton
Stockton sets its own limits on fences, accessory structures, home businesses, pools and pets, and its own steps for SB 9 lot splits, rooftop solar and heritage trees. Fence and accessory limits depend on the yard and the type of structure.
Key points
- Fence height: City rule: fences in front and street-side setbacks are limited to 3 feet, or 4 feet if open; interior side and rear, 8 feet.
- Accessory buildings: City rule: detached accessory structures, not ADUs, are limited to 15 feet and may come within 3 feet of interior side and rear lines.
- Home businesses: City rule: a home business may use at most 10 percent of the habitable area; no non-resident employees; client visits only for lessons.
- Pool barriers: City rule: pool and spa barriers must be at least 60 inches high; pools deeper than 18 inches need self-closing, self-latching gates.
- Pets: City rule: at most 3 dogs per premises and 3 cats, each over 4 months old; bees and fowl only where zoning allows.
- Rooftop solar: City rule: complete small rooftop solar applications get a permit the same day over the counter, or in 1 to 3 business days electronically.
Each rule below is marked Stockton 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 |
|
|---|---|
| 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 |
|
|---|---|
| Customer visits |
|
| Employees |
|
| Businesses not allowed |
|
Lot splits under SB 9
| Setbacks |
|
|---|---|
| Standards |
|
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar permit process |
|
| Review time |
|
Tree removal
| Exemptions |
|
|---|---|
| Permit to remove |
|
Swimming pools
| Barrier height |
|
|---|---|
| Equipment and alarms |
|
| Gates |
|
| Permit |
|
| Setback from property lines |
|
Pets, chickens and bees
| Bees |
|
|---|---|
| Chickens |
|
| Large animals |
|
| Pet limit |
|
Who this affects
Frequently asked questions
How tall can a fence be in Stockton?
City rule: fences in front and street-side setbacks are limited to 3 feet, or 4 feet if open; interior side and rear, 8 feet.
How big can a shed or accessory building be in Stockton?
City rule: detached accessory structures, not ADUs, are limited to 15 feet and may come within 3 feet of interior side and rear lines.
Can I run a business from my home in Stockton?
City rule: a home business may use at most 10 percent of the habitable area; no non-resident employees; client visits only for lessons.
Can I split my lot under SB 9 in Stockton?
Stockton's code: No setback is required. (Urban lot split parcels: an existing structure, or one rebuilt in the same location and to the same dimensions.) (§ 16.210.040); At least 3 feet from side and rear lot lines. (Urban lot split parcels in the RL zone; none for an existing structure or one rebuilt in the same place and size.) (§ 16.210.040).
Do I need a permit for solar panels or an EV charger in Stockton?
City rule: complete small rooftop solar applications get a permit the same day over the counter, or in 1 to 3 business days electronically.
Do I need a permit to remove a tree in Stockton?
Stockton's code: No hearing, fee or replacement in an emergency, but a signed Director permit is still needed before removal. (Applies when the Director finds a heritage tree an imminent threat to public health, safety or welfare.) (§ 16.130.050); Yes, a permit is required to remove or effectively remove a heritage tree. (Applies to city heritage trees; emergency removal still needs a signed Director permit first.) (§ 16.72.245).
What are the pool fence and setback rules in Stockton?
City rule: pool and spa barriers must be at least 60 inches high; pools deeper than 18 inches need self-closing, self-latching gates.
Can I keep chickens or bees at my home in Stockton?
City rule: at most 3 dogs per premises and 3 cats, each over 4 months old; bees and fowl only where zoning allows.
General information, not legal advice.
Ask about a specific Stockton property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question