FindADUCONTRACTOR

ADU types

Building an ADU in the backyard: what fits, setbacks and cost

Building an ADU in the backyard means a separate small house behind yours, and California law guarantees room for one of up to 800 square feet with 4-foot setbacks. Here's what fits, how close to the fence it can go and what it costs in San Diego.

Fact-checked against 24 sourcesUpdated Oct 26, 2026

A lush backyard garden with a chair

What a backyard ADU is

A backyard ADU is a detached accessory dwelling unit: a complete small home, with its own kitchen, bathroom and entrance, built as a separate building on the same lot as your house. People call it a backyard cottage, casita, guest house or granny flat. Under California's definition, they're all ADUs if they provide complete independent living facilities, including permanent provisions for living, sleeping, eating, cooking and sanitation.

Some cities use “backyard cottage” as a formal name. Seattle, for example, uses it for a detached ADU in its own structure. In California the legal name is simply ADU, and a guest house without a kitchen isn't one. See what an ADU is and granny flat vs ADU for the names, and attached vs. detached ADUs if you haven't settled on a detached unit.

How many units fit on your lot

On a single-family lot, state law requires cities to approve one new detached ADU of up to 800 sq ft with 4-foot setbacks, plus one ADU converted from space in the house or an existing accessory building, plus one junior ADU. So a backyard unit doesn't use up your chance to convert the garage.

Two backyard ADUs from 2027. AB 956, signed September 29, 2026, allows two detached ADUs on a single-family lot starting January 1, 2027. If your yard is big enough, ask your designer to site the first unit so a second can fit later.

ADU in backyard: what fits

Three numbers set the envelope: size, height and setbacks.

Backyard ADU size and height limits
RuleState minimum every city must allowCity of San Diego
Size800 sq ft, regardless of lot coverage, floor area ratio or open space rules150 to 1,200 sq ft for a new ADU
Height16 ft; 18 ft near major transit, plus 2 ft for roof pitchTwo stories max in single-family zones
Side and rear setbackNo more than 4 ftNone at 16 ft or lower, except 4 ft in high fire zones
Front setbackCan't be used to block an 800 sq ft ADUOne ADU of 800 sq ft or less may encroach

Sources: Gov. Code § 66321, SDMC § 141.0302 and the city's ADU bulletin. Sizes are interior livable space since 2026.

The practical question is footprint. An 800 sq ft one-story unit is roughly 20 by 40 feet. Add 4 feet of clearance on the back and side, a path to the door and some separation from the house, and you need a clear area of something like 30 by 50 feet. If you don't have that, you have options:

What else is already in the yard

Before sketching, walk the yard with a tape measure and a list. Mature trees and their roots, a pool, a slope, an existing shed, overhead power lines and recorded easements for utilities or drainage all take space a site plan has to respect. Your designer will want a survey or at least accurate measurements of the lot lines, the house and these features. Finding a sewer easement across the back of the lot after the plans are drawn is an expensive surprise.

Think about the view from the house too. The ADU will be the main thing you see from the back windows. Setting it to one side, rather than dead center, usually leaves a more useful yard for both households.

For what each size holds, see ADU floor plans.

Setbacks and distance from the fence

For a new ADU, a city can require side and rear setbacks of no more than 4 feet. San Diego goes further: an ADU 16 feet tall or less needs no interior side or rear setback, except 4 feet in high and very high fire hazard severity zones. Above 16 feet, next to a residential lot, the setback is 4 feet.

Zoning isn't the only limit, though. Under the California Residential Code, walls less than 3 feet from the property line can't have windows or doors, and walls within 5 feet generally need a fire-resistance rating. San Diego notes these fire separation rules can require more distance than zoning does. Building right on the line is legal, but expect a blank, fire-rated back wall.

Fire zones add more. New buildings in fire hazard severity zones follow the state's wildfire-resistant construction rules, which affect roofing, vents and siding. See ADU design ideas for how designers handle all of this.

Access, utilities and placement

The backyard is the hardest part of a lot to reach. That shows up in three ways.

Fire department access

Fire codes generally require a firefighter's route from the street to the building. San José's ADU checklist, for example, measures a 150-foot path from the fire access road to the ADU's first-story walls. Fire departments apply this differently, so on a deep lot or a flag lot, ask yours early. Some departments accept sprinklers in place of distance, and an ADU doesn't need sprinklers unless the main house is required to have them.

Construction access

Excavators and concrete trucks need a way in. Snap ADU, a San Diego builder, says that with less than about eight feet of clear vertical access to the back yard, some digging is done by hand or materials are craned in, typically adding $5,000–$8,000. A prefab unit needs crane reach: Abodu's published pricing includes a crane set up to 100 feet and utility trenching up to 50 feet, with longer runs quoted separately. See prefab ADUs in California.

Utilities

