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

Citywide placement rules
| Shed: Side setback | 0 ft if 8 ft tall or less and 120 sq ft or less; otherwise the zoning side setback |
|---|---|
| Shed: Rear setback | 0 ft if 8 ft tall or less and 120 sq ft or less; otherwise 10 ft |
| Shed: Front yard | Not allowed |
| Garage: Front setback | 20 ft |
| Garage: Rear setback | 10 ft |
| Garage: Side setback | Zoning district side setback |
| Deck: Rear setback (18 in or taller) | 10 ft |
| ADU: Side and rear setbacks | 4 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 yard | 4 ft without a permit; 3.5 ft in vision triangles |
| Fence: Side and rear | 8 ft without a planning permit |
Sources
- 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…
- 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 …
- 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...
- 44 CFR 60.3, floodplain management criteria. Checked 2026-10-19
Require permits for all proposed construction or other development in the community...
- 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…
- 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…
- 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)).
- 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.…