HyreADU

Quick answer

A setback is the minimum distance a zoning code requires between a building and a property line, measured horizontally from the line to the nearest wall or other regulated part of the structure.

A lot usually has three: front, side and rear. Together they draw the buildable area, the part of the lot where an ADU can physically go.

Quick facts

Measured from
The property line, horizontally, to the nearest regulated part of the building
Types
Front, side (interior and street side), rear
Who sets it
The local zoning code, by district
California, new ADU
Side and rear setback may not exceed 4 feet 1
California, converted structure
No setback may be required 1
Also limited by
Easements, fire separation in the building code

Key takeaways

  • A setback is the gap a building must keep from a property line.
  • There are front, side and rear setbacks, and your city sets each one.
  • Setbacks, with height and coverage, decide where an ADU can go.
  • In California, a new ADU needs at most 4 feet from side and rear lines 1.
  • In California, a converted garage or other existing structure needs no setback at all 1.
  • Easements and fire rules still apply, even when the setback is met.

Why setbacks matter to you

Setbacks tell you where on the lot an ADU can stand. On a narrow lot they also decide how wide it can be.

Get them wrong and the city will reject the site plan. Build them wrong and you may have to move or cut a wall.

In California, the state setback rules are often the reason a backyard ADU fits at all. They let the unit sit much closer to the back fence than the house can.

How to measure a setback on your lot

  1. Find the true property lines. A survey is best. A fence line is a guess.
  2. Look up your zoning district’s front, side and rear setbacks.
  3. Read what the code measures to: the wall, the roof edge, or something else.
  4. Note which parts may stick out into the setback, such as eaves.
  5. Draw each setback line inside the lot on your site plan.
  6. Place the ADU inside the lines. In California, use the 4-foot state rule for side and rear lines.

How a setback works

Draw the lot’s boundary on paper. Now draw a second line inside it, a set distance in from each edge. The band between the two lines is the required yard; the shape left in the middle is the buildable area. A setback rule says the building must stay inside that inner shape.

Codes differ on what “nearest part” means. Most measure to the wall and allow eaves, chimneys or bay windows to project a little into the yard; some measure to the roof edge.

Codes also differ on where the line is, for example whether a front setback is measured from the property line or from the edge of a street easement. The definitions chapter of your local code settles it.

A setback is a zoning distance. Separately, the building code limits openings and requires fire-resistant construction when a wall is close to a property line. A wall can meet the zoning setback and still need fire-rated construction under the residential building code.

Front, side and rear setbacks

TypeMeasured fromWhat it usually protectsEffect on an ADU
Front setbackThe front property line (street side)Streetscape, sight lines, front yardsRarely matters for a backyard ADU; matters for attached ADUs that extend forward
Side setbackEach side property lineLight, air, access, fire spacing between housesSets how wide a detached ADU can be on a narrow lot
Street-side setback (corner lots)The side line that faces a streetVisibility at the cornerCan be larger than an interior side setback
Rear setbackThe back property lineBack-yard privacy and open spaceDecides how far back a detached ADU can sit

Worked example: drawing the buildable area

Hypothetical inputs, for arithmetic only: a 50 × 120 foot lot with a local rule of 20 feet front, 5 feet each side and 15 feet rear for the main house.

StepMathResult
Buildable width50 − 5 − 540 ft
Buildable depth120 − 20 − 1585 ft
Buildable area (before other limits)40 × 853,400 sq ft
Same lot, new detached ADU in California with 4 ft side and rear setbacksWidth 50 − 4 − 4; rear line 4 ft from the back42 ft wide, reaching to 4 ft from the rear line

The state cap moves the ADU’s usable zone 1 foot closer on each side and 11 feet closer to the rear line than the house rule would allow. Separation from the main house, easements and the fire rules for walls near a line still apply.

California’s ADU setback rules

The guide below sorts a California ADU into the setback rule that applies to it. Find your project in the left column first.

California sets two setback rules for ADUs in Government Code section 66314(d)(7) 1.

For a new ADU, a city or county may require a setback of no more than four feet from the side and rear lot lines.

For an ADU made from existing living area or an accessory structure, or a new structure built in the same location and to the same dimensions as an existing one, no setback may be required.

“Living area” here means interior habitable area, not a garage 3. Section 66314 was last amended by AB 1170 (Stats. 2025, ch. 67), effective 1 January 2026.

