Skip to main content
CityRuleLookup

Sunnyvale, CA Building Setbacks & Zoning: Setback Rules (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified August 2026

Key Facts

R-1 front yard minimum
15 ft. (20 ft. average)
R-1 side yard total
20% of lot width, min. 15 ft.
R-1 one side yard
6 ft. minimum
R-1 rear yard
20 ft.
R-MH mobile home district
no numeric yard requirement
Governing table
SMC Table 19.34.030

Summary

Sunnyvale sets minimum front, side and rear yard setbacks by zoning district in Table 19.34.030 of the zoning code. A standard R-1 single-family lot needs a 15-foot front yard, 6 feet on each side (20 feet combined) and a 20-foot rear yard, with side yards instead calculated as 20% of lot width where that exceeds the flat minimum.

§ 19.34.020. Conformance required. The minimum front yard, side yards, rear yard and distance between buildings of and on each lot in every zoning district shall conform with the distances specified in the table of required yards in this chapter unless increased, decreased or modified by special provisions. Yard distances, unless otherwise specified, are expressed in terms of lineal feet.

§ 19.34.030. Required yards. Yards shall be required as set forth in Table 19.34.030, except that all lots located within the DSP district shall conform to provisions set forth in Chapter 19.28. Table 19.34.030 Required Yards Zoning District / Front Yard Minimum / Front Yard Average / Side Yards Total / Side Yards One Side / Rear Yard R-1 / 15 / 20 / 20% of lot width but not less than 15 ft. / 6 / 20

Source: Sunnyvale Municipal Code Title 19View official code

Full Breakdown

030 unless a special provision in the chapter increases, decreases or modifies them, and yard distances are measured in lineal feet unless the table says otherwise. 030 sets the actual numbers. In the R-1 district, the front yard minimum is 15 feet with a 20-foot front yard average across adjoining lots, the total of both side yards must equal 20% of lot width but never less than 15 feet, one side alone must be at least 6 feet, and the rear yard is 20 feet.

7 use flat 12-foot combined side yards instead of the percentage formula. R-4 and R-5 multifamily districts require 20-foot fronts with no averaging cap, 20-foot combined side yards, 9 feet on one side, and 20-foot rears. Commercial districts C-1 through C-3 require a 70-foot front yard with no fixed side or rear minimum, while C-4 and the M-S/M-3 industrial districts drop the front yard to 20 or 25 feet. R-MH (mobile home) carries no numeric yard requirement at all. 130(18). 5 districts where the intersecting streets meet at 60 degrees or more. 56.

Violations & Fines

Building without meeting the applicable Table 19.34.030 setback requires either redesign of the plans before permit issuance or a variance from the Sunnyvale Planning Commission; the city's Building Safety Division and Building Inspection staff check setbacks against the recorded lot lines at plan check and again during the foundation/framing inspection before work can proceed. An encroachment built without the required variance is subject to code enforcement as an unpermitted or non-conforming structure and can be ordered corrected or removed, and it complicates plan approval for the rest of the project until resolved.

Frequently Asked Questions

What is the minimum front yard setback in an R-1 zone in Sunnyvale?
Table 19.34.030 sets a 15-foot minimum front yard in the R-1 district, with a required 20-foot average front yard depth across two or more adjoining lots under Section 19.34.040(a). Corner lots on streets meeting at 60 degrees or more can reduce the longer-frontage front yard to 9 feet.
How are side yard setbacks calculated in Sunnyvale's R-1 district?
The combined total of both side yards must equal 20% of the lot width but never less than 15 feet, and any single side yard must be at least 6 feet. Section 19.34.030 footnote 8 requires rounding the percentage figure to the nearest foot, and lot width is measured at the front setback line.
Do all Sunnyvale zoning districts have the same setback minimums?
No. Setbacks vary by district under Table 19.34.030: R-4 and R-5 require 20-foot fronts and 9-foot single side yards, C-1 through C-3 commercial districts require a 70-foot front yard with no fixed side or rear minimum, and the R-MH mobile home district has no numeric yard requirement at all.
Can Sunnyvale increase setbacks beyond the table for multistory buildings?
Yes. Section 19.34.030 footnote 4 and Section 19.34.080 allow additional setback requirements for buildings with multiple stories, and Section 19.34.050 separately requires added front setback for residential development above two stories or thirty feet in an R-4 or R-5 district.

Sources & Official References

Other rules in Sunnyvale

All Sunnyvale rules

California rules heatmap·Compare Sunnyvale to another location·View the California building setbacks & zoning overview

Get notified when Setback Rules in Sunnyvale, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Setback Rules in Nearby Cities

How other cities in Santa Clara County handle setback rules.

Santa Clara, CA
Some Restrictions
Mountain View, CA
Some Restrictions
San Jose, CA
Some Restrictions