San Ramon, CA Accessory Structures: Shed & Carport Rules (2026)
Shed permit rules in San Ramon, 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
- Zoning Ordinance Section D4-26
- Max floor area (R zones)
- 3% of lot area
- Height limit
- 12 ft (HR/RS/RM) or 16 ft (RC/RE-A/RR)
- Setback under 18 in.
- No setback required
- Setback 18 in. to 6 ft
- 3-foot setback required
- Setback over 6 ft
- Setback equals height minus 3 feet
Summary
San Ramon caps backyard sheds and other accessory structures in residential zones at three percent of the lot's total floor area and enforces a sliding setback: no setback for structures 18 inches or less, a three-foot setback up to six feet in height, and setback equal to height minus three feet above that, under Zoning Ordinance Section D4-26.
E. R zones. Each accessory structure within a residential zone shall comply with the following requirements. 1. Maximum total floor area. The total floor area of all accessory structures on the site with a solid roof over four feet in height and/or deck structures over four feet in height shall not exceed three percent of the lot area. Common areas owned by homeowners' associations are exempt from the maximum floor area (i.e. pool house, etc.)... 3. Setback requirements. Accessory structures shall comply with the following setback requirements. b. Side and rear setbacks. An accessory structure shall be set back from the side and rear property line as follows. 1. If the structure is of 18 inches or less in height, no setback is required; 2. If the structure is greater than 18 inches but 6 feet or less in height, a three-foot setback is required; and 3. If the structure is greater than 6 feet in height, the setback shall be equal to the height less three feet.
Full Breakdown
Section D4-26 of San Ramon's Zoning Ordinance governs the usage, siting, height, lot coverage and setback of every accessory structure, including sheds, detached garages, cabanas and pool houses. In the city's R (residential) zones, Subsection E.1 limits the combined floor area of all accessory structures with a solid roof or deck over four feet high to three percent of the lot area; homeowners'-association common areas such as a pool house are exempt from that cap. Height is capped by Table 4-2: 12 feet in the HR, RE-B, RS, RM, RMH, RH and RVH zones, and 16 feet in the RC, RE-A and RR zones, with a lower 3-foot limit (plus 18 inches for decorative features) if the structure sits within the required front setback.
Side and rear setbacks scale with height under Subsection E.3.b: a shed 18 inches or less in height needs no setback at all; one taller than 18 inches but no more than 6 feet needs a 3-foot setback; and anything over 6 feet must be set back a distance equal to its height minus three feet. A shed cannot occupy a required front or corner side setback, or project past the front building line of the main house, and must sit at least five feet from interior side and rear lines unless it meets the Subsection C.2 height limit exception. Structures used to house animals face separate, larger setbacks under Subsection E.3.c: 60 feet from the front and 40 feet from side/rear lines for small-animal structures, and 100/50 feet for barns and large-animal structures.
Violations & Fines
An accessory structure built over the three-percent floor-area cap, taller than the Table 4-2 limit, or sited inside a required setback is a zoning violation processed under the Municipal Code's general enforcement title; the Building and Community Development Departments can require the structure be modified, relocated or removed before any related building permit is finalized. Because the setback and height rules are objective numeric standards rather than discretionary findings, an out-of-compliance shed is typically resolved through a code-compliance case rather than a Use Permit hearing.
Frequently Asked Questions
How close to my property line can I put a shed in San Ramon?
How big can a shed be in a San Ramon residential zone?
How tall can a backyard shed be in San Ramon?
Sources & Official References
Other rules in San Ramon
How San Ramon compares: Shed Permit Requirements by City·California rules heatmap·Compare San Ramon 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.
Shed & Carport Rules in Nearby Cities
How other cities in Contra Costa County handle shed & carport rules.