Walnut · Building on your lot
Building on your lot in Walnut
Walnut sets its own limits on fences, accessory buildings and home businesses. Fence height depends on the yard, and a home business needs a permit and a business license.
Key points
- Fence height: In the R-2 zone, Walnut limits fences to 6 feet, and to 3 feet in a required front yard or street side yard.
- Accessory buildings: In R-2 and R-3 zones, Walnut accessory buildings stay at least 5 feet from side lines and out of side yards abutting a street.
- Home businesses: Walnut limits a home business to one room or 25% of the floor area, whichever is less, with resident family members only.
Each rule below is marked Walnut 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 |
|
Sheds, garages and other accessory structures
| Side and rear setback |
|
|---|---|
| Distance from the house |
|
Running a business from home
| Space used |
|
|---|---|
| Employees |
|
| Permit |
|
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar permit process |
|
Tree removal
| Exemptions |
|
|---|---|
| Permit to remove |
|
| Protected trees |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Gates |
|
Other Walnut rules on this
Walnut's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Horses and livestock on rural lots (§ 6.16.020) — rural overlay zone only
- Parking RVs on the street (Art. 3.38) — public streets
Who this affects
Frequently asked questions
How tall can a fence be in Walnut?
In the R-2 zone, Walnut limits fences to 6 feet, and to 3 feet in a required front yard or street side yard.
How big can a shed or accessory building be in Walnut?
In R-2 and R-3 zones, Walnut accessory buildings stay at least 5 feet from side lines and out of side yards abutting a street.
Can I run a business from my home in Walnut?
Walnut limits a home business to one room or 25% of the floor area, whichever is less, with resident family members only.
Do I need a permit for solar panels or an EV charger in Walnut?
Walnut's code: Electronic submittal and electronic signatures are accepted. (Applies to EV charging stations.) (§ 2.42.040); The Building Official approves the application and issues all needed permits. (When the application meets the City-adopted checklist and all laws and health and safety standards.) (§ 2.42.040).
Do I need a permit to remove a tree in Walnut?
Walnut's code: Deadwooding does not need a permit. (Applies to deadwooding only.) (§ 6.52.340); Unsafe live limbs up to 6 inches around may be removed without a permit, if the tree consultant decides. (Limbs unsafe from decay, rot, cavities, cracks or splitting.) (§ 6.52.340).
What are the pool fence and setback rules in Walnut?
Walnut's code: Besides doors and gates, no openings over 50 square inches, unless rectangular with no horizontal side over 4 inches. (§ 3.48.370); At least 5 feet high. (Pools 2 feet deep or more; measured on the side away from the pool.) (§ 3.48.370).
General information, not legal advice.
Ask about a specific Walnut property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question