ADU setback requirements in California
A house in a residential zone usually has to sit well back from its side and rear lot lines. An ADU gets a much smaller ceiling. Government Code section 66314 lets a city require side and rear setbacks of no more than 4 feet for a new ADU, attached or detached, and none for an existing structure converted to an ADU.
| Situation | Most a city can require |
|---|---|
| New detached ADU, side and rear | 4 ft |
| New attached ADU, side and rear | 4 ft |
| Front yard | The city's front setback, unless it would block an 800 sq ft ADU with 4-ft side and rear setbacks |
| Existing structure converted to an ADU | None |
| Structure rebuilt in the same place and to the same size | None |
| Space added on top of or beside an existing structure | Up to 4 ft, for the new part |
Sources: Gov. Code §§ 66314 and 66321. The 4 feet is a maximum. A city can set a smaller number or none, and some do.
The setback rule also works with the state's guaranteed ADUs. Section 66323 says every city must approve, on a single-family lot, one new detached ADU of up to 800 square feet with 4-foot side and rear setbacks, at the state's height limits, alongside a conversion ADU and a junior ADU. Starting January 1, 2027, AB 956 allows two detached ADUs on a single-family lot; see ADU laws for 2027 for the details. For the rest of the rules, read our summary of California ADU laws.
Lot coverage, open space and floor area
Section 66321 also bars a city from using lot coverage, floor area ratio, open space or front setback rules to prevent an ADU of at least 800 square feet with 4-foot side and rear setbacks. So a small lot that's already “full” under the zoning code can still get an 800-square-foot unit.
Distance between the ADU and the house
Some cities also require a minimum distance between buildings on the same lot. HCD has told cities such rules can't block the 800-square-foot ADU either. Reviewing Union City's 5-foot building separation, HCD told the city to add language that the separation doesn't apply where it would make such an ADU infeasible. The building code's fire rules, covered below, still apply.
Front setbacks for ADUs
State law doesn't cap front setbacks the way it caps side and rear ones. A city can apply its normal front yard setback to an ADU, but not when that setback would prevent an 800-square-foot ADU with 4-foot side and rear setbacks.
HCD enforces this through its ordinance reviews. In a 2024 letter, HCD told San Mateo that an 800-square-foot ADU with 4-foot side and rear setbacks can't be denied just because it's proposed within the main house's front setback. Closer to home, HCD flagged Oceanside's ordinance in 2025 for requiring every ADU to meet the front yard setback.
Conversions and rebuilds
Converting a garage, workshop or other permitted structure is the easiest way around setbacks. A city can't require a setback for an existing structure turned into an ADU, or for one rebuilt in the same location and to the same dimensions, as long as the setback is sufficient for fire and safety. That's why an old garage sitting right on a property line can become a legal unit.
- Room for an entrance. A converted accessory structure may grow by up to 150 square feet, only to provide entry and exit.
- New space follows new rules. If you add floor area or a second story, the added portion is subject to the normal setbacks, up to 4 feet.
- Rebuilding bigger. Tear down and rebuild larger or taller, and the new building is treated as new construction.
Our garage conversion ADU guide covers the building code side of a conversion, and attached vs detached ADUs compares the two new-construction options.
ADU setbacks in San Diego
The City of San Diego's ADU code, SDMC § 141.0302, is looser than the state cap for low ADUs and ties the setback to height and fire risk.
| ADU | Outside high fire zones | High or very high fire hazard zone |
|---|---|---|
| 16 ft tall or less | None required | 4 ft |
| Over 16 ft or more than one story, next to a residential lot | 4 ft, or the base zone setback if less | 4 ft |
| Over 16 ft, next to a non-residential lot | None required | 4 ft |
Source: SDMC § 141.0302(b)(9). A few other city rules shape where the ADU can go:
- Front and street side yards follow the base zone, but one ADU of 800 square feet or less may encroach.
- Exterior stairs, decks and balconies must meet the base zone setback. That catches many two-story designs with an outside stair; see our two-story ADU guide.
- Coastal Overlay Zone. The option to use a smaller base zone setback for a tall ADU isn't in effect until the Coastal Commission certifies the city's 2024 code update, so the 4-foot minimum applies there. More in our ADU coastal zone guide.
- Fire zones. The fire code official can require more than 4 feet. See building an ADU in a fire zone.
The city's ADU bulletin, IB-400, adds that building code fire separation and opening limits still apply, which can mean rated walls and fewer windows on the side closest to the lot line. The setback must appear on your site plan; the ADU permit process in San Diego walks through what plan check looks for.
Elsewhere in San Diego County
Each incorporated city in the county writes its own ADU ordinance within the state cap, and the County of San Diego sets the rules for unincorporated areas. Two examples show the range:
- Unincorporated county. The County's ADU handout, PDS-PLN-611, says a permitted accessory structure converted to an ADU needs no setbacks except for fire safety, and an ADU added above a permitted detached accessory structure needs at least 4 feet from the side, exterior side and rear lot lines, for the added space only.
- Oceanside. HCD's 2025 review, cited above, shows a city can be told to loosen a front setback rule that goes beyond state law.
If your lot is outside the City of San Diego, check your own city's current ADU ordinance, or ask a builder who works there. Our verified ADU builders in San Diego list the cities they serve.
Setbacks vs fire separation distance
A setback is a zoning rule. Fire separation distance is a building code rule, and state ADU law doesn't cap it. In an October 2025 response to the City of San Diego, HCD drew the line: setbacks are development standards governed by state ADU law, while fire separation distance is a separate standard defined in the building and fire codes.
In practice, the closer a wall sits to a lot line, the more fire protection it needs. Placer County's ADU FAQ, applying the California Residential Code tables, says an ADU without fire sprinklers needs a 1-hour rated exterior wall within 5 feet of a property line or 10 feet of another building on the lot; with sprinklers, those distances drop to 3 and 6 feet. Your city may read the code differently or amend it, so confirm with your building department.
Building on a 4 foot setback ADU site
Four feet is enough for a person to walk past, and not much more. A few things to plan for when your ADU sits on the line or at the 4-foot mark:
- Know where the line is. Fences aren't always on the property line. A boundary survey settles it before a plan checker or a neighbor does.
- Eaves and projections. Roof overhangs, bay windows and mechanical units often have their own allowed projections into a setback. Ask the city how it measures before you finalize the roof.
- Maintenance access. A wall a few feet from a fence is hard to paint, re-roof or repair. Durable siding and gutters that don't overhang the line save trouble later.
- Utilities and drainage. Trenches for water, sewer and power, and the path roof water takes, often run down that side yard.
- Height trades. In the City of San Diego, staying at 16 feet keeps the setback at zero outside fire zones. Going taller adds 4 feet. Our ADU height limit guide explains the height side.
Setbacks shape the footprint, and the footprint drives cost. See what an ADU costs in San Diego, and read how to hire an ADU contractor before you sign.
Common questions
What are the ADU setbacks in California?
What are the ADU setbacks in San Diego?
Can I build a 4 foot setback ADU on any lot?
Does a garage conversion ADU need setbacks?
Can a city require distance between my ADU and my house?
Sources
- California Legislative InformationGovernment Code § 66314 (local ADU ordinances)
- California Legislative InformationGovernment Code § 66321 (size, height and setback limits)
- California Legislative InformationGovernment Code § 66323 (ADUs every city must approve)
- California Department of Housing and Community DevelopmentAccessory Dwelling Unit Handbook (March 2026)
- California Department of Housing and Community DevelopmentADU ordinance review letter: City of San Mateo (October 2024)
- California Department of Housing and Community DevelopmentADU ordinance review letter: City of Oceanside (May 2025)
- California Department of Housing and Community DevelopmentADU ordinance review letter: Union City (December 2022)
- California Department of Housing and Community DevelopmentADU ordinance response: City of San Diego (October 2025)
- Association of Bay Area GovernmentsState Laws Summary for ADUs and JADUs (July 2025)
- City of San DiegoSan Diego Municipal Code § 141.0302, Accessory Dwelling Units
- City of San Diego Development ServicesInformation Bulletin 400: Accessory and Junior Accessory Dwelling Units
- County of San Diego Planning & Development ServicesAccessory Dwelling Units, form PDS-PLN-611
- Placer CountyAccessory dwelling unit FAQs
- Office of the GovernorGovernor Newsom signs housing legislation (September 29, 2026)
General information, not legal or financial advice. Rules and fees change; confirm with your city's permit office before you rely on them.
