Sonoma County · Building on your lot
Building on your lot in Sonoma County
In unincorporated Sonoma County, the county code sets its own limits on fences, accessory buildings, home businesses, oversized vehicle parking, pools and tree removal. Fence limits depend on the yard and whether the fence is near a street corner.
Key points
- Fence height: Listed zones: use permit for fences over 3 feet in front yards or near corners, over 6 feet in side or rear yards.
- Home businesses: County rule: a home business may use at most 25% of the dwelling, or 500 square feet of a garage or accessory structure.
- Customer visits: County rule: at most 4 customers a day and 2 at a time, weekdays 8 a.m. to 6 p.m.; only residents may be employed.
- Accessory buildings: County rule: on vacant parcels under 2 acres in listed zones, accessory buildings must be under 120 square feet, unless serving existing agriculture.
- Oversized vehicles: County rule: oversized vehicles, boats and trailers may park on county roads at most 6 consecutive hours, then must move at least 72 hours.
- Large trees: County rule: removing redwoods over 48 inches or oaks and other hardwoods over 36 inches in diameter needs a use permit, unless exempt.
Each rule below is marked Sonoma County code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Sonoma County's code applies in the unincorporated areas of the county. Cities in Sonoma County have their own codes and their own pages.
Fences and walls
| Corner visibility |
|
|---|---|
| Permit |
|
Sheds, garages and other accessory structures
| Size or lot coverage |
|
|---|
Running a business from home
| Space used |
|
|---|---|
| Customer visits |
|
| Employees |
|
| Businesses not allowed |
|
RV and boat parking
| Size limit |
|
|---|---|
| Parking on the street |
|
Solar panels and EV chargers
Sonoma County code The building official approves and issues all permits when the application is complete and meets the checklist. No more than 15 feet high, unless a structural engineer shows it meets public safety standards.
Tree removal
Sonoma County code County rule: removing redwoods over 48 inches or oaks and other hardwoods over 36 inches in diameter needs a use permit, unless exempt.
All 13 Sonoma County rules on tree removal, with the code text and the state law underneath →
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Equipment and alarms |
|
| Gates |
|
| Permit |
|
Other Sonoma County rules on this
Sonoma County's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Farm animal limits and backyard hens (§ 26-18-080)
Who this affects
Frequently asked questions
How tall can a fence be in Sonoma County?
Listed zones: use permit for fences over 3 feet in front yards or near corners, over 6 feet in side or rear yards.
How big can a shed or accessory building be in Sonoma County?
County rule: on vacant parcels under 2 acres in listed zones, accessory buildings must be under 120 square feet, unless serving existing agriculture.
Can I run a business from my home in Sonoma County?
County rule: a home business may use at most 25% of the dwelling, or 500 square feet of a garage or accessory structure. County rule: at most 4 customers a day and 2 at a time, weekdays 8 a.m. to 6 p.m.; only residents may be employed.
Can I park an RV or boat at my home in Sonoma County?
County rule: oversized vehicles, boats and trailers may park on county roads at most 6 consecutive hours, then must move at least 72 hours.
What are the pool fence and setback rules in Sonoma County?
Sonoma County's code: The outside surface must have no protrusions or cavities that could serve as handholds or footholds. (Applies to private pools built before June 1, 1998 that use an enclosure.) (§ 7-15); No more than 2 inches between the ground and the bottom of the enclosure. (Private pools built before June 1, 1998 with an enclosure; single-family pools over 18 inches deep; some spas and facilities excluded.) (§ 7-15).
General information, not legal advice.
Ask about a specific Sonoma County property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question