Skip to content
FloorGen
Language: English
Sign in
Pages
All articles

Guides7 min read

What Is a Setback? Zoning Setbacks Explained

What is a setback: the front, side and rear distances a house must keep from its lot lines, how they are measured, where to find yours, and ADU setback caps.

A setback is the minimum distance a building must keep from a property line, set by your local zoning code. Most residential zones have a front setback from the street, a side setback from each neighbor and a rear setback at the back of the lot, and the area inside them is where you may build. The numbers vary by city and by zoning district, so the only way to know yours is to look up your lot's zone.

What is a setback, exactly?

Zoning codes describe setbacks in one of two ways. Some say the building must be "set back" a certain distance from each lot line. Others define required yards: a front yard, side yards and a rear yard of a given depth that must stay open. The effect is the same. Take the lot, shrink it inward by each setback, and what is left is the buildable area or building envelope.

Setbacks exist for light and air between houses, privacy, room for utilities and drainage, a consistent street front, and fire spacing. They come from the zoning ordinance, which is a planning document, not from the building code. The International Residential Code has its own distance rules for fire (more on that below), but it does not set yards.

Front, side and rear setbacks

The common setback types. Ranges are a rough rule of thumb for suburban single-family zones, not a code figure; your district's numbers can be very different.
SetbackMeasured fromCommon range (rule of thumb)Notes
FrontThe front lot line (the street)15 to 30 ftSome codes use the average of the neighbors' setbacks instead
Side (interior)Each side lot line shared with a neighbor5 to 10 ftSometimes a minimum per side plus a minimum total of both sides
Street sideThe side lot line on a corner lot10 to 20 ftCorner lots often have two "front" yards
RearThe back lot line10 to 30 ftOften smaller for garages and accessory buildings

Look for a few variations in your code. Corner lots usually have a larger street-side setback than an interior side. Flag lots (a narrow pole to the street) often measure the front setback from the wider part of the lot. Some districts have height-based setbacks that grow as the wall gets taller, or a daylight plane that slopes inward from the side lot lines.

How setbacks are measured

A setback is measured horizontally and perpendicular from the lot line to the nearest part of the building that counts. What counts is the detail to check in your code:

  • The wall: almost always measured to the outside face of the foundation or wall, not to the centerline a floor plan is drawn on.
  • Projections: eaves, gutters, chimneys, bay windows and window wells are often allowed to project a limited distance into a required yard. Two feet for eaves is common, but it is set locally.
  • Porches, decks and stoops: covered porches usually count as part of the building; uncovered decks and steps close to grade often get their own, smaller limit.
  • The lot line itself: the surveyed property line, not the curb, sidewalk or fence. Front lot lines are often several feet behind the sidewalk.

Setback, easement and fire separation are different things

A setback is zoning. An easement is a recorded right for someone else (often a utility) to use part of your lot, and you usually cannot build on it even inside your buildable area. Fire separation distance is a building code measure from the wall to the lot line: under 2021 IRC Table R302.1(1), a wall less than 5 ft from the line must be 1-hour fire-resistance rated, with openings limited between 3 and 5 ft and none under 3 ft. A house can meet zoning and still trip the fire rule.

A worked example: does the house fit?

FloorGen's 3-bed ranch template sits on an 80 × 110 ft lot (8,800 ft²). The house is 70 × 36 ft on its wall centerlines and about 70 ft 6½ in × 36 ft 6½ in to the outside of its 6½ in exterior walls. It is placed 25 ft from the front lot line and 5 ft from each side, measured to the wall centerlines.

Site plan of a three-bedroom ranch house on an 80 by 110 foot lot, set back from the top lot line with narrow side yards and a deep rear yard.
The ranch template on its 80 × 110 ft lot in FloorGen. The house is placed 25 ft from the front and 5 ft from each side on its wall centerlines.

Now try it against two sets of district rules. The buildable width is the lot width less both side setbacks; the buildable depth is the lot depth less the front and rear setbacks.