The front setback is treated differently. Section 66321(b)(3) says a front setback, like lot coverage and floor area ratio, cannot be applied in a way that prevents an ADU of at least 800 square feet with four-foot side and rear setbacks 2. Beyond that, a front setback can still limit an ADU.

Both rules came from Gov. Code 65852.2 before SB 477 (Stats. 2024, ch. 7) moved the ADU law into Chapter 13. They are California’s rules; other states differ, and many leave setbacks entirely to local codes. See ADU laws by state.

Decision guide Which California setback rule applies to your ADU
If You build a new ADU (detached, attached or second story)
Then The city may require no more than 4 ft from the side and rear lot lines
If You convert existing living area or an accessory structure
Then No setback may be required for the existing walls
If You rebuild in the same place and to the same size as an existing structure
Then No setback may be required
If A front setback would leave less than an 800 sq ft ADU with 4 ft side and rear setbacks
Then The front setback cannot be applied in a way that blocks that ADU
If Your ADU sits near a fire wall, easement or utility line
Then Building code and easement limits still apply; ask the building department

California only, Gov. Code §§ 66314(d)(7) and 66321(b)(3). Other states and cities set their own rules. Source: [1] [2]

Important distinction

A zoning setback is a planning rule about where a building may stand. Fire separation is a building-code rule about how walls near a lot line are built. Meeting the 4-foot setback does not settle the fire-rating question.

Sources: [1] [2]

Checks before you place an ADU

  • Confirm where the property lines are. A fence is not a survey; a disputed line can move a setback by feet.
  • Look for recorded easements (utility, drainage, access). An easement can block building even where the setback allows it.
  • Check the building code fire rules for walls near a property line before relying on the 4-foot state cap.
  • If converting a garage, keep its footprint and location to keep the no-setback protection.
  • Show every setback dimension on the site plan in the permit set.

Common misreadings

Myth California lets every ADU be built 4 feet from any property line.
Reality The 4-foot cap applies to side and rear lines. Front setbacks follow the local code, subject to the 800 sq ft protection.
Myth If the old garage sat on the property line, a rebuilt ADU can too.
Reality Only if the new structure is in the same location and to the same dimensions as the existing one. Enlarging it brings the 4-foot cap back for the new part.

Second example: a narrow lot with an old garage

Hypothetical inputs only. The lot is 35 feet wide and 110 feet deep. An old detached garage sits 1 foot from the side line. The local side setback is 5 feet.

OptionSetback that applies in CaliforniaWhat fits
Convert the garage as it standsNone, because it is an existing structure 1The ADU keeps the garage’s 1-foot gap
Tear down and rebuild in the same spot, same sizeNone, same location and dimensions 1Same footprint as the old garage
Build a new, wider ADUNo more than 4 feet from side and rear linesWidth up to 35 − 4 − 4 = 27 feet
Build under the local rule only (outside California)5 feet each sideWidth up to 35 − 5 − 5 = 25 feet

The conversion keeps the closest spot. A new unit gains 2 feet of width under California’s 4-foot rule compared with the local 5-foot rule. Fire rules for walls near a line may still change the design.

Where you will see setbacks

  • The site plan, with a dimension from each wall to each line.
  • The zoning code table for your district.
  • A survey, which shows the true lines and any easements.
  • Plan check comments, if a dimension is missing or short.
  • A title report, which lists recorded easements.

California’s “must approve” ADU and setbacks

Government Code section 66323 lists ADUs a California city must approve. One is a new detached ADU with side and rear setbacks of no more than 4 feet, on a lot with a single-family home 4.

For that unit, the city may cap size at 800 sq ft and height at the state floors. It cannot demand bigger side or rear setbacks.

Sources: [4]

Setback rules in other states

Outside California, setbacks are mostly local. Some states have ADU laws that touch setbacks. Many do not.

Rules vary. Check the state-by-state ADU law tracker, then your city code.

Setbacks compared with other spacing rules

RuleWho sets itWhat it controls
SetbackZoning codeDistance from property lines
EasementA recorded deed or mapA strip someone else may use, such as a utility
Fire separationBuilding codeWall and window rules when close to a line
Building separationZoning or building codeGap between the ADU and the house
Coverage capZoning codeHow much ground is under a roof

How setbacks affect cost

Setbacks have no fee, but they shape the design. A wall close to a line may need fire-rated materials and fewer windows. That can add cost.

A survey to fix the lines is a cost too. It can save far more if a fence turns out to be in the wrong place.

