Oakland · Building on your lot
Building on your lot in Oakland
Oakland sets its own fence heights for residential zones. Massage therapists working from home have their own rules; other home businesses fall under Chapter 17.112.
Key points
- Fence height: Oakland limits residential fences to 42 inches in front and corner street side yards and 8 ft in most other yards.
- Home massage: City rule: a massage therapist working from home needs a massage therapist permit and may have no one else working there.
Each rule below is marked Oakland code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Front yard height |
|
|---|---|
| Side and rear yard height |
|
Running a business from home
| Employees |
|
|---|---|
| Permit |
|
Solar panels and EV chargers
| Review time |
|
|---|---|
| Solar permit process |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Gates |
|
Pets, chickens and bees
| Chickens |
|
|---|---|
| Coop setback |
|
| Pet limit |
|
Other Oakland rules on this
Oakland's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Permit to remove a protected tree (Ch. 12.36)
Who this affects
Frequently asked questions
How tall can a fence be in Oakland?
Oakland limits residential fences to 42 inches in front and corner street side yards and 8 ft in most other yards.
Can I run a business from my home in Oakland?
City rule: a massage therapist working from home needs a massage therapist permit and may have no one else working there.
Do I need a permit for solar panels or an EV charger in Oakland?
Oakland's code: Same day for over-the-counter applications; 1 to 3 business days for electronic applications. (Applies to complete small residential rooftop solar applications that meet the approved checklist and standard plan.) (§ 15.33.090); You may apply electronically; electronic signatures are accepted. (Applies to small residential rooftop solar permit applicants.) (§ 15.33.080).
What are the pool fence and setback rules in Oakland?
Oakland's code: The fence must stop anyone, including small children, from crawling or passing through. (Applies to the fence, except at gates.) (§ 8.36.010); Part of the enclosure may be a house or other permanent structure connected to the fence. (An alternative enclosure using a dwelling or other permanent structure.) (§ 8.36.010).
Can I keep chickens or bees at my home in Oakland?
Oakland's code: Yes, if the enclosure is more than 20 feet from any home, church or school; no roosters. (Not on property with an apartment house or hotel, or in a business district.) (§ 6.04.320); No. (Applies to property with an apartment house or hotel, or in a business district.) (§ 6.04.290).
General information, not legal advice.
Ask about a specific Oakland property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question