Shafter · Building on your lot
Building on your lot in Shafter
Shafter sets its own rules for pool enclosures and for the number of pets per residence, and issues rooftop solar and EV charger permits against a city checklist.
Key points
- Pool fences: Pools 2 feet or more deep need a non-climbable fence or wall at least 4.5 feet high with self-closing, self-latching gates or locks.
- Pets: In R-1, R-2 and R-3 zones, each residence may keep at most 3 adult dogs, 3 adult cats and 20 other household pets.
- Solar and EV: Shafter issues rooftop solar and EV charger permits when a complete application meets the city checklist; electronic submittal is accepted for EV chargers.
Each rule below is marked Shafter code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar permit process |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Equipment and alarms |
|
| Gates |
|
Pets, chickens and bees
| Bees |
|
|---|---|
| Permit |
|
| Pet limit |
|
Other Shafter rules on this
Shafter's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Parking unhitched trailers on streets (§ 10.40.290) — trailers not hitched to a vehicle
Who this affects
Frequently asked questions
Do I need a permit for solar panels or an EV charger in Shafter?
Shafter issues rooftop solar and EV charger permits when a complete application meets the city checklist; electronic submittal is accepted for EV chargers.
What are the pool fence and setback rules in Shafter?
Pools 2 feet or more deep need a non-climbable fence or wall at least 4.5 feet high with self-closing, self-latching gates or locks.
Can I keep chickens or bees at my home in Shafter?
In R-1, R-2 and R-3 zones, each residence may keep at most 3 adult dogs, 3 adult cats and 20 other household pets.
General information, not legal advice.
Ask about a specific Shafter property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question