Building setbacks explained
A setback is the minimum distance zoning requires between a property line and a building. Setbacks decide where new work can go on a lot, and they're the first thing a reviewer checks on a site plan. Here's how they work, how they're measured, what can reach into them, and how to look up and show yours.
Front, side, street side and rear
Most residential zones set four kinds of setback:
- Front, from the property line along the street. In San Diego's code, the front property line is the one between the lot and the street.
- Street side, on a corner lot, from the side property line along the second street.
- Side (interior side), from the side lines shared with neighbors.
- Rear, from the line opposite and farthest from the front.
Corner and odd lots. Which line is the front isn't always obvious, and the answer comes from your city's code, not from where the door faces. San Diego treats the narrower street frontage of a corner lot as the front, and Morgan Hill the shortest side next to a public street. San Diego County lets either street side be the front when both streets are public, and treats a through lot (streets at both ends) as having two front yards. Longmont, Colorado, applies its front setback along both streets of a corner lot. San Diego treats a line along an alley like a rear or interior side line.
How setbacks are measured
- From the property line, not the curb, sidewalk or fence. Bellevue, Washington, measures from the inside edge of the right-of-way and warns not to assume the line is at the sidewalk. Longmont measures from property lines, not easement lines.
- At a right angle to the line. San Diego measures inward from and perpendicular to the nearest property line.
- To the building's wall. San Diego measures to the outer edge of the building frame, and handles eaves and other projections with separate rules (below).
Get the property lines right first; our guide to finding your property lines explains where the real dimensions come from.
Example setbacks
Numbers vary by city, by zone, and often by lot size. A few single-family examples:
| Where and zone | Front | Side | Street side | Rear |
|---|---|---|---|---|
| Los Angeles, R1 | 20% of lot depth, up to 20 ft, but not less than the block's prevailing setback | 5 ft (10% of width, at least 3 ft, on lots under 50 ft wide) | See code | 15 ft |
| LA County, R-1 | 20 ft | 5 ft | See code | 15 ft |
| San Diego, RS-1-7 (5,000 sq ft lots) | 15 ft | 4 ft | 5 ft | 13 ft |
| San Diego, RS-1-5 (8,000 sq ft lots) | 20 ft | 5 ft | 6 ft | 20 ft |
| San Diego, RS-1-2 (20,000 sq ft lots) | 25 ft | 8 ft | 8 ft | 25 ft |
Los Angeles also adds 1 foot to each R1 side yard for every 10 feet of building height above 18 feet. Other structures often have their own numbers:
- ADUs in California: state law caps side and rear setbacks at 4 feet for an attached or detached ADU, and requires none for an ADU converted from existing space (HCD's ADU Handbook). See our ADU site plan guide.
- Pools: San Diego County requires pools and pool equipment to be at least 3 feet from interior side and rear lines.
- Accessory buildings: Longmont asks for 5 feet from all property lines, behind the front of the house. Our shed, patio cover and deck guides have more examples.
What can project into a setback
Codes let some parts of a building reach into the required yard. San Diego's rules for its residential zones are a detailed example:
| Item | How far it can project |
|---|---|
| Eaves and cornices | Up to 6 ft or half the yard, whichever is less, staying at least 2 ft 6 in from the property line |
| Bay windows | Up to 4 ft or half the yard, at least 3 ft from the line, no more than 8 ft wide |
| Fireplaces | Up to 2 ft 6 in, staying at least 2 ft 6 in from the line |
| A/C units, meters and pool equipment | In side and rear yards, at least 4 ft from the line |
| Entry porches and roofs | Up to 6 ft or half the yard, in front and street side yards |
| Trellises and open structures | Up to 6 ft or half the yard, at least 2 ft 6 in from the line |
Elsewhere, Longmont lets decks under 24 inches high into side and rear yards and keeps uncovered patios and driveways at least 3 feet from the line. Always check your own code: LA County's handout simply says eaves, stairs, balconies and water heaters must meet required distances and to consult a planner.
How to find your setbacks
- Find your zone on your city or county zoning map. Many have an online map you can search by address.
- Look up the zone's standards in the zoning code or a planning handout. Los Angeles publishes a one-page summary of its zones, while noting it's only a guide to the code.
- Check for special rules: lot-size steps, corner lots, hillside areas, overlays, and separate numbers for accessory buildings, pools and ADUs.
- Check your recorded map. San Diego's code notes that a final subdivision map or record of survey can modify setbacks.
- Check your HOA's CC&Rs, which can be stricter. LADBS says it doesn't review or enforce CC&Rs, and a permit doesn't mean you comply with them.
- Ask at the planning counter if anything is unclear.
Setbacks vs. fire separation
Zoning setbacks and building code fire separation are two different rules that both care about distance to the property line. Under the California Residential Code, as Milpitas's policy explains, a new exterior wall within 5 feet of the property line needs a one-hour fire-resistance rating (with an exception from 3 to 5 feet in sprinklered houses), and a wall less than 3 feet away can't have openings. A wall can meet a 4-foot zoning setback and still need fire-rated construction, so dimension any wall within 5 feet of a line clearly.
If you need less
When a project can't meet a setback, the usual path is a variance or a similar minor exception. Pleasanton's handout describes a variance as a request to waive or alter a development requirement, such as a structure closer to the property line. It needs special circumstances unique to the property, can't grant a special privilege, and is decided at a public hearing after notice to neighbors within 1,000 feet. Expect it to take weeks, not days, and to need a site plan showing the property lines, structures, setbacks and easements.
Showing setbacks on your site plan
LADBS's plot plan checklist asks for the property lines with dimensions, the front, side and rear setbacks, and the distances between buildings. In practice:
- Draw each required setback line, usually dashed, inside the property line at the setback distance, and label it, for example "20' front setback".
- Dimension each building to the nearest property lines, at a right angle to the line.
- Dimension projections like eaves, bay windows and equipment to the line separately.
- Label new work (N) and existing (E), so the reviewer can see which buildings the setbacks are being checked on.
In our site plan maker, enter your front, side and rear setbacks and it draws the setback lines on the plan, shows the distance from each building to the property lines, and flags anything new that crosses into a setback.
Need a site plan for the permit?Draw one to scale in your browser, or upload the plan you have and edit it, then export a print-ready PDF. Free to try: 15 items on every new site plan, no account needed.
Open the Site Plan CreatorFrequently asked questions
Is a setback measured from the curb or the sidewalk?
No, from the property line. San Diego's code measures setbacks inward from, and at a right angle to, the nearest property line, and Bellevue, Washington, warns not to assume the property line is at the sidewalk or curb. The public right-of-way often extends behind the sidewalk.
What's the difference between a setback and a yard?
They describe the same space from two sides. San Diego's code draws a setback line parallel to the property line at the setback distance, and calls the area between the two lines the required yard. Building in that area is generally not allowed, apart from the projections the code permits.
Which side is the front on a corner lot?
It depends on the city, not on where your front door faces. San Diego and Morgan Hill use the narrower or shorter street frontage as the front. San Diego County lets either street side be the front when both streets are public, and Longmont, Colorado, applies the front setback along both streets.
How do I find my setbacks?
Find your zone on your city or county's zoning map, then look up that zone's setbacks in the zoning code or a planning handout; Morgan Hill describes exactly this. Also check your recorded subdivision map, which can set its own building lines, and ask at the planning counter if anything's unclear. Accessory buildings, pools and ADUs often have their own setbacks.
Can I build closer than the setback allows?
Only with an approval such as a variance. Pleasanton describes a variance as a request to waive or alter a normal development requirement, such as building closer to a property line, and it needs special circumstances unique to the property, a public hearing and notice to neighbors.
Is the 5-foot fire rule the same as a setback?
No. Zoning setbacks come from the zoning code. The building code separately restricts walls, windows and eaves close to a property line to slow fire spread. Milpitas's policy, under the California Residential Code, requires one-hour fire-rated walls within 5 feet of the property line and no openings within 3 feet. A wall can meet the zoning setback and still need fire protection, or the other way around.
Sources
- City of San Diego Municipal Code: Chapter 11, Article 3, Division 2, Rules for Calculation and Measurement
- City of San Diego Municipal Code: Chapter 13, Article 1, Division 4, Residential Zones
- Los Angeles City Planning: Generalized Summary of Zoning Regulations (CP-7150, January 2026)
- Los Angeles County Regional Planning: Residential Development Standards handout
- California Department of Housing and Community Development: Accessory Dwelling Unit Handbook (March 2026)
- County of San Diego: PDS-306, Setback Drawings (rev. June 16, 2024)
- County of San Diego: PDS-323, Location of Swimming Pools (rev. June 15, 2021)
- City of Milpitas: BDP-BLG20, Additions to R3 Occupancies Less Than 5 Feet From Property Line (reviewed March 2, 2023)
- City of Pleasanton: Variance handout (May 2026)
- City of Los Angeles (LADBS): Single Family Dwelling Standard Plan Submittal Checklist
- City of Los Angeles (LADBS): Is Homeowner Association (HOA) approval required?
- City of Morgan Hill: What Are My Setbacks?
- City of Bellevue, Washington: Building Setbacks
- City of Longmont, Colorado: Setbacks