Skip to main content
CityRuleLookup

Moving to Sunnyvale, CA?

Here are the local rules you need to know before you unpack.

Every city has its own set of local ordinances that go beyond state and federal law. From when you can mow your lawn to whether you can park your RV in the driveway, these rules affect daily life in ways most people do not expect. This guide covers the key ordinances in Sunnyvale across 28 categories and 125 specific rules we track.

26 Permissive67 Moderate32 Strict

🔊 Noise Ordinances

Noise rules affect everything from weekend parties to lawn care schedules. Quiet hours, construction restrictions, and barking dog limits vary widely between cities.

Aircraft Noise

Few Restrictions

Aircraft noise from Moffett Federal Airfield, NASA Ames, and San Jose International is preempted by federal FAA rules. Sunnyvale cannot regulate overflight noise but offers a local complaint reporting channel.

Federal preemption: FAA controls flight noiseNearest airfields: Moffett, SJC, Palo Alto

Industrial Noise

Some Restrictions

Industrial facilities in Sunnyvale must not exceed 70 dBA at the property line during the day or 65 dBA at night under Chapter 19.48, with stricter limits when adjacent to residential zones.

Industrial daytime limit: 70 dBAIndustrial nighttime limit: 65 dBA

Outdoor Music

Some Restrictions

Outdoor live or amplified music at Sunnyvale restaurants, bars, and event spaces requires a conditional use permit or special event permit, with cutoffs typically at 10 PM weeknights and 11 PM weekends.

Permit required: CUP or special event permitWeeknight cutoff: 10 PM

Leaf Blower Rules

Heavy Restrictions

Sunnyvale was one of the earliest California cities to ban gas-powered leaf blowers, ahead of statewide AB 1346. Only electric or battery blowers are allowed and must comply with 65 dBA residential noise limits.

Gas blowers: Banned citywideElectric blower dBA limit: 65 dBA at 50 feet

Decibel Limits

Some Restrictions

Sunnyvale Chapter 19.48 sets exterior noise limits of 60 dBA day and 50 dBA night for residential, 65 dBA for commercial, and 70 dBA for industrial, measured at the receiving property line.

Residential day/night: 60 / 50 dBACommercial day/night: 65 / 60 dBA

Amplified Music & Events

Some Restrictions

Amplified music audible beyond a property line after 10 PM violates Sunnyvale Municipal Code Chapter 19.48. Outdoor entertainment at commercial venues requires a special event permit from the city.

Weeknight cutoff: 10 PMWeekend cutoff: 10 PM residential / 11 PM permitted

Quiet Hours

Some Restrictions

Sunnyvale enforces nighttime quiet hours from 10 PM to 7 AM (8 AM on weekends and holidays) under Municipal Code Chapter 19.48, with stricter decibel limits for residential zones during these times.

Weeknight quiet hours: 10 PM to 7 AMWeekend quiet hours: 10 PM to 8 AM

Construction Hours

Some Restrictions

Sunnyvale permits construction noise Monday through Friday from 7 AM to 6 PM and Saturday 8 AM to 5 PM. No construction on Sundays or major holidays without a special permit from the Building Division.

Weekday hours: 7 AM to 6 PMSaturday hours: 8 AM to 5 PM

Barking Dogs

Some Restrictions

Sunnyvale classifies a dog that barks continuously for more than 20 minutes, or intermittently for over 40 minutes within a 4-hour span, as a public nuisance under the Municipal Code animal control provisions.

Continuous barking threshold: 20 minutesIntermittent threshold: 40 minutes in 4 hours

🏠 Short-Term Rentals

If you plan to rent out your home on Airbnb or VRBO - even occasionally - you need to know the local STR rules before listing.

Night Caps

Heavy Restrictions

Unhosted nights are effectively zero in Sunnyvale because only hosted STRs are allowed. Hosts must be on-site during the entire guest stay under SMC 19.76.

Unhosted Nights: 0 per yearHost Presence: Required every night

Registration Rules

Heavy Restrictions

Sunnyvale STR registration requires proof of primary residency, HOA consent if applicable, TOT account, insurance, and a 24-hour local contact. Approval numbers must appear in all ads.

Apply Through: One-Stop Permit CenterLocal Contact: 24-hour, 1-hour response

Insurance Requirements

