Cupertino, CA Accessory Structures: Shed & Carport Rules (2026)
Shed permit rules in Cupertino, 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 lot coverage
- 30% of usable rear yard
- Max height
- 20 ft, one story
- Setback from house
- 5 ft, eave to eave
- Front setback
- 20 ft residential, 30 ft agricultural
- Rear/interior side setback
- 3 ft
- Small portable sheds
- 3 ft from any property line
Summary
Cupertino limits detached sheds and accessory buildings in residential and agricultural zones to 30 percent of the usable rear yard, 20 feet in height and one story. Setbacks tighten for small portable sheds under six feet, and the rules sit in Municipal Code Section 19.100.030's site development table.
General Regulations. ... Except as otherwise provided in this section, accessory buildings shall at all times be located in conformance with requirements for principal buildings, and shall not be located in any required front, sides, or rear yard setback area. ... Maximum lot coverage 30% of the usable rear yard area ... Minimum setback from principal dwelling 5 feet (measured between the eaves) ... Minimum Setback (except for detached recreational buildings/structures in 2(j)) i. Front 20 feet in residential zones30 feet in agricultural zones ii. Rear 3 feet ... f. ... Small, portable storage buildings less than 6 feet in height, not attached to a building, permanent foundation or pad Setback from principal dwelling unit may be less than five feet and Setback from any property line must be at least three feet. g. Maximum Height 20 feet (limited to one story)
Full Breakdown
030 of the Cupertino Municipal Code governs detached accessory buildings and structures in the R-1, RHS, A, A-1, R-2, R-3, R-4 and TH zoning districts. Maximum lot coverage for detached accessory buildings is 30 percent of the usable rear yard area, and maximum height is capped at 20 feet, limited to one story. A detached accessory building must sit at least 5 feet from the principal dwelling, measured eave to eave, and must clear the property lines by 3 feet at the rear and interior side, 20 feet at the front in residential zones (30 feet in agricultural zones), and 15 feet on a street side of a corner lot (20 feet if the corner lot is adjacent to a key lot).
5 feet of setback up to a maximum of 15 feet. Small, portable storage buildings under 6 feet tall that are not attached to a building, permanent foundation or pad get relief: they may sit closer than 5 feet to the principal dwelling but must still clear every property line by at least 3 feet. On interior lots in R-2 and R-3 zones abutting only one street, no detached accessory building other than a garage may occupy the front 50 percent of the lot. 070.
Violations & Fines
Violating Title 19's accessory building standards is a misdemeanor under Section 19.04.070, punishable per Chapter 1.12: infractions run $100 for a first offense, $200 for a second within a year and up to $500 for each later repeat, while a misdemeanor carries a fine up to $1,000, up to six months in jail, or both, under Section 1.12.010. Section 19.04.050 lets the City Attorney treat a noncomplying structure as a public nuisance and seek a court injunction requiring its removal or alteration.
Frequently Asked Questions
How big can a shed be in my Cupertino backyard?
How close to the property line can I build a shed?
Do small portable sheds get different setbacks?
Sources & Official References
Other rules in Cupertino
How Cupertino compares: Shed Permit Requirements by City·California rules heatmap·Compare Cupertino 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 Santa Clara County handle shed & carport rules.