How close an ADU can be to the main house depends on two separate sets of rules: your local zoning code, which may set a minimum distance between buildings on the same lot, and the building and fire codes, which decide how the facing walls must be built when the two buildings are close. A detached ADU can often sit closer than people expect, but the closer it gets, the more the walls, windows and eaves facing the house may need to change. Check both sets of rules for your address before you settle on a footprint.

This guide walks through what an experienced ADU builder looks at when deciding how far apart to place the two buildings, and why the right answer is rarely just "as close as the code allows."

Why ADU distance from main house is more than one number

Homeowners often ask for a single number, but the ADU distance from main house is really shaped by several layers at once:

  • Zoning separation. Some local codes set a minimum distance between a detached ADU and the primary home. Others set none and rely on setbacks from property lines instead. Specific rules vary by jurisdiction, and some states limit what a city can require.
  • Fire separation under the building code. The residential building code controls how walls must be built based on how close they are to a lot line or to another building on the same lot.
  • Fire department access. Fire codes can limit how far a building may sit from the street or a fire access road before extra protection is required.
  • Practical space. Footings, roof drainage, maintenance access, utility trenches and daylight all need room, even when no code requires it.

A layout that satisfies zoning can still create expensive building-code requirements, so it pays to look at all of them together.

How zoning rules treat building separation

Start with the local zoning code or ADU ordinance. Look for terms such as "building separation," "distance between structures" or "accessory structure spacing." Some codes state a minimum number of feet between a detached ADU and the main home. Others say nothing about separation and only regulate side and rear setbacks, height and lot coverage.

State law can also matter. In California, for example, state ADU law limits side and rear setbacks for many ADUs to no more than four feet, which gives owners more room to place the unit, though it does not by itself set the distance between buildings. Other states have their own ADU statutes, and many places have none. Never assume one city's rule applies to yours.

If your code is unclear, ask the planning department in writing how they measure separation. Some measure wall to wall; others measure from the nearest projection, such as an eave, a porch or a stair landing. That difference can move the footprint by a few feet. Our guide to ADU setbacks explains how these measurements usually work.

Fire separation: what changes when buildings are close

Even when zoning allows a small gap, the building code decides what the facing walls must look like. Under the model International Residential Code, which many U.S. jurisdictions adopt with local amendments, "fire separation distance" is measured from the building face to the nearest interior lot line or, between two buildings on the same lot, to an imaginary line drawn between them.

When that distance is less than five feet under the model code, the wall generally needs a fire-resistance rating, and window and door openings are limited or not allowed at all, depending on how close the wall is. Eaves and other projections face their own limits near that line.

Because the imaginary line sits somewhere between the two buildings, placing them close together can push one or both facing walls into that rated range. In practice, that can mean:

  • Fire-rated wall assemblies on the facing walls of the ADU, the main house or both
  • Fewer or smaller windows on the side that faces the house
  • Changes to eaves, gutters and vents on those walls
  • Added cost for materials, inspections and design time

How a jurisdiction applies the imaginary line, and which code edition it uses, varies. Ask the building department early, before windows and the floor plan are finalized. On the ADUs we build, this is one of the first things checked once a rough footprint is drawn, because it affects the floor plan, not just the wall assembly.

Fire department access and sprinklers

Fire codes also look at how far the ADU sits from the street or a fire access road. If a detached unit sits deep in a long lot or behind the main house, the fire department may ask whether hoses can reach every part of it. When access is limited, a jurisdiction may require a wider path, an address sign visible from the street or, in some cases, fire sprinklers.

Requirements vary widely. Some states limit when sprinklers can be required for an ADU; others leave it to local fire officials. The fire department or fire marshal is the right office to ask, ideally while the site plan is still flexible.

The complete guide · $129

The Age-in-Place ADU Guide

Design a home around the life your parent wants to keep, build it so it holds up as needs change, and pay no more than it should cost.

Practical spacing an experienced builder plans for

Code minimums are only the starting point. Builders also leave room for things that make the ADU easier to build, live in and maintain:

  • Foundations. New footings placed close to an existing foundation may need engineering review so one does not undermine or load the other.
  • Roof drainage. Two roofs draining into a narrow gap can create a wet, shaded strip that needs grading, drains or gutters with a clear outlet.
  • Maintenance access. Painting, gutter cleaning and future repairs need space for a person and a ladder.
  • Utility trenches. Water, sewer, power and communication lines usually run between the two buildings. Leave room to trench without hitting the house footing. Our guides to ADU sewer connections and electrical panel upgrades cover those services.
  • Light, air and privacy. A wall of windows a few feet from the main house can feel dark and exposed. A little more distance often makes both homes more comfortable.
  • Construction access. Crews and materials need a route to the backyard during the build.

Attached, connected or detached?

Some owners want a covered walkway or deck between the two buildings. Depending on the jurisdiction, a solid connection can change whether the ADU is treated as attached or detached, which may affect setbacks, size limits, fire separation and even which permit path applies. Ask before you design a breezeway. Our comparison of detached vs. attached ADUs and garage conversions explains how those categories usually differ.

How to check spacing on your lot

A simple sequence keeps surprises down:

  1. Run a free lot check. Use the ADU lot check to see your parcel and a rough buildable area.
  2. Read the local ADU ordinance. Note any separation, setback, height and coverage rules.
  3. Ask the building department about fire separation. Confirm the code edition and how they place the imaginary line between buildings.
  4. Ask the fire department about access. Especially if the ADU sits far from the street.
  5. Sketch the footprint with real dimensions. Include eaves, steps and landings, not just walls.
  6. Get a site plan from a qualified professional. A surveyed site plan removes guesswork before permit drawings start.

If the ADU is for an aging parent, closeness to the main house can be an advantage for daily help. Our guide to ADU vs. assisted living covers other planning choices for that situation.