The ranch template's outside size (70 ft 6½ in × 36 ft 6½ in) against two example setback sets. Example numbers only.
Example zoneFront / side / rearBuildable areaDoes the house fit?
Zone A25 ft / 5 ft / 25 ft70 × 60 ftNo: 6½ in too wide, measured to the wall faces
Zone B25 ft / 7 ft / 25 ft66 × 60 ftNo: 4 ft 6½ in too wide
Zone C25 ft / 4 ft / 25 ft72 × 60 ftYes, with about 8¾ in to spare on each side

The first row is the useful lesson. The template looks like it has 5 ft side yards because the plan is drawn on wall centerlines, but zoning measures to the face of the wall, which is 3¼ in closer on each side: 4 ft 8¾ in. That also puts both side walls under the 5 ft fire separation threshold. In a real project you would trim the house slightly, or check whether your code lets you measure to the foundation and how it treats the eaves. The rear is easy: 110 − 25 − 36 ft leaves 49 ft behind the house on the centerline. That rear yard is where most ranch additions go: a 16 ft primary-suite bump-out still leaves about 32 ft 8¾ in to the rear lot line.

Floor plan of a 70 by 36 foot ranch house with a two-car garage at the west end, living spaces in the middle and three bedrooms at the east end.
The ranch floor plan. Dimension strings run along the wall centerlines, which is why setbacks must be re-measured to the outside faces.

Where to find your setbacks

  1. Find your zoning district. Most cities and counties have an online zoning map or parcel viewer; search your address and note the code (for example R-1 or RS-7).
  2. Open the zoning ordinance and find the dimensional standards table for that district: lot size, setbacks, height, lot coverage and floor area ratio are usually in one table.
  3. Read the definitions and exceptions: how yards are measured, what may project into them, and special rules for corner lots and accessory buildings.
  4. Check your plat and deed. Subdivision plats often show a recorded building line, and HOA covenants can require more than zoning. The stricter rule applies.
  5. Ask the planning counter to confirm, ideally in writing, before you design to the line.

Setbacks for ADUs and accessory buildings

Detached garages, sheds and backyard cottages often have smaller rear and side setbacks than the house. For accessory dwelling units, several states now cap what a city may require:

  • California: a city may require no more than 4 ft from the side and rear lot lines for a new ADU, and no setback for an existing structure converted to an ADU (Government Code 66314). See California ADU size limits.
  • Arizona: under HB 2720, cities over 75,000 people may not require side or rear setbacks of more than 5 ft for an ADU. See Arizona's ADU law.
  • Other states set different limits or leave it to cities; check your state's ADU law, then your local ordinance.

A capped zoning setback does not cap the building code. An ADU 4 ft from a lot line still falls under the fire separation rules above, so expect a rated wall and few or no windows on that side.

When your plan does not fit

If the house you want crosses a setback line, you have three routes. Redesign it to fit, which is usually fastest. Apply for an administrative adjustment, which many codes allow for small encroachments of a few inches or a set percentage. Or apply for a variance, which normally needs a public hearing and a hardship tied to the lot itself (an odd shape, a steep slope), not just a wish for more space. Older houses that already sit inside a setback are often legal nonconforming: you may keep them, but additions usually must meet today's numbers.

Plan within the lines in FloorGen

3D cutaway of the furnished ranch house showing two cars in the garage, the living room, kitchen and three bedrooms.
The ranch in FloorGen's 3D view.

In FloorGen you can start from a blank plot of any width and depth, or open a template that already sits on its lot, then move walls and pin tape measurements from the walls to the lot edges. The building summary reports plot coverage and FAR once a plot size is set. FloorGen does not know your zoning, so type your district's setback on each edge of the plot: the site plan maker sheet then measures the house to every lot line and stars any distance shorter than the setback. For the drawing the permit office wants, see how to draw a site plan.

Free · draw without an accountFit the ranch to your setbacksOpens this plan in the FloorGen studio, free and without an account, on its 80 × 110 ft lot. Drag the lot's corners to match your lot and move the walls until every face clears your setback lines. Sign in later to save it to the cloud.
Open in studio

This is general information, not legal advice. Zoning codes change, and the planning department's reading of yours is the one that counts.

Try it on your next plan.

Every plan on this blog opens in the studio, free and without an account. Sign in later to keep your work in the cloud.

More from the blog

All articles