Skip to main content
CityRuleLookup

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

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

Shed permit rules in Sacramento, 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

Governing section
Sacramento City Code § 17.624.040
Single-unit/duplex minimum
10 ft wide x 20 ft deep interior dimensions
Reduced-width option
8 ft wide if side-yard setback is already 8 ft
Multi-unit carport minimum
10 ft wide x 20 ft deep
Setback source
Base zone's own height/setback/coverage standards

Summary

A carport attached to a Sacramento home must follow the zone's height, setback, and lot coverage rules and meet minimum interior dimensions set in Sacramento City Code § 17.624.040 -- 10 feet wide by 20 feet deep for a single-unit or duplex dwelling, reducible to 8 feet wide with an 8-foot side-yard setback. Multi-unit dwelling carports follow the same 10-by-20 minimum.

17.624.040, footnote 1: "Height, setbacks, and lot coverage. The height, setback, and lot coverage standards of the zone in which the attached accessory structure is located apply to the structure." Footnote 2: "Maximum lot coverage of required rear yard for attached garages and carports. a. Single-unit and duplex dwellings on reversed corner lot. Attached garages and carports may project into the required rear-yard area of a reversed corner lot, provided that the structure does not extend beyond the front setback line of the lots to the rear, nor nearer than five feet to the side of the key lot to the rear." Footnote 4: "Minimum dimensions of attached garages and carports. a. Single-unit and duplex dwellings. The minimum interior dimensions for an attached garage or attached carport are 10 feet wide and 20 feet deep. The width may be reduced to 8 feet if the existing interior side-yard setback between the existing residence and the property line is 8 feet. b. Multi-unit dwellings. Minimum interior dimensions of an attached garage are 8 feet wide by 18 feet deep. Minimum dimensions of an attached carport are 10 feet wide and 20 feet deep."

Source: Sacramento City Code 17.624.040 - Attached accessory structuresView official code

Full Breakdown

040 sets the numbers a homeowner or contractor has to hit. Footnote 1 to the section's chart states that "the height, setback, and lot coverage standards of the zone in which the attached accessory structure is located apply to the structure" -- so a carport in an R-1 zone follows R-1 setbacks, not a separate accessory-structure setback. 508's driveway standards, referenced in the same section's footnote 3.

Violations & Fines

Building or enlarging a carport that violates the zone's setback or the 10-by-20 (or 8-by-18) minimum dimension standard without an approved building permit is a zoning violation the city's code enforcement division can cite, and it can require the structure to be modified, relocated, or removed at the owner's expense. Because carports are reviewed at building-permit issuance, an unpermitted carport also risks a stop-work order and separate building-code penalties.

Frequently Asked Questions

How big does a Sacramento carport have to be?
Sacramento City Code § 17.624.040, footnote 4, sets a minimum interior size of 10 feet wide by 20 feet deep for an attached carport at a single-unit or duplex home, reducible to 8 feet wide if the home's side-yard setback is already 8 feet. Multi-unit dwelling carports follow the same 10-by-20 minimum.
Can a carport go right up to my rear property line?
Only in limited cases. Footnote 2 lets an attached carport on a reversed corner lot project into the required rear yard, but it can't extend beyond the front setback line of the lot behind it or come closer than five feet to the side lot line -- otherwise the zone's normal rear setback applies.
What setback applies to a carport otherwise?
The zone's own standards. Section 17.624.040's footnote 1 states that "the height, setback, and lot coverage standards of the zone in which the attached accessory structure is located apply to the structure," so there's no separate citywide carport setback -- check the base zoning district.

Sources & Official References

Other rules in Sacramento

All Sacramento rules

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

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

Shed & Carport Rules in Nearby Cities

How other cities in Sacramento County handle shed & carport rules.

Folsom, CA
Some Restrictions
Elk Grove, CA
Some Restrictions
Rancho Cordova, CA
Some Restrictions