Milpitas · Building on your lot
Building on your lot in Milpitas
Milpitas sets its own fence heights, accessory-structure limits and home-business rules. Fence limits differ between the Valley Floor and the Hillside Combining District and depend on the yard.
Key points
- Fence height: City rule: on the Valley Floor, fences are limited to 42 inches in front setbacks and 6 ft in interior side and rear setbacks.
- Accessory structures: City rule: all accessory structures together may cover at most 30% of the required rear setback area.
- Home businesses: Milpitas home businesses need a Home Occupation Permit, are run only by residents, and may host at most 2 clients at a time.
Each rule below is marked Milpitas code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Corner visibility |
|
|---|---|
| Height anywhere on the lot |
|
| Front yard height |
|
| Side and rear yard height |
|
Sheds, garages and other accessory structures
| Size or lot coverage |
|
|---|---|
| Side and rear setback |
|
| Distance from the house |
|
Running a business from home
| Customer visits |
|
|---|---|
| Employees |
|
| Permit |
|
Lot splits under SB 9
| How the lot may be divided |
|
|---|---|
| Minimum new lot size |
|
| Standards |
|
Solar panels and EV chargers
| Review time |
|
|---|
Tree removal
| Penalty |
|
|---|---|
| Permit to remove |
|
| Protected trees |
|
| Replacement trees |
|
Other Milpitas rules on this
Milpitas's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Keeping livestock and horses (§ C.10.060)
- Limits on animals kept in residential areas (Ch. V-210) — residentially zoned lots
Who this affects
Frequently asked questions
How tall can a fence be in Milpitas?
City rule: on the Valley Floor, fences are limited to 42 inches in front setbacks and 6 ft in interior side and rear setbacks.
How big can a shed or accessory building be in Milpitas?
City rule: all accessory structures together may cover at most 30% of the required rear setback area.
Can I run a business from my home in Milpitas?
Milpitas home businesses need a Home Occupation Permit, are run only by residents, and may host at most 2 clients at a time.
Can I split my lot under SB 9 in Milpitas?
Milpitas's code: Each new lot must be between 40% and 60% of the original lot area. (Each resulting lot.) (§ XI-1-31.04); Each new lot must be at least 1,200 square feet. (Resulting lots.) (§ XI-1-31.04).
Do I need a permit for solar panels or an EV charger in Milpitas?
Milpitas's code: Same day. (Complete over-the-counter applications for small residential rooftop solar that meet the approved checklist and standard plan.) (§ II-1.5-6.01); 1 to 3 business days. (Complete electronic applications for small residential rooftop solar that meet the approved checklist and standard plan.) (§ II-1.5-6.01).
Do I need a permit to remove a tree in Milpitas?
Milpitas's code: The city recovers its costs. (Unlawful removal of a protected tree.) (§ X-2-4.02); Yes, a Public Works permit is required. (Street trees, protected trees or heritage plantings; applies to everyone except city staff on duty.) (§ X-2-4.02).
General information, not legal advice.
Ask about a specific Milpitas property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question