Hayward · Building on your lot
Building on your lot in Hayward
Hayward sets fence heights by zone, with detailed limits in its Downtown and Mission Boulevard Corridor zones. A fence near the property line of a residence lot that is unnecessarily higher than 6 ft is a private nuisance.
Key points
- Fence height: Hayward limits fences to 4 ft in front setbacks and 7 ft in side and rear setbacks in Downtown and Mission Boulevard Corridor zones.
- Home businesses: In Hayward's Downtown Zones, home businesses may run 8:00 a.m. to 6:00 p.m.; NE and NG zones allow residents only, others 2 employees.
Each rule below is marked Hayward 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 |
|
| Permit |
|
Running a business from home
| Customer visits |
|
|---|---|
| Employees |
|
| Permit |
|
| Businesses not allowed |
|
Tree removal
| Permit to remove |
|
|---|---|
| Protected trees |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Gates |
|
| Maintenance and empty pools |
|
Other Hayward rules on this
Hayward's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Sleeping in a trailer coach on a home lot (§ 5-3.270) — behind a private home only
- EV-ready parking for new homes (§ 10-2.810)
Who this affects
Frequently asked questions
How tall can a fence be in Hayward?
Hayward limits fences to 4 ft in front setbacks and 7 ft in side and rear setbacks in Downtown and Mission Boulevard Corridor zones.
Can I run a business from my home in Hayward?
In Hayward's Downtown Zones, home businesses may run 8:00 a.m. to 6:00 p.m.; NE and NG zones allow residents only, others 2 employees.
Do I need a permit to remove a tree in Hayward?
Hayward's code: Yes; Site Plan Review first, approved only if the burden of keeping the tree outweighs the public benefit. (Heritage Trees.) (§ 10-15.23); Native trees of the listed species at least 4 inches in diameter at standard height (DSH). (Trees native to the Hayward area.) (§ 10-15.14).
What are the pool fence and setback rules in Hayward?
Hayward's code: The fence or wall must keep anyone, including small children, from passing through, under or over it, except at gates. (§ 3-5.51); At least 4½ feet high. (Outdoor pools or other water used for swimming or dipping, more than 2 feet deep.) (§ 3-5.51).
General information, not legal advice.
Ask about a specific Hayward property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question