Skip to content
SetbackIQ

Setback requirements in Sunnyvale, CA

We have not verified Sunnyvale's accessory-structure setback tables yet.

A person last checked these rules on November 3, 2026. This is guidance only, so confirm with Sunnyvale before you build.

Find your district

What are you building?
Aerial close-up of one Bethesda lot with its setback zones shaded and about 1,760 square feet of buildable area for a shed highlighted60 ft from front lineSide and rear 5 ftBuildable area~1,760 sq ft
Example: where a shed can go on a real R-60 lot in Bethesda, Maryland. Your lot gets its own rules.

Citywide placement rules

Shed: Side setback0 ft if 8 ft tall or less and 120 sq ft or less; otherwise the zoning side setback
Shed: Rear setback0 ft if 8 ft tall or less and 120 sq ft or less; otherwise 10 ft
Shed: Front yardNot allowed
Garage: Front setback20 ft
Garage: Rear setback10 ft
Garage: Side setbackZoning district side setback
Deck: Rear setback (18 in or taller)10 ft
ADU: Side and rear setbacks4 ft
ADU: Side setback (max a city can require)4 ftNo setback at all for an ADU inside an existing structure or rebuilt in the same footprint.
ADU: Rear setback (max a city can require)4 ft
Fence: Front yard4 ft without a permit; 3.5 ft in vision triangles
Fence: Side and rear8 ft without a planning permit

Sources

  1. City of Sunnyvale, Work Not Requiring a Building Permit (rev. 1/2026). Checked 2026-11-03
    Building permits shall be obtained from the City's Building Safety Division before erection, construction, reconstruction, installation, moving, or alteration of any building or structure. However, the following projects do not require building permits... 2…
  2. City of Sunnyvale, Accessory Structures (Residential) handout (rev. 2/2025). Checked 2026-11-03
    Permit requirements for accessory structures 450 square feet or less are listed below. Any accessory structure greater than 450 square feet requires a Use Permit... Detached Habitable Spaces, Open Outdoor Equipment, and Utility Buildings 8 ft. tall or less …
  3. 44 CFR 59.1, definition of development (NFIP). Checked 2026-10-19
    Development means any man-made change to improved or unimproved real estate, including but not limited to buildings or other structures...
  4. 44 CFR 60.3, floodplain management criteria. Checked 2026-10-19
    Require permits for all proposed construction or other development in the community...
  5. 2024 IRC R105.2, Work exempt from permit (text published by the City of Benson, AZ). Checked 2026-10-19
    One-story detached accessory structures, provided that the floor area does not exceed 200 square feet. Fences not over 7 feet high. Decks not exceeding 200 square feet in area, that are not more than 30 inches above grade at any point, are not attached to a…
  6. City of Sunnyvale, Interested in Building an Accessory Dwelling Unit? (SMC Chapter 19.79). Checked 2026-11-03
    New Construction Conversion JADUs Minimum Area 150 s.f. 150 s.f. 150 s.f. Maximum Area 1,000 s.f. (for SFH) No max. 500 s.f... Streamlined Non-Streamlined Required Permits Building Permit Ministerial MPP (Miscellaneous Planning Permit) and Building Permit S…
  7. HCD Accessory Dwelling Unit Handbook (March 2026). Checked 2026-10-19
    A setback of no more than four feet from the side and rear lot lines shall be required for an attached or detached ADU (Gov. Code, 66314(d)(7)).
  8. City of Sunnyvale, Residential Fences handout (rev. 1/2023). Checked 2026-11-03
    Fences within Front Yards (between face of building and street) Fence Height Review Process Up to 4 feet No permit required. Fence may not exceed 3.5 ft. in any vision triangles unless it is an "open fence." 4+ to 6 feet MPP Over 6 feet Use Permit required.…