Some Restrictions

Sunnyvale STR operators must carry liability insurance of at least 500000 dollars covering the rental use, or operate exclusively on a platform that provides equivalent host protection coverage.

Minimum Limit: 500000 dollarsScope: STR operations

Occupancy Limits

Heavy Restrictions

Sunnyvale STR occupancy is capped at 2 guests per bedroom plus 2 additional, not to exceed the building code maximum. Commercial events and parties are prohibited.

Formula: 2 per bedroom plus 23-Bedroom Cap: 8 overnight guests

Permit Requirements

Heavy Restrictions

Sunnyvale requires city approval before any STR operates or advertises under SMC Chapter 19.76. Only hosted rentals where the owner lives on-site are allowed.

Type Allowed: Hosted onlyPre-Approval: Mandatory

Noise Rules

Heavy Restrictions

Sunnyvale STR hosts must enforce the city noise ordinance (SMC 19.42) with guests. Quiet hours run 10 PM to 7 AM with 50 dBA nighttime limit at property lines.

Quiet Hours: 10 PM - 7 AMNight Limit: 50 dBA

Taxes & Fees

Heavy Restrictions

Sunnyvale imposes a 10.5 percent Transient Occupancy Tax on all STR stays under 30 days. Hosts must register, collect TOT from guests, and remit monthly or quarterly.

TOT Rate: 10.5 percentThreshold: Stays under 30 days

Parking Rules

Some Restrictions

Sunnyvale STRs must provide at least one off-street parking space per rented bedroom and cannot use RV parking or overflow street parking for guests under SMC 19.76.

Off-Street Spaces: 1 per rented bedroomRVs and Trailers: Prohibited

🔥 Fire Regulations

Fire pit rules, fireworks restrictions, and brush clearance requirements are especially important if you are coming from a state with different fire risk profiles.

Smoke Detectors

Heavy Restrictions

Sunnyvale enforces the California Building Code and State Health and Safety Code requiring working smoke alarms in every bedroom, hallway, and level of a home. Detectors must be hardwired in new construction.

Bedroom alarm: Required in eachHallway alarm: Required outside sleeping

Brush Clearance

Some Restrictions

Sunnyvale requires property owners to maintain defensible space and remove dead vegetation as a fire hazard. The city conducts annual weed abatement inspections under Sunnyvale Municipal Code Chapter 9.48.

Code reference: SMC Chapter 9.48VHFHSZ status: None, valley floor

Backyard Fires

Some Restrictions

Small recreational fires in approved fire pits or chimineas are allowed in Sunnyvale backyards using clean fuel. Open ground fires and debris burning are prohibited under the Fire Code and BAAQMD rules.

Appliance required: Fire pit or chimineaClearance: 10 feet from combustibles

Wildfire Zones

Few Restrictions

Sunnyvale is not located in any Cal Fire Very High Fire Hazard Severity Zone. The city sits on the flat Santa Clara Valley floor without wildland-urban interface areas requiring special fire hardening.

VHFHSZ designation: NoneState Responsibility Area: No

Fire Pit Rules

Heavy Restrictions

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

Preferred fuel: Natural gas or propaneClearance from structures: 10 feet minimum

Outdoor Burning

Heavy Restrictions

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

Yard waste burning: ProhibitedTrash burning: Prohibited

Fireworks

Heavy Restrictions

All fireworks, including Safe and Sane, are illegal to possess, sell, or discharge in Sunnyvale. Santa Clara County has a countywide ban and Sunnyvale enforces strict fines starting at 1000 dollars.

All fireworks: Illegal including Safe and SaneFirst offense fine: 1000 dollars minimum

🚗 Parking Rules

Parking rules catch more new residents off guard than almost any other ordinance. RV storage, overnight parking bans, and driveway regulations vary significantly.

Abandoned Vehicles

Some Restrictions

Sunnyvale enforces abandoned vehicle removal through SMC Title 10 and CVC 22651(k) and 22669. Vehicles left over 72 hours on public streets or inoperable on private property may be towed.

Public street rule: 72 hours (CVC 22651(k))Private property: Must be enclosed if inoperable

Overnight Parking

Some Restrictions

Sunnyvale allows overnight street parking on most residential streets subject to the 72-hour rule. Permit Parking Districts require a valid permit overnight.

