Skip to main content
CityRuleLookup

Madera, CA Accessory Structures: Shed & Carport Rules (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Shed permit rules in Madera, CA, also referred to as storage shed, backyard shed, or accessory building regulations, set size limits, setbacks, and when a building permit is required.

Key Facts

Applicable zones
R-1, R-2, R-3, and PD
Large/tall sheds (>1,000 sq ft or >12 ft)
10 ft from any dwelling
Small walled structures (patio covers, gazebos)
3 ft separation from buildings
Small structures
3 ft separation from side/rear lot lines
Low-wall structures (<10% solid)
no building separation except 3 ft at windows
Corner lots
must meet the street side yard setback

Summary

Detached sheds and accessory buildings in Madera's R-1, R-2, R-3, and PD zones must sit 10 feet from any dwelling if larger than 1,000 square feet or taller than 12 feet, under Municipal Code § 10-3.411(D). Smaller structures need only a 3-foot separation.

(D) Accessory buildings and structures. Except as provided elsewhere in this title, the following regulations shall apply to the location of accessory buildings: (1) Attached accessory building. Where an accessory building is attached to and made a part of the main building, it shall be made structurally an integral part of, and have a common wall with, the main building and shall comply in all respects with the requirements of this chapter applicable to the main building. (2) Detached accessory buildings. A detached accessory building or structure to be constructed in an R-1, R-2, R-3, or PD zone (unless otherwise provided by an approved precise plan) shall be subject to the following standards: (a) Buildings designed for residential occupancy, or detached accessory structures larger than 1,000 square feet in size or higher than 12 feet shall be located at least ten feet from any dwelling building existing or under construction on the same lot or any adjacent lot.

View official code

Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: 2024 S-50: Current through Ordinance 1010 C.S., passed 6-5-24).

Full Breakdown

411(D) sets location standards for accessory buildings and structures separate from the yard-encroachment rules that open the same section. An accessory building attached to and made structurally part of the main house must have a common wall with it and meet every zoning requirement that applies to the main building itself, so an attached shed cannot get a smaller setback than the house it is joined to. Detached accessory buildings in the R-1, R-2, R-3, or PD zones, unless an approved precise plan says otherwise, split into two tiers.

Buildings designed for residential occupancy, or any detached accessory structure larger than 1,000 square feet or taller than 12 feet, must sit at least 10 feet from any dwelling on the same lot or an adjacent lot, and must otherwise meet the same setback requirements that apply to the primary dwelling on the lot. Smaller, non-residential structures under 1,000 square feet and under 12 feet, the kind of patio covers, gazebos, cabanas, and pool shelters homeowners typically add, get lighter standards: a walled structure needs only a 3-foot separation from the walled side to any other building on the lot, plus a 3-foot separation from any side or rear lot line.

If the structure's walls are less than 10% solid, no separation from other buildings is required except at windows, where 3 feet still applies, though the 3-foot lot-line separation remains. On a corner lot, any such structure must also meet the street side yard setback that applies to the primary dwelling.

Violations & Fines

Locating an accessory building or shed in violation of § 10-3.411(D) is enforced the same as any other zoning violation: § 10-3.1602 bars issuance of a conflicting building permit, and § 10-3.1603 makes violating the zoning chapter a misdemeanor and a declared public nuisance subject to abatement.

Frequently Asked Questions

How far must a shed be from my house in Madera?
It depends on size. Under § 10-3.411(D)(2)(a), a detached shed larger than 1,000 square feet or taller than 12 feet must sit at least 10 feet from any dwelling on the same lot or an adjacent lot.
What is the setback for a small patio cover or gazebo?
Section 10-3.411(D)(2)(b) requires only a 3-foot separation from the walled side of the structure to any building on the same lot, plus a 3-foot separation from any side or rear lot line, for structures under 1,000 square feet and 12 feet tall.
Can I attach a shed directly to my house?
Yes, but § 10-3.411(D)(1) requires it be made structurally an integral part of the main building with a common wall, and the attached structure then has to comply with every zoning requirement that applies to the main house.
Are corner lots treated differently for accessory buildings?
Yes. Section 10-3.411(D)(2)(c) requires any accessory structure on a corner lot to meet the street side yard setback that applies to the primary dwelling on that lot, on top of the other location standards.

Sources & Official References

Other rules in Madera

All Madera rules

How Madera compares: Shed Permit Requirements by City·California rules heatmap·Compare Madera to another location·View the California accessory structures overview

Get notified when Shed & Carport Rules in Madera, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.