Converting an existing structure that already sits close to a line avoids a new foundation in a tight spot. See the ADU cost guide.

Benefits and limits of setback rules

What it does well

  • Keep light, air and privacy between homes.
  • Leave room for access and firefighting.
  • Give neighbors a predictable gap.

Where it falls short

  • Shrink the usable area on narrow or shallow lots.
  • Measurement rules differ by city.
  • Can clash with an old structure that predates them.

What to ask the planning department

  • What are my front, side and rear setbacks?
  • Do I have a street-side setback on a corner lot?
  • What may project into a setback, and how far?
  • How do you apply the state 4-foot rule?
  • Is there a required gap between the ADU and the house?
  • Do you need a survey with the permit?

Checklist for your project

  1. Order a survey if the lines are unclear.
  2. Pull the title report and mark any easements.
  3. Write down every setback for your district.
  4. Decide: convert, rebuild in place, or build new.
  5. Check fire rules for walls near a line.
  6. Show every setback dimension on the site plan.
  7. Submit. In California the city must approve or deny a complete application within 60 days 5.

Test your lot

Related guides and research

Questions about setback

What is the setback for an ADU in California?

For a new ADU, a city may require no more than 4 feet from the side and rear lot lines under Government Code 66314(d)(7). A conversion of an existing structure, or a rebuild in the same place and size, needs no setback.

How is a setback measured?

Horizontally from the property line to the nearest regulated part of the building, usually the wall. Codes differ on whether eaves and projections count, so check your local definition.

What is the difference between a side setback and a rear setback?

A side setback is measured from each side property line; a rear setback from the back line opposite the street. Rear setbacks are often deeper for houses, which is why the California cap of 4 feet matters most there.

Can I build an ADU in a setback?

In California, a new ADU may sit as close as 4 feet to side and rear lines even if the house setback is larger, and a converted structure can stay where it is. Elsewhere, the local code decides; some cities allow reduced setbacks for accessory buildings.

Do easements override setbacks?

They are separate limits, and both apply. A recorded easement can bar building in a strip of land even where zoning would allow it.

How close to the property line can I build an ADU?

In California, a city can require no more than 4 feet from the side and rear lines for a new ADU, and no setback for a converted existing structure. Outside California, your local code sets the distance. Fire rules may add limits on walls close to a line.

Can an ADU be built on the property line?

In California, only if it converts or rebuilds an existing structure in the same place and size, because no setback applies then. A new ADU can be required to stay up to 4 feet back. Walls that close to a line usually need fire-rated construction.

Do setbacks apply to sheds?

Often, but many codes have smaller setbacks for small accessory buildings. An ADU is a home, not a shed, so it follows ADU rules. Ask your planning department how your code treats small structures.

Are setbacks measured from the fence?

No. Setbacks are measured from the property line, which may not match the fence. Fences are often off by a foot or more. A survey shows where the true line is.

Does a front setback apply to a backyard ADU?

Usually it matters little, because a backyard unit is far from the street. In California, a front setback cannot be used to block an ADU of at least 800 sq ft with 4-foot side and rear setbacks. On corner lots, a street-side setback may matter more.

Sources

  1. California Legislature, Government Code §66314 (as amended by AB 1170, Stats. 2025, ch. 67), retrieved .
  2. California Legislature, Government Code §66321 (as amended by SB 543, Stats. 2025, ch. 520), retrieved .
  3. California Legislature, Government Code §66313, definitions (as amended by SB 543, Stats. 2025, ch. 520), retrieved .
  4. California Legislature, Government Code §66323, ADUs a local agency must approve ministerially (as amended by SB 543, Stats. 2025, ch. 520), retrieved .
  5. California Legislature, Government Code §66317, ministerial review and timelines (as amended by SB 543, Stats. 2025, ch. 520), retrieved .

Expert review

Written by the HyreADU Research team. Not yet reviewed by an outside expert. We say so rather than imply a review that has not happened; see our editorial policy.

How the numbers were checked: Setback rules were read in the current text of Government Code §§66314 and 66321 on leginfo.legislature.ca.gov on 7 October 2026, with Chapter 13 definitions in §66313 [g66313].

The worked example uses stated hypothetical dimensions only. Government Code §§66317 and 66323 were also read on 7 October 2026. The second worked example uses stated hypothetical inputs only.

Suggest a correction. We fix errors and say what changed.