Rocklin · Building on your lot
Building on your lot in Rocklin
Rocklin sets its own limits on fences and accessory structures on residential lots. Fence height depends on the yard, the lot type and the fence design, and fences near intersections must meet the city's visibility standards.
Key points
- Fence height: Residential fences are limited to 30 inches in the required front setback and 6 feet along and inside side and rear property lines.
- Accessory structures: Accessory structures in residential zones have city distance rules of 5 and 10 feet; barns, stables and animal buildings, 20 feet.
Each rule below is marked Rocklin 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
| Side and rear setback |
|
|---|---|
| Distance from the house |
|
Tree removal
| Exemptions |
|
|---|---|
| Permit to remove |
|
| Replacement trees |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Equipment and alarms |
|
| Gates |
|
| Setback from property lines |
|
Pets, chickens and bees
| Bees |
|
|---|---|
| Large animals |
|
| Permit |
|
Who this affects
Frequently asked questions
How tall can a fence be in Rocklin?
Residential fences are limited to 30 inches in the required front setback and 6 feet along and inside side and rear property lines.
How big can a shed or accessory building be in Rocklin?
Accessory structures in residential zones have city distance rules of 5 and 10 feet; barns, stables and animal buildings, 20 feet.
Do I need a permit to remove a tree in Rocklin?
Rocklin's code: No mitigation is required to remove a dead, dying or diseased oak tree. (Undeveloped property, when the director finds the tree is a risk of injury to people or property.) (§ 17.77.050); No mitigation is required to remove a dead or diseased oak tree. (Developed single-family, duplex or triplex lots, when the director finds the tree is a risk to people or property.) (§ 17.77.045).
What are the pool fence and setback rules in Rocklin?
Rocklin's code: An enclosure must separate the pool from the home. (This is 1 of the 2 required safety features.) (§ 17.08.150); Home doors opening directly to the pool that do not meet the door rules need exit alarms. (Applies when the home is part of the required enclosure.) (§ 17.08.150).
Can I keep chickens or bees at my home in Rocklin?
Rocklin's code: Bees must be kept at least 500 feet from any building where people or animals live or are kept. (§ 6.44.080); 1 horse on 30,000 square feet or more; 2 on 1 acre net or more; plus up to 2 young. (Horses or similar large animals; Annexation Area overlay zone only.) (§ 17.07.030).
General information, not legal advice.
Ask about a specific Rocklin property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question