Merced, CA Accessory Structures: Shed & Carport Rules (2026)
Shed permit rules in Merced, 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
- Max accessory structure height
- 35 ft.
- Standard interior setback
- 3 ft.
- Setback for sheds over 120 sq ft
- 5 ft.
- Garage off alley setback
- 5 ft. minimum
- Exterior yard setback
- Same as primary structure requirement
Summary
A shed or other detached accessory structure in a Merced residential yard can rise up to 35 feet, the same as the house, but must sit at least 3 feet from interior property lines, 5 feet if it's a garage or exceeds 120 square feet.
4.Accessory buildings and uses customarily appurtenant to a permitted use, such as garages, carport, off-street parking areas, personal storage buildings, fences, etc. ... Table 20.28-1 Height and Setback Standards for Residential Accessory Structures Height (max.) 35 ft. Setbacks (min.) Interior Yard 3 ft. [1] Exterior Yard Same as required for primary structure ... [1] Five (5) feet minimum for garages off an alley or any accessory structure exceeding one hundred twenty (120) square feet.
Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Code of Ordinances: Supplement 85 - 1-26).
Full Breakdown
Sec. ' as permitted residential accessory structures, covering a typical backyard shed. 28-1 sets the numeric standards: a maximum height of 35 feet, the same as a primary residential structure, and a minimum interior yard setback of 3 feet. Note [1] to that table raises the interior setback to 5 feet for two categories: garages accessed off an alley, and any accessory structure exceeding 120 square feet, which covers most sheds larger than a small utility shed. The exterior yard setback for an accessory structure is the same as required for the primary structure in that zoning district, so a shed cannot be placed in a required front or street-side yard the way it can in a rear or interior side yard.
Sec. B further requires any accessory structure attached to the house, rather than freestanding, to comply with all standards that apply to the primary structure, including lot coverage. Detached habitable accessory structures used as rear dwellings, guest houses, or dwelling units over garages carry additional standards in Sec. C, including a rule that guest houses may have no kitchen facilities and must sit on the rear half of the lot.
Violations & Fines
Placing a shed or other accessory structure closer to a property line than Table 20.28-1 allows, including the 5-foot minimum for structures over 120 square feet, or building one taller than the 35-foot cap, is a zoning violation enforced through the city's standard administrative-citation process: a correction notice under Sec. 1.10.030 with at least a 10-day cure period, then an administrative citation and council-set fine under Sec. 1.10.050 if the encroachment isn't corrected.
Frequently Asked Questions
How close to my fence can I put a shed in Merced?
How tall can a backyard shed or detached garage be in Merced?
Can I put a shed in my front yard in Merced?
Sources & Official References
Other rules in Merced
How Merced compares: Shed Permit Requirements by City·California rules heatmap·Compare Merced to another location·View the California accessory structures overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.