Skip to main content
CityRuleLookup

Merced, 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 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.

View official code

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?
Table 20.28-1 sets a 3-foot minimum interior yard setback for accessory structures. That minimum rises to 5 feet under Note [1] if the shed exceeds 120 square feet or if it's a garage accessed off an alley.
How tall can a backyard shed or detached garage be in Merced?
Table 20.28-1 caps accessory structures, including sheds and detached garages, at 35 feet, the same maximum height allowed for the primary house in residential zoning districts under Sec. 20.28.020.B.2, which also applies other primary-structure development standards to accessory buildings.
Can I put a shed in my front yard in Merced?
No. Table 20.28-1 requires an accessory structure's exterior yard setback to match the primary structure's required setback for that zoning subzone, which runs 15 to 30 feet from the front property line under Table 20.08-2, so a shed must sit in a side or rear yard instead.

Sources & Official References

Other rules in Merced

All Merced rules

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

Get notified when Shed & Carport Rules in Merced, 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.