Skip to main content

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

Some Restrictions

Height limits, materials, permits, and shared fence rules.

Height Limits

Some Restrictions

Sunnyvale measures fence height from the highest adjoining grade in rear and side yards not on a street, and from the top of curb in front and reducible front yards, with by-right caps of 4 feet in front yards and 8 feet in side, rear, and reducible front yards.

Rear/side yard measurement: From highest adjoining gradeFront yard measurement: From top of curbFront yard by-right cap: 4 ft.Side/rear by-right cap: 8 ft.

Fence Permit Requirements

Some Restrictions

Sunnyvale requires a miscellaneous plan permit (MPP) or use permit (UP) for taller fences depending on yard location and height, under SMC Table 19.48.025. Front-yard fences over 4 feet need an MPP; fences over 6 feet in most yards need a UP.

Front yard by-right height: 4 ft. or lessFront yard 4-6 ft.: Requires MPPFront yard over 6 ft.: Requires use permitSide/rear yard by-right height: Up to 8 ft.

Neighbor Fence Rules

Some Restrictions

California 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.

Governing law: CA Civil Code 841Default cost split: 50 / 50Written notice: 30 days minimumDispute forum: Small claims court

Swimming Pools

Some Restrictions

Pool permits, safety fencing, and drainage requirements.

Fencing & Safety Requirements

Some Restrictions

California 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.

Governing law: H and S Code 115920Fence height: 60 inches minimumGate type: Self-closing self-latchingSecond layer required: 2 of 7 features

Pool Permits

Some Restrictions

Sunnyvale 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.

Building Permit: Required for all in-groundAbove-Ground Trigger: Over 18 inches deepCode: CBC via SMC Title 16Inspections: Multiple, final before use

ADUs & Granny Flats

Significant Restrictions

Accessory dwelling unit rules and garage conversion permits.

Garage Conversions

Significant Restrictions

Converting a garage or carport in Sunnyvale to a non-parking use needs a miscellaneous plan permit and, outside the ADU exception, requires replacing every lost space with a new covered space that meets current standards under Section 19.46.050(e).

Permit required: Miscellaneous plan permitReplacement requirement: One covered space per space convertedADU exception: No replacement if converted to an ADUMinimum covered spaces (SFD/duplex): 2 of 4 total, not tandem

ADU Rules

Some Restrictions

Sunnyvale allows accessory dwelling units on residential lots subject to detailed numeric standards in Section 19.79.040: a 150 square foot minimum, height caps of 16 to 18 feet detached or 25 feet attached, a two-story maximum, and zero required off-street parking.

Minimum ADU size: 150 square feetDetached height cap: 16 ft (18 ft near transit)Attached height cap: 25 ft or main building height, lowerStory limit: 2 stories maximum

Sheds & Outbuildings

Some Restrictions

Shed permits, setback limits, and outbuilding size rules.

Shed & Carport Rules

Some Restrictions

Accessory structures in Sunnyvale's single-family and duplex zoning districts cap out at 450 square feet each, with a hard citywide ceiling of 800 square feet total per lot, under Municipal Code Section 19.40.020. Structures over 450 square feet need a use permit, while smaller sheds and detached spaces follow a sliding scale of no-permit, minor-permit or use-permit review keyed to height and yard location.

Max size per structure: 450 sq ft without a use permitAbsolute lot cap: 800 sq ft total, all structuresMax height: 15 feet without a use permitZero setback option: Under 120 sq ft, 8 ft tall

Fire Pits & Outdoor Structures

Heavy Restrictions

Fire pit placement, outdoor burning restrictions, and permits.

Outdoor Burning

Heavy Restrictions

Sunnyvale makes it unlawful for anyone to burn discarded materials anywhere in the city. Municipal Code Section 8.16.070, part of the Solid Waste, Recyclable Materials and Organic Materials chapter, bans burning trash, recyclables, and organic material that would otherwise go into collection service, rather than allowing residents to dispose of waste with a backyard burn pile or barrel fire.

Rule: No burning of discarded materials citywideCovers: Trash, recyclables, and organic material for collectionRelated ban: Burning recyclables without owner consent, Sec. 8.16.130Classification: Infraction, not misdemeanor (Title 8)

Landscaping & Tree Removal

Significant Restrictions

Tree removal permits, heritage tree protections, and water rules.

Water Restrictions

Some Restrictions

Sunnyvale bans daytime lawn watering and runoff under its year-round Water Conservation Restrictions ordinance. Municipal Code Section 12.34.020 prohibits irrigating outdoor landscaping with potable water between 9 a.m. and 6 p.m. during daylight saving time, unless using a hand-held hose with a shut-off nozzle, and caps automatic sprinkler runs at 15 minutes per station per day. The Director of Environmental Services enforces the rule citywide.

Watering hours banned: 9 a.m.-6 p.m. daylight saving time, potable waterSprinkler run limit: 15 minutes per station per day, standard systemsGoverning chapter: SMC Chapter 12.34, Water Conservation RestrictionsEnforcement: Director of Environmental Services

Tree Removal & Heritage Trees

Significant Restrictions

Sunnyvale bans removing or damaging any 'protected tree,' meaning a tree 38 inches or more in trunk circumference measured 4.5 feet above grade, without a protected tree removal permit from the department of community development. Applications must be filed at least 10 working days before the planned removal (Muni Code Sec. 19.94.040, 19.94.050).

Protected tree size: 38 in circumference @ 4.5 ft (single-trunk)Multi-trunk threshold: 113 in combined circumferenceFiling deadline: 10 working days before removalApproval body: Director, no hearing at staff level

Tree Trimming

Some Restrictions

Sunnyvale 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.

Heritage size: 38-inch circumference single trunkCode reference: SMC Chapter 19.94Permit threshold: Over 25 percent canopyStreet trees: City maintained, no resident trimming

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.