Skip to content

Sonoma County · Building on your lot

Building on your lot in Sonoma County

Sonoma County's code applies only in unincorporated areas of the county. Limits depend on the zone and the situation: fence permits turn on height and yard, and pool barrier rules cover private pools built before June 1, 1998.

Key points

  • Fence heights: AR, RR, R1, R2 districts: use permit above 6 ft behind the home; above 3 ft in front yards and near street corners.
  • Accessory buildings: Accessory buildings must be under 120 square feet on vacant parcels under 2 acres in LIA, LEA, DA, RRD, AR, RR and PC zones.
  • Home businesses: Home businesses: 25% of floor area at most, or 500 sq ft in a garage or detached structure; 4 customers a day at most.
  • Pool barriers: Enclosures at private pools built before June 1, 1998 must be at least 60 inches high, with at most 2 inches under the bottom.
  • Protected trees: Removing a protected tree needs a zoning permit, or a use permit for trunks over 48 inches (redwood) or 36 inches (hardwood); exemptions exist.
  • Rooftop solar: Small residential rooftop solar eligible for expedited review: complete applications meeting the county checklist are approved administratively; one inspection.

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

Sonoma County code AR, RR, R1, R2 districts: use permit above 6 ft behind the home; above 3 ft in front yards and near street corners.

All 4 Sonoma County rules on fences and walls, with the code text →

Sheds, garages and other accessory structures

Sonoma County code What Sonoma County's code adds
Size or lot coverage
  • Accessory buildings must be under 120 square feet.
    Applies: Vacant parcels under 2 acres in LIA, LEA, DA, RRD, AR, RR and PC zones; not buildings serving an existing agricultural use.
    § 26-16-080 · code text
    On vacant parcels less than two (2) acres, accessory buildings may only be constructed if less than one hundred twenty (120) square feet or as incidental to an existing agricultural use.

Running a business from home

Sonoma County code Home businesses: 25% of floor area at most, or 500 sq ft in a garage or detached structure; 4 customers a day at most.

All 8 Sonoma County rules on running a business from home, with the code text →

RV and boat parking

Sonoma County code At least 24 feet long, 90 inches high or 96 inches wide: no parking over 6 consecutive hours. Up to 48 consecutive hours, only for loading or unloading.

All 3 Sonoma County rules on RV and boat parking, with the code text →

Solar panels and EV chargers

Sonoma County code Small residential rooftop solar eligible for expedited review: complete applications meeting the county checklist are approved administratively; one inspection.

All 5 Sonoma County rules on solar panels and EV chargers, with the code text →

Tree removal

Sonoma County code Removing a protected tree needs a zoning permit, or a use permit for trunks over 48 inches (redwood) or 36 inches (hardwood); exemptions exist.

All 13 Sonoma County rules on tree removal, with the code text →

Swimming pools

Sonoma County code Enclosures at private pools built before June 1, 1998 must be at least 60 inches high, with at most 2 inches under the bottom.

All 8 Sonoma County rules on swimming pools, with the code text →

Building in a flood zone

Sonoma County code What Sonoma County's code adds
Floodplain permit
  • All required building, grading, drainage and similar permits must be obtained before construction or development begins.
    Applies: In special flood hazard areas. Includes improvements, additions or repairs to existing structures and placing manufactured homes.
    § 7B-5 · code text
    All required building, grading, drainage, and similar permits shall be obtained before construction or development, including improvements, additions or repairs to existing structures, and the placement of manufactured homes, begins within any area of special flood hazard established in Section 7B-2.
Building in a floodway
  • No encroachments, including fill and new construction, unless a certified engineering analysis shows no flood level rise.
    Applies: Applies in the adopted floodway, for flood levels during the base flood.
    § 7B-12 · code text
    Prohibit encroachments, including fill, new construction, substantial improvements, and other development within the adopted floodway unless it has been demonstrated through hydrologic and hydraulic analysis performed in accordance with standard engineering practice and certified by a registered professional engineer or architect licensed in the state of California that the proposed encroachments shall not result in any increase in flood levels during the occurrence of the base flood discharge.

Grading and erosion control

Sonoma County code What Sonoma County's code adds
Grading without a permit
  • Cuts up to 50 cubic yards and 3 feet deep; small fills; permitted basement, footing, well or septic digs.
    Applies: Fills: 50 cubic yards or less, watercourse unchanged, 1 foot deep in flood areas, else 3 feet without structures. County grading standards still apply.
    § 11.04.010 · code text
    Excavations and fills for wells or on-site sewage disposal systems. Excavations and fills for wells or on-site sewage disposal systems where authorized by a valid well or septic permit.

Family child care homes

CA state law California law
Zoning
A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning
Business license or fee
A city or county may not charge a business license, fee or tax to run a family child care home
Local rules
Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone
Small home
Up to eight children, counting the provider's own children under 10 who live there
Large home
7 to 14 children, counting the provider's own children under 10 who live there

Affordable units in new housing (inclusionary)

Sonoma County code The rule applies to projects of 1 or more residential units. At least 20 percent of new dwelling units must be affordable; at least half of those go to low-income households.

All 5 Sonoma County rules on affordable units in new housing (inclusionary), with the code text →

Group homes and residential care

Sonoma County code What Sonoma County's code adds
Homes for 7 or more
  • Subject to the same density limits and rules as other residential dwellings of the same type in the same zone.
    Applies: Applies to facilities serving 7 or more persons.
    § 26-24-250 · code text
    Subject to the same density limitations and regulations applicable to other residential dwellings of the same type (ex. multifamily) in the same zone.
Homes for 6 or fewer
  • Subject to the same density limits and rules as other residential dwellings of the same type in the same zone.
    Applies: Applies to facilities serving 6 or fewer persons.
    § 26-24-250 · code text
    Subject to the same density limitations and regulations applicable to other residential dwellings of the same type (ex. single-family residential) in the same zone.

Parking spaces required for homes

Sonoma County code ½ uncovered guest parking space for each dwelling unit, plus an additional ½ parking space for each dwelling unit having more than 2 bedrooms one-half uncovered guest space/dwelling unit

All 10 Sonoma County rules on parking spaces required for homes, with the code text →

Trash and recycling carts

Sonoma County code You must subscribe to weekly solid waste, recyclable materials and organic waste collection services. May be exempt from mandatory service upon approval.

All 4 Sonoma County rules on trash and recycling carts, with the code text →

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.

Who this affects

HomeownersContractorsDesigners

Frequently asked questions

How big can a shed or accessory building be in Sonoma County?

Accessory buildings must be under 120 square feet on vacant parcels under 2 acres in LIA, LEA, DA, RRD, AR, RR and PC zones.

What are the rules for building in a Sonoma County flood zone?

Sonoma County's code: All required building, grading, drainage and similar permits must be obtained before construction or development begins. (In special flood hazard areas. Includes improvements, additions or repairs to existing structures and placing manufactured homes.) (§ 7B-5); No encroachments, including fill and new construction, unless a certified engineering analysis shows no flood level rise. (Applies in the adopted floodway, for flood levels during the base flood.) (§ 7B-12).

What are the grading rules in Sonoma County?

Sonoma County's code: Cuts up to 50 cubic yards and 3 feet deep; small fills; permitted basement, footing, well or septic digs. (Fills: 50 cubic yards or less, watercourse unchanged, 1 foot deep in flood areas, else 3 feet without structures. County grading standards still apply.) (§ 11.04.010).

Can I run a family child care home in Sonoma County?

California law sets this for every city, including Sonoma County: Zoning: A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning (Health & Safety Code § 1597.45(a)); Business license or fee: A city or county may not charge a business license, fee or tax to run a family child care home (Health & Safety Code § 1597.45(b)); Local rules: Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone (Health & Safety Code § 1597.45(e)); Small home: Up to eight children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(c)); Large home: 7 to 14 children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(b)).

Where are group homes and residential care homes allowed in Sonoma County?

Sonoma County's code: Subject to the same density limits and rules as other residential dwellings of the same type in the same zone. (Applies to facilities serving 7 or more persons.) (§ 26-24-250); Subject to the same density limits and rules as other residential dwellings of the same type in the same zone. (Applies to facilities serving 6 or fewer persons.) (§ 26-24-250).

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

More on Sonoma County