Madera · Building on your lot
Building on your lot in Madera
Madera sets its own fence and accessory-building limits for residential (R) zones. Fence limits depend on the yard and on nearness to a street corner.
Key points
- Fence height: City rule: R-zone fences are limited to 3 ft in front and street side setbacks, 6 ft in rear and interior side yards.
- Accessory buildings: City rule: accessory buildings in R zones are limited to 15 ft.
Each rule below is marked Madera 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 |
|
|---|---|
| Front yard height |
|
| Side and rear yard height |
|
| Permit |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|
Solar panels and EV chargers
| Solar permit process |
|
|---|---|
| Review time |
|
Swimming pools
| Maintenance and empty pools |
|
|---|
Pets, chickens and bees
| Large animals |
|
|---|
Who this affects
Frequently asked questions
How tall can a fence be in Madera?
City rule: R-zone fences are limited to 3 ft in front and street side setbacks, 6 ft in rear and interior side yards.
How big can a shed or accessory building be in Madera?
City rule: accessory buildings in R zones are limited to 15 ft.
Do I need a permit for solar panels or an EV charger in Madera?
Madera's code: You can apply electronically by email or online. (Permit applicants for small residential rooftop solar energy systems.) (§ 9-4.05); The permit is issued the same day. (Small residential rooftop solar; complete over-the-counter applications that meet the checklist and standard plan.) (§ 9-4.06).
What are the pool fence and setback rules in Madera?
Madera's code: Pools must have a filtration system in good working order. (§ 5-5.14); A pool may be emptied or have over 250 gallons drained for maintenance only after notice to Public Works. (Maintenance that cannot be done while the pool is full.) (§ 5-5.14).
Can I keep chickens or bees at my home in Madera?
Madera's code: No more than 3 livestock animals (including horses, goats, chickens, ducks, rabbits) per location, in an enclosed pen. (City areas, except property zoned or used for farming or industry.) (§ 5-1.31).
General information, not legal advice.
Ask about a specific Madera property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question