Every foot between the ADU and the house's water, sewer and power connections is a foot of trench. Snap ADU prices utility runs beyond its basic package at up to $200 per linear foot. Other backyard costs from the same builder:

Backyard ADU site costs in San Diego (Snap ADU estimates)
ItemTypical cost
Basic sitework, level lot with good accessAbout $35,000
Separate SDG&E meter$10,500–$15,000
Sloped lot (2–4 ft of grade)$10,000–$20,000
Retaining walls$20,000–$30,000+
Sewer pump, if neededAbout $5,000
Limited access (hand digging or crane)$5,000–$8,000
Utility runs beyond the base packageUp to $200 per linear foot

Source: Snap ADU's sitework guide. These are a builder's figures, not official fees. Placing the ADU near the house's existing connections, on the flattest part of the yard, is the simplest way to keep them down. Our ADU utilities guide covers meters, sewer and panels.

Backyard ADU cost

Lars Remodel's planning range for a detached ADU in San Diego is $250,000 to $450,000 or more (October 2026), and it names access, trenching, electrical capacity and drainage as the main site risks. Snap ADU's published prices (March 2026) by size:

Backyard ADU cost in San Diego by size (Snap ADU, March 2026)
SizeAll-in pricePer sq ftCity of San Diego fees (Feb. 2026 estimate)
500 sq ft, 1 bedAbout $300,000$600$10,734 at 499 sq ft
750 sq ft, 2 bedAbout $350,000$465$25,138 at 749 sq ft
1,000 sq ft, 2 bed / 2 bathAbout $425,000$425$26,430 at 999 sq ft
1,200 sq ft, 3 bed / 2 bathAbout $450,000$375$31,111 at 1,199 sq ft

Snap's all-in price assumes about $35,000 of level-lot sitework and standard finishes; it excludes city fees, demolition, retaining walls and a separate meter. Fees are from Snap ADU's fee table, not an official schedule.

Two costs are specific to a detached backyard unit. The Energy Commission says a newly built detached ADU needs new solar panels under the 2025 Energy Code unless an exception applies; attached units don't. And the utility trench is longer than for a conversion. On the plus side, the San Diego County Assessor adds only the new construction to your property tax; your house isn't reassessed.

For the full budget, see what an ADU costs in San Diego, ADU construction cost per square foot or the ADU cost calculator. For paying for it, read ADU financing.

Parking, renting and selling

A backyard unit changes how your lot works day to day. The rules that matter most:

  • Parking. A city can't require a parking space for an ADU within half a mile walking distance of public transit, including a bus stop, in a historic district, or within one block of a car-share vehicle. In the City of San Diego, ADU parking is required only in the Beach Impact Area outside transit priority areas. See California ADU laws.
  • Who lives where. There's no owner-occupancy requirement for an ADU. You can rent the backyard unit, rent the house and live in the backyard unit, or rent both.
  • Short-term rentals. San Diego requires ADU rentals to be for 31 days or more, so a backyard unit can't be a nightly vacation rental there. See ADU rental income in San Diego.
  • Selling it separately. The City of San Diego has opted into the state law that lets an ADU be sold separately as a condominium, with lender consent and a recorded condo plan. See ADUs in real estate.

Then think about shared space. Decide which part of the yard belongs to the tenant, where trash bins go and how the tenant reaches the door without crossing your patio. A side-yard path and a fence or hedge line cost little at the design stage and a lot to add later.

Planning the project

For the build itself, from site prep to final inspection, see the ADU construction process and how long an ADU takes.

Common questions

Can I build an ADU in my backyard?
In most cases, yes. On a single-family lot, California requires cities to approve a detached ADU of up to 800 sq ft with 4-foot side and rear setbacks, regardless of lot coverage or floor area limits.
How much does a backyard ADU cost?
In San Diego, Lars Remodel's October 2026 planning range is $250,000 to $450,000 or more. Snap ADU's March 2026 prices run from about $300,000 for 500 sq ft to about $450,000 for 1,200 sq ft, before city fees.
How close to the property line can a backyard ADU be?
A city can require no more than 4 feet. In the City of San Diego, an ADU 16 feet tall or less needs no side or rear setback outside high fire zones, but walls within 3 feet of the line can't have windows.
Is a backyard cottage the same as an ADU?
In California, yes, if it has its own kitchen, bathroom and sleeping area. Backyard cottage, casita and granny flat are informal names; the legal term is accessory dwelling unit.
Can I build two ADUs in my backyard?
Starting January 1, 2027, AB 956 allows two detached ADUs on a single-family lot. Until then, you can pair one detached ADU with a conversion ADU and a junior ADU.

Sources

General information, not legal or financial advice. Rules and fees change; confirm with your city's permit office before you rely on them.

Compare builders the state has checked.

Every San Diego builder on our list holds an active B license with a bond on file.