General residential: Overnight allowedPermit districts: Permit required overnight

EV Charging

Few Restrictions

Sunnyvale supports residential EV charging through streamlined permitting under AB 1236 and new construction EV-ready requirements in CALGreen. Commercial EV stalls must meet ADA and signage rules.

New construction: CALGreen EV-ready requiredResidential permits: Streamlined per AB 1236

RV & Boat Parking

Heavy Restrictions

RVs, trailers, and boats over 6 feet tall or 22 feet long are restricted on Sunnyvale streets under SMC Title 10. Short-term loading is allowed with limits; long-term storage requires off-street parking.

Street RV limit: Typically 72 hours maxShort-term permit: Available from DPS for loading

Street Parking Limits

Some Restrictions

Street parking in Sunnyvale is governed by SMC Title 10 and California Vehicle Code. The 72-hour rule (CVC 22651(k)) applies, and posted permit zones restrict certain neighborhoods.

72-hour limit: CVC 22651(k); same spotHydrant clearance: 15 feet required

Commercial Vehicle Restrictions

Heavy Restrictions

Commercial vehicles over 10,000 pounds GVWR generally cannot park overnight on Sunnyvale residential streets under SMC Title 10, with exceptions for active loading.

Weight threshold: 10,000 lbs GVWRActive loading: Allowed, typically under a few hours

Driveway Rules

Some Restrictions

Sunnyvale driveway construction and use are governed by SMC Title 19 zoning and Title 16 encroachment rules. Blocking sidewalks or the public right-of-way is prohibited.

Apron permit: Encroachment permit requiredFront yard paving: Max 50% under Title 19

🧱 Fence Regulations

Planning to put up a fence? Height limits, material restrictions, and permit requirements differ by city - and sometimes by which side of the property the fence sits on.

Retaining Walls

Some Restrictions

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

Permit trigger: Over 4 feet or surchargedPlans: Engineered, CA licensed

Fence Requirements

Some Restrictions

Sunnyvale fences must be structurally sound, set back from sight-distance triangles at corners, and for commercial uses must meet screening and design review requirements in the zoning code.

Structural standard: Sound, no lean over 10 degreesCorner triangle: 3 ft max in 25 ft radius

Pool Barriers

Heavy 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 minimum

Material Restrictions

Some Restrictions

Barbed wire, razor wire, and electrified fences are prohibited on Sunnyvale residential properties. Wood, vinyl, wrought iron, masonry, and composite are all permitted residential fence materials.

Banned residential: Barbed, razor, electrifiedAllowed wood types: Redwood, cedar, PT

Height Limits

Some Restrictions

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

Front yard: 3 feet solid / 4 openSide and rear: 6 feet

Permit Requirements

Some Restrictions

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

No permit up to: 7 feet wood / vinylPermit required over: 7 feet

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 / 50

🐔 Animal Ordinances

Pet owners and aspiring chicken keepers should check local animal ordinances before signing a lease or closing on a home.

Livestock

Heavy Restrictions

Goats, pigs, sheep, cattle, and horses are not permitted in Sunnyvale residential zones. Only small animals like hens, rabbits, and pets are allowed, matching the urban character of Silicon Valley.

Goats / pigs / cattle: Not allowedSmall animals allowed: Hens, rabbits, pets

Wildlife Feeding

Some Restrictions

Intentionally feeding coyotes, raccoons, skunks, deer, feral cats, or non-songbird wildlife is prohibited in Sunnyvale as a public nuisance due to the risk of human-wildlife conflict in Baylands-adjacent neighborhoods.

Prohibited feeding: Coyotes, deer, raccoons, turkeysFeral cats: TNR programs only

Dog Leash Laws

Some Restrictions

Dogs must be on a leash no longer than 6 feet in all public Sunnyvale areas except designated off-leash dog parks like Las Palmas Dog Park and Fair Oaks Park off-leash area.

Max leash length: 6 feetOff-leash parks: Las Palmas, Fair Oaks

Chickens & Livestock

Some Restrictions

Sunnyvale allows up to 6 hens on lots under 10,000 sq ft with no roosters. Coops must be set back at least 25 feet from neighboring dwellings under the Municipal Code animal provisions.

Hen limit: 6 on standard lotsRoosters: Prohibited

Breed Restrictions

Few Restrictions

Sunnyvale does not impose breed-specific bans on pit bulls, Rottweilers, or other dogs. California Food and Agricultural Code 31683 preempts breed-specific licensing bans by local agencies.

City breed bans: NoneState preemption: CA F and A Code 31683

Exotic Pets

Heavy Restrictions

Sunnyvale follows California Fish and Wildlife restricted species rules. Native wildlife, large constrictors, primates, and big cats are banned. Ferrets remain illegal statewide in California.

Primary authority: CA Fish and WildlifeFerrets: Illegal statewide

Beekeeping

Some Restrictions

Sunnyvale allows backyard beekeeping with setback requirements from property lines and flyway barriers. Hives must be registered with the Santa Clara County Agricultural Commissioner under state apiary law.

Property line setback: 10 feetSetback from dwellings: 25 feet

🌿 Landscaping Rules

From grass height limits to tree removal permits, landscaping rules can surprise new homeowners, especially in drought-prone areas with water restrictions.

Rainwater Harvesting

Few Restrictions

Rainwater collection is legal in Sunnyvale under California AB 1750. Rain barrels under 50 gallons are exempt from permits. Larger cistern systems require plumbing permits for potable or irrigation use.

State law: AB 1750 Rainwater Capture ActSmall barrels: Under 50 gallons no permit

Artificial Turf

Few Restrictions

Artificial turf is allowed in Sunnyvale residential yards without a special permit. California AB 1572 will ban potable irrigation of non-functional turf at commercial sites starting 2027, accelerating turf conversions.

Permit for homes: Not requiredHOA ban: Not allowed under CC 4735

Weed Ordinances

Some Restrictions

Sunnyvale Municipal Code Chapter 9.48 declares overgrown weeds a public nuisance. Property owners must abate weeds that create fire hazards, harbor pests, or obstruct public ways within the stated deadline.

Code reference: SMC Chapter 9.48Notice period: 10 to 30 days

Native Plants

Few Restrictions

Sunnyvale encourages native and drought-tolerant landscaping and complies with the California Model Water Efficient Landscape Ordinance. No permit is required for native plantings in residential yards.

Permit needed: No for residential native plantingMWELO applies: Over 500 square feet

Water Restrictions

Heavy Restrictions

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

Hose runoff: ProhibitedWatering hours: Before 9 am or after 6 pm

Grass Height Limits

Some Restrictions

Sunnyvale requires property owners to maintain lawns and weeds under roughly six inches as a nuisance and fire prevention measure under Municipal Code Chapter 9.48 weed abatement provisions.

Enforcement trigger: Weeds over 6 inchesCode reference: SMC Chapter 9.48

Tree Trimming

Heavy 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.94

Tree Removal & Heritage Trees

Heavy Restrictions

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

Permit required: All heritage treesTrigger size: 38-inch circumference

💼 Home Business

Working from home is common, but running a business from home often requires permits and must comply with zoning restrictions on customer traffic and signage.

Home Daycare

Few Restrictions

Sunnyvale follows California state law allowing small family daycare (up to 8 children) by right in any residential zone. Large family daycare (9-14) is permitted with a use permit under SMC Chapter 19.70.

Small Daycare: Up to 8 children by rightLarge Daycare: 9-14 with use permit

Signage Rules

Heavy Restrictions

Exterior signs for home-based businesses are prohibited in Sunnyvale residential zones. The home occupation must have no outward indication of non-residential use under Municipal Code Chapter 19.68.

Exterior signs: ProhibitedWindow displays: Prohibited

Home Occupation Permits

Some Restrictions

Sunnyvale permits home occupations as accessory to residential use under SMC 19.70.040. No walk-in customers, no outside employees, and no more than 25 percent of dwelling may be used for the business.

Floor Area Cap: 25 percent or 400 sq ftEmployees: Residents only

Cottage Food Operations

Some Restrictions

California AB 1616 and AB 1240 allow home-based Cottage Food Operations in Sunnyvale. Class A permits direct sales up to 75000 dollars. Class B allows indirect sales through retail with additional inspections.

State law: AB 1616 and AB 1240Class A sales cap: 75000 dollars per year

Zoning Restrictions

Some Restrictions

Sunnyvale allows home occupations in residential zones under Municipal Code Chapter 19.68 with a home occupation permit. The business must be secondary to residential use and cause no neighborhood impact.

Code reference: SMC Chapter 19.68Permit required: Home occupation permit and business license

Customer Traffic Restrictions

Some Restrictions

Sunnyvale home occupations are limited to minimal customer visits. Frequent client traffic, deliveries beyond residential norms, or any activity that disturbs neighbors is prohibited under Municipal Code Chapter 19.68.

Traffic standard: No more than residential normTypical allowance: A few clients per day by appointment

🏊 Swimming Pools & Spas

Pool ownership comes with safety fencing requirements, permit obligations, and drainage rules that vary by jurisdiction.

🏗️ Accessory Structures

Thinking about an ADU, shed, or garage conversion? Local rules on accessory structures have changed rapidly in recent years, especially in California.

Tiny Homes

Some Restrictions

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

Foundation tiny home: Treated as ADUMinimum size: 150 square feet

Carport Rules

Some Restrictions

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

Code reference: SMC Chapter 19.38Side setback R-1: 5 feet typical

ADU Owner Occupancy

Few Restrictions

Under SMC Title 19 and California Government Code 65852.2(a)(8), Sunnyvale does NOT require owner-occupancy for standard ADUs. Owner-occupancy is required only for Junior ADUs (JADUs) under California Government Code 65852.22, with a deed restriction recorded against the property.

Standard ADU: No owner-occupancy requiredJADU Rule: Owner must live in primary OR JADU

ADU Impact Fees

Few Restrictions

Under California Government Code 65852.2(f)(3), Sunnyvale ADUs under 750 square feet are exempt from all city impact fees. ADUs 750 square feet or larger pay impact fees proportional to the primary dwelling. Sunnyvale's own permit and plan-check fees are moderate by Silicon Valley standards.

Authority: Gov. Code 65852.2(f)(3)Sub-750 sq ft ADU: Exempt from all city impact fees

ADU Rental Restrictions

Some Restrictions

Sunnyvale prohibits short-term rentals of ADUs - stays must be 30 days or longer under California Government Code 65852.2(a)(6) and SMC Title 19. Long-term ADU rentals are not subject to local rent control (Sunnyvale has no rent stabilization ordinance) but are subject to statewide AB 1482 just-cause and rent-cap protections.

Minimum Stay: 30 days (Gov. Code 65852.2(a)(6))Short-Term Rental: Not allowed for ADUs

ADU Permits

Few Restrictions

Sunnyvale processes ADU permits ministerially under Sunnyvale Municipal Code Title 19 (Zoning) and California Government Code 65852.2. Sunnyvale was one of the earliest California cities to adopt by-right ADU regulations (2017) and consistently rates as one of the most permissive Silicon Valley jurisdictions. State law requires action within 60 days of a complete application.

Code Section: SMC Title 19 (Zoning)Review Type: Ministerial (no hearing)

Shed Rules

Few Restrictions

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

Permit-free size: Up to 120 square feetSide setback: 3 feet typical

Garage Conversions

Few Restrictions

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

Ministerial approval: Yes under state lawReplacement parking: Not required

ADU Rules

Few Restrictions

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

State law: Gov Code 65852.2 plus AB 68, 881, SB 13Max detached ADU: 1200 square feet

🍖 Outdoor Cooking

🎄 Holiday Decorations

🌍 Environmental Rules

🌱 Cannabis Regulations

☀️ Solar Energy

🪧 Sign Regulations

🏚️ Property Maintenance

💡 Outdoor Lighting

🔑 Rental Property Rules

🗑️ Trash & Recycling

🚁 Drone Rules

🍔 Food Trucks & Mobile Vendors

🚪 Soliciting & Door-to-Door

🌙 Curfew Laws

📐 Building Setbacks & Zoning

🏷️ Garage & Yard Sales

🏘️ HOA Rules

🔧 Building Safety

Overall: What to Expect in Sunnyvale

Sunnyvale has 125 ordinances on file across 28 categories. Of these, 26 are rated permissive, 67 moderate, and 32 strict. This gives you a general sense of how tightly regulated daily life is in Sunnyvale compared to other cities.

Rules can change, and enforcement varies. Always verify specific requirements with the city directly before making major decisions like building a fence, listing on Airbnb, or starting a home business.

Also Moving Nearby?