Before You Build in Sunnyvale, CA: Permit & Rule Checklist (2026)
Everything you need to know before starting a home improvement project
Building a fence, installing a pool, or adding a shed? Each project has its own set of local permits and rules in Sunnyvale. This guide consolidates fence, pool, ADU, shed, fire pit, and landscaping regulations into one checklist so you know what to expect before you start.
Quick Permit Checklist
At-a-glance overview of permit categories in Sunnyvale. Click any card for details.
Fences & Walls
5 rules on file
Swimming Pools
5 rules on file
ADUs & Granny Flats
2 rules on file
Sheds & Outbuildings
3 rules on file
Fire Pits & Outdoor Structures
2 rules on file
Landscaping & Tree Removal
3 rules on file
Fences & Walls
Heavy RestrictionsHeight limits, materials, permits, and shared fence rules.
Retaining Walls
Some RestrictionsRetaining walls over 4 feet measured from the bottom of the footing require a Sunnyvale building permit with engineered plans, including drainage, soil pressure, and seismic analysis.
Pool Barriers
Heavy RestrictionsCalifornia Health and Safety Code 115920 and Sunnyvale code require pool barriers at least 60 inches tall with self-closing gates and at least two of seven safety features for residential swimming pools.
Height Limits
Some RestrictionsSunnyvale limits front yard fences to 3 feet, side and rear yard fences to 6 feet, and allows up to 8 feet with a minor fence permit for privacy and sound attenuation needs.
Permit Requirements
Some RestrictionsFences up to 6 feet in side and rear yards do not require a building permit in Sunnyvale, but fences over 7 feet, retaining walls over 4 feet, and pool barriers always need permits.
Neighbor Fence Rules
Some RestrictionsCalifornia Civil Code 841 (Good Neighbor Fence Act) requires adjoining property owners to share the cost of boundary fences equally absent written agreement, and 30-day written notice before construction.
Swimming Pools
Heavy RestrictionsPool permits, safety fencing, and drainage requirements.
Pool Permits
Some RestrictionsSunnyvale requires a building permit for any in-ground pool or spa, and for above-ground pools deeper than 18 inches, under the California Building Code as adopted by SMC Title 16.
Hot Tub Rules
Some RestrictionsHot tubs and spas in Sunnyvale require a building permit and must meet California Pool Safety Act rules, but a locking safety cover meeting ASTM F1346 satisfies barrier requirements.
Fencing Requirements
Heavy RestrictionsSunnyvale enforces the California Swimming Pool Safety Act (H and S Code 115920). Pools require enclosures at least 60 inches tall with self-closing, self-latching gates.
Safety Rules
Heavy RestrictionsSunnyvale pools must have anti-entrapment drain covers per VGB Act, approved circulation and chemical systems, and comply with California Pool Safety Act.
Above-Ground Pools
Some RestrictionsAbove-ground pools deeper than 18 inches require a Sunnyvale permit and must meet Pool Safety Act barriers. Pool walls at least 48 inches may serve as part of the barrier.
ADUs & Granny Flats
Few RestrictionsAccessory dwelling unit rules and garage conversion permits.
Garage Conversions
Few RestrictionsSunnyvale allows garage conversions to ADUs or JADUs under state law. Detached garage ADUs are ministerial. Replacement parking is no longer required under California AB 68 and updated ADU rules.
ADU Rules
Few RestrictionsSunnyvale allows ADUs and JADUs on single-family and multifamily lots under California Government Code 65852.2 plus AB 68, 881, and SB 13. AB 1033 now allows ADUs to be sold as separate condos.
Sheds & Outbuildings
Some RestrictionsShed permits, setback limits, and outbuilding size rules.
Tiny Homes
Some RestrictionsTiny homes on foundations qualify as ADUs in Sunnyvale under state law. Tiny homes on wheels are regulated as RVs and cannot be used as permanent dwellings outside of RV parks or approved JADU setups.
Carport Rules
Some RestrictionsCarports are permitted in Sunnyvale as accessory structures under Municipal Code Chapter 19.38. Residential carports must meet zoning setbacks, height limits, and building permit requirements when over 120 square feet.
Shed Rules
Few RestrictionsSunnyvale allows backyard sheds up to 120 square feet without a building permit under Municipal Code Chapter 19.38. Sheds must meet setbacks and cannot be used as living space or connected to utilities.
Fire Pits & Outdoor Structures
Heavy RestrictionsFire pit placement, outdoor burning restrictions, and permits.
Fire Pit Rules
Heavy RestrictionsSunnyvale allows residential recreational fire pits fueled by clean natural gas or propane. Wood-burning outdoor fires are heavily restricted under BAAQMD Regulation 6 Rule 3 and Sunnyvale Fire Code.
Outdoor Burning
Heavy RestrictionsOpen burning of yard waste, trash, and construction debris is prohibited in Sunnyvale. BAAQMD Regulation 5 bans agricultural and residential burning across the Bay Area including Santa Clara County.
Landscaping & Tree Removal
Heavy RestrictionsTree removal permits, heritage tree protections, and water rules.
Water Restrictions
Heavy RestrictionsSunnyvale follows Valley Water drought stage rules and enforces permanent outdoor watering limits. AB 1572 bans irrigating non-functional turf at commercial and HOA sites starting in 2027.
Tree Trimming
Heavy RestrictionsSunnyvale has a strong Heritage Tree Ordinance under Municipal Code Chapter 19.94 requiring permits to trim large trees. Routine pruning is allowed but heavy cuts on protected trees need city approval.
Tree Removal & Heritage Trees
Heavy RestrictionsRemoving any heritage tree in Sunnyvale requires a permit from the city arborist under Municipal Code Chapter 19.94. Unauthorized removal triggers fines up to 10000 dollars plus mandatory replacement.
General Permit Tips
When do you typically need a permit?
Most cities require permits for structural work, including fences over a certain height, pools, ADUs, and sheds above a size threshold. Even projects that seem minor can trigger permit requirements, so it is always best to check first.
How to apply for a building permit
Visit your local building department or their website. Most jurisdictions accept online applications. You will typically need a site plan, project description, and may need contractor information. Processing times vary from same-day for simple projects to several weeks for larger builds.
Common permit violations to avoid
Building without a permit, exceeding approved dimensions, and ignoring setback requirements are the most common violations. Penalties can include fines, required removal of the structure, and complications when selling your home.
Permit Guides for Nearby Cities
Looking for rules beyond permits? View all ordinances we track for Sunnyvale.