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.

Updated November 24, 2026 · By the Plan Check Correct team · General information, not legal or engineering advice. Requirements vary by jurisdiction.

Front, side, street side and rear

Most residential zones set four kinds of setback:

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

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 zoneFrontSideStreet sideRear
Los Angeles, R120% of lot depth, up to 20 ft, but not less than the block's prevailing setback5 ft (10% of width, at least 3 ft, on lots under 50 ft wide)See code15 ft
LA County, R-120 ft5 ftSee code15 ft
San Diego, RS-1-7 (5,000 sq ft lots)15 ft4 ft5 ft13 ft
San Diego, RS-1-5 (8,000 sq ft lots)20 ft5 ft6 ft20 ft
San Diego, RS-1-2 (20,000 sq ft lots)25 ft8 ft8 ft25 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:

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:

ItemHow far it can project
Eaves and cornicesUp to 6 ft or half the yard, whichever is less, staying at least 2 ft 6 in from the property line
Bay windowsUp to 4 ft or half the yard, at least 3 ft from the line, no more than 8 ft wide
FireplacesUp to 2 ft 6 in, staying at least 2 ft 6 in from the line
A/C units, meters and pool equipmentIn side and rear yards, at least 4 ft from the line
Entry porches and roofsUp to 6 ft or half the yard, in front and street side yards
Trellises and open structuresUp 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

  1. Find your zone on your city or county zoning map. Many have an online map you can search by address.
  2. 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.
  3. Check for special rules: lot-size steps, corner lots, hillside areas, overlays, and separate numbers for accessory buildings, pools and ADUs.
  4. Check your recorded map. San Diego's code notes that a final subdivision map or record of survey can modify setbacks.
  5. 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.
  6. 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:

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 Creator

Frequently 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

How to find your property linesWhere your lot's real dimensions come from (recorded maps, deeds, surveys) and why fences and parcel viewers can't be trusted.How to draw a site plan from an aerial photoTrace your lot and buildings over an aerial photo, then fix the numbers that matter: what aerials get right, and what they don't.Site plan maker for building permitsDraw a scaled, permit-ready site plan in your browser and export a print-ready PDF.How to draw a site plan for a building permitStep by step: find your lot lines and setbacks, measure the site, draw to scale and label it the way reviewers expect.Site plan for a pool permitWhat a pool or spa permit's plot plan must show: setbacks, equipment, the barrier fence and gates, slopes and drainage.Open the Site Plan CreatorDraw a new site plan or upload one to edit, then export a print-ready PDF.