Marin County · Building on your lot
Building on your lot in Marin County
Marin County's code applies only in unincorporated areas of the county. It sets coastal-zone limits for accessory structures and rules on home-business visits and licenses.
Key points
- Accessory height: County rule: in the coastal zone, detached residential accessory structures are limited to 15 ft in height.
- Home businesses: County rule: home businesses need a business license and may have no more than 1 client appointment at a time.
Each rule below is marked Marin County code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Marin County's code applies in the unincorporated areas of the county. Cities in Marin County have their own codes and their own pages.
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
Running a business from home
| Customer visits |
|
|---|---|
| Employees |
|
| Permit |
|
| Businesses not allowed |
|
Solar panels and EV chargers
| Solar height and setbacks |
|
|---|
Tree removal
| Exemptions |
|
|---|---|
| Permit to remove |
|
Pets, chickens and bees
| Pet limit |
|
|---|
Other Marin County rules on this
Marin County's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- SB 9 housing development standards (§ 22.32.184)
- SB 9 urban lot splits (§ 22.80.064)
- No parking of oversized vehicles (§ 15.36.091) — on public streets with posted signs
- Living in campers, house cars and trailers (Ch. 7.52)
Who this affects
Frequently asked questions
How big can a shed or accessory building be in Marin County?
County rule: in the coastal zone, detached residential accessory structures are limited to 15 ft in height.
Can I run a business from my home in Marin County?
County rule: home businesses need a business license and may have no more than 1 client appointment at a time.
Do I need a permit for solar panels or an EV charger in Marin County?
Marin County's code: Roof-mounted systems may exceed the zone height limit by no more than 2 feet. (Applies in coastal zoning districts; more than 2 feet needs findings of consistency with the Local Coastal Program.) (§ 20.32.161); Free-standing systems no higher than 18 inches above grade at any point are exempt from yard setbacks. (Applies in coastal zoning districts.) (§ 20.32.161).
Do I need a permit to remove a tree in Marin County?
Marin County's code: Exempt if disease, damage or age makes long-term survival of the tree unlikely. (Applies to any protected or heritage tree on a lot.) (§ 22.62.040); Exempt if a pathogen or insects threaten nearby trees, as an arborist report or qualified professional finds. (Applies to any protected or heritage tree on a lot.) (§ 22.62.040).
Can I keep chickens or bees at my home in Marin County?
Marin County's code: No more than 3 dogs over 4 months old. (Applies per lot, dwelling or other living space, unless other code sections or zoning allow more.) (§ 8.04.185).
General information, not legal advice.
Ask about a specific Marin County property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question