Hesperia · Building on your lot
Building on your lot in Hesperia
Hesperia sets its own limits for fences, accessory buildings and home businesses. Front-yard fence height depends on the fence type and the lot size, and accessory building height depends on the distance from lot lines.
Key points
- Fence height: Hesperia limits view-obscuring front-setback fences to 36 inches; open wire 4 ft, or 6 ft on lots of 15,000 sq ft or more.
- Accessory buildings: Hesperia limits accessory buildings to 20 ft within 30 ft of a side or rear line, 35 ft beyond; other accessory structures 16 ft.
- Home businesses: Hesperia home businesses may use 15% of the home, including the garage, or 1 room, whichever is less, with no customers or outside employees.
Each rule below is marked Hesperia code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Height anywhere on the lot |
|
|---|---|
| Front yard height |
|
| Side and rear yard height |
|
| Permit |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
Running a business from home
| Space used |
|
|---|---|
| Customer visits |
|
| Employees |
|
| Permit |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Drain safety |
|
| Equipment and alarms |
|
Pets, chickens and bees
| Large animals |
|
|---|---|
| Permit |
|
Other Hesperia rules on this
Hesperia's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Installing an EV charger (§ 15.04.066)
Who this affects
Frequently asked questions
How tall can a fence be in Hesperia?
Hesperia limits view-obscuring front-setback fences to 36 inches; open wire 4 ft, or 6 ft on lots of 15,000 sq ft or more.
How big can a shed or accessory building be in Hesperia?
Hesperia limits accessory buildings to 20 ft within 30 ft of a side or rear line, 35 ft beyond; other accessory structures 16 ft.
Can I run a business from my home in Hesperia?
Hesperia home businesses may use 15% of the home, including the garage, or 1 room, whichever is less, with no customers or outside employees.
What are the pool fence and setback rules in Hesperia?
Hesperia's code: The barrier must meet California Building Code and ISPSC construction standards. (§ 15.04.050); At least 60 inches high. (Applies to swimming pools, spas and hot tubs with water over 18 inches deep.) (§ 15.04.050).
Can I keep chickens or bees at my home in Hesperia?
Hesperia's code: 1 cow or 2 goats per acre, or 400 fowl per acre. (Applies to a vacant property of 5 gross acres zoned R1.) (§ 16.20.700); An educational animal project permit is required. (Applies to educational projects with cattle, calves, sheep or goats as a temporary accessory use.) (§ 16.20.700).
General information, not legal advice.
Ask about a specific Hesperia property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question