Alameda County · Building on your lot
Building on your lot in Alameda County
Alameda County's code applies only in unincorporated areas of the county. It sets fence heights by yard and corner location, limits detached accessory buildings in R districts, and lists businesses not allowed as home occupations.
Key points
- Fence height: County fence limits: 4 feet in required front yards, 2 feet near corner-lot intersections, 6 feet elsewhere in A or R districts.
- Accessory buildings: In R districts, the county limits detached accessory buildings to one story and 15 feet, at least 6 feet from other buildings.
- Home business: County home occupations may use at most 1/4 of the dwelling unit; barber shops, beauty shops, real estate offices and massage are not allowed.
Each rule below is marked Alameda County code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Alameda County's code applies in the unincorporated areas of the county. Cities in Alameda County have their own codes and their own pages.
Fences and walls
| Corner visibility |
|
|---|---|
| Height anywhere on the lot |
|
| Front yard height |
|
| Side and rear yard height |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Side and rear setback |
|
| Distance from the house |
|
Running a business from home
| Space used |
|
|---|---|
| Employees |
|
| Businesses not allowed |
|
Other Alameda County rules on this
Alameda County's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Animal fanciers permit for extra dogs, cats or livestock (Ch. 5.12) — residential zones only
Who this affects
Frequently asked questions
How tall can a fence be in Alameda County?
County fence limits: 4 feet in required front yards, 2 feet near corner-lot intersections, 6 feet elsewhere in A or R districts.
How big can a shed or accessory building be in Alameda County?
In R districts, the county limits detached accessory buildings to one story and 15 feet, at least 6 feet from other buildings.
Can I run a business from my home in Alameda County?
County home occupations may use at most 1/4 of the dwelling unit; barber shops, beauty shops, real estate offices and massage are not allowed.
General information, not legal advice.
Ask about a specific Alameda County property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question