Skip to content
SetbackIQ

Do you need a permit for a shed in Sunnyvale, CA?

It depends on the details of your project.

A one-story shed up to 120 sq ft with no utilities needs no building permit in Sunnyvale.

A shed 8 ft tall or less needs no planning permit; 8 to 15 ft needs a Miscellaneous Plan Permit with notice.

A shed up to 120 sq ft and 8 ft tall can sit on the side or rear lot line; larger ones need the zoning side setback and 10 ft from the rear.

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

Check your exact lot

Your zoning district sets the setbacks, and a flood zone can change the permit answer. Enter your address to see both.

What are you building?

The answer is free. If you need to file, the $19 permit packet adds a site plan with your shed drawn on your lot, an application worksheet and a permit-desk checklist. See a sample packet

Permits a shed can need in Sunnyvale

PermitWhen it applies
Building permitSunnyvale exempts only one-story detached sheds up to 120 sq ft with no utilities.
Miscellaneous Plan Permit (with notice)Sunnyvale requires a Miscellaneous Plan Permit with notice for utility buildings over 8 ft tall, and a Use Permit for any accessory structure over 450 sq ft.
Floodplain development permitIf the lot is in a FEMA special flood hazard area, communities in the flood insurance program must permit all development there, sheds included.
Electrical permitRunning power to the shed needs an electrical permit even when the shed itself is exempt.Medium confidence

Limits that apply citywide

Side setback0 ft if 8 ft tall or less and 120 sq ft or less; otherwise the zoning side setback
Rear setback0 ft if 8 ft tall or less and 120 sq ft or less; otherwise 10 ft
Front yardNot allowed
Height15 ft
Total size800 sq ft for all accessory structures; over 450 sq ft needs a Use Permit
Fire ratingOne-hour wall under 5 ft from the line for sheds over 120 sq ft

Draw your shed on your Sunnyvale lot

PlanIQ finds your parcel, lets you place the shed on it, and checks the placement against the Sunnyvale limits above (side setback 0 ft; rear setback 10 ft; height 15 ft). Draw my lot

Local details

  • Call 811 at least a few days before you dig footings or post holes. Utility locating is free.
  • HOA covenants and deed restrictions can be stricter than city rules. Check yours before you build.

How to apply

Common questions

When does a shed need a building permit in Sunnyvale?
Sunnyvale exempts only one-story detached sheds up to 120 sq ft with no utilities. A one-story shed of 120 sq ft or less with no utilities is exempt from a building permit.
Do I also need a zoning permit for a shed in Sunnyvale?
Sunnyvale requires a Miscellaneous Plan Permit with notice for utility buildings over 8 ft tall, and a Use Permit for any accessory structure over 450 sq ft.
Where do I apply for a shed permit in Sunnyvale?
Apply through Sunnyvale, Work Not Requiring a Building Permit, or call 408-730-7444.

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…