Accessory Building Definition: Types, Setbacks, and Permits

An accessory building is a structure on the same lot as a primary dwelling whose use is subordinate to and incidental to that main building. Detached garages, storage sheds, workshops, pool houses, and backyard guest cottages all fit the category, but the rules that govern them vary sharply depending on the type of building, its size, where it sits on your lot, and what you plan to do inside it.

Three elements have to line up for a structure to qualify. It must sit on the same parcel as the principal building. Its function must support the main use rather than replace it. And it must be clearly smaller and less prominent than the primary structure. A pool house behind a single-family home qualifies. A second full-sized house on the same lot almost certainly does not.

On top of that basic definition, local codes layer dimensional and construction rules: maximum height, maximum floor area relative to the lot or the main dwelling, setbacks from property lines, and standards for materials, fire resistance, and structural integrity. The point of those layers is to keep the accessory building from overwhelming the primary structure or the neighborhood around it.

Common Types and How the Rules Differ

Storage Sheds

Sheds are the simplest case. Because their footprint is small, many jurisdictions exempt one-story sheds below a certain size from building permit requirements. The most common threshold is 120 to 200 square feet, though the exact cutoff varies. A permit exemption doesn’t erase zoning: the shed still has to sit outside setbacks and off any easement, and any electrical or plumbing work needs its own permit.

Detached Garages

Detached garages almost always require a building permit. They face stricter dimensional rules, including height limits, setbacks from streets and neighboring properties, and sometimes design requirements that the garage’s materials or style match the primary dwelling. Corner lots tend to draw the most restrictive placement rules, since the garage may need to meet front-yard setbacks on the street-facing side.

Accessory Dwelling Units

ADUs are the most heavily regulated type because they contain living space. An ADU is a small independent home with its own sleeping, cooking, and bathroom facilities, built on the same lot as a primary residence. The kitchen is the key legal dividing line. Adding full cooking facilities (a sink, a cooking appliance, and a refrigerator) to any accessory building generally reclassifies it as an ADU, which triggers a different set of zoning rules, inspections, and permit steps. Timelines are longer, fees are higher, and documentation is more detailed than for a shed or garage.

Home Offices and Workshops

Using an accessory building as a home office or workshop is allowed in most residential zones, but zoning codes usually treat it as a home occupation with its own restrictions. Typical limits include no customer foot traffic, restrictions on signage, caps on the number of employees who can work in the space, and a requirement that the business activity stay secondary to the residential character of the property. If the commercial use grows past what the code considers incidental, the structure can lose its accessory classification.

Setbacks, Fire Separation, and Placement

Where you put an accessory building is governed by setbacks, which dictate minimum distances from property lines, streets, and other structures. Typical side and rear setbacks run from 3 to 10 feet from property lines, though the exact distance depends on your zoning district, lot size, and the height of what you’re building. Most jurisdictions prohibit accessory buildings in front yards altogether.

Fire separation is the other big constraint. Under the model building code, an accessory building within 3 feet of a property line must have fire-rated exterior walls, and wall openings such as windows and doors are generally prohibited on the side facing that property line. Small tool sheds and storage buildings that are exempt from permit requirements get an exception from these fire-rating rules in many jurisdictions, but detached garages do not. Roof eave projections on detached garages near lot lines are typically limited to 4 inches.1International Code Council. IRC Section R302.1 Exterior Walls – Building Planning

Some jurisdictions treat an accessory building within 6 feet of the primary dwelling as part of the main structure rather than a separate one. When that happens, the accessory building must meet the same setback and code requirements as the house itself, which can be significantly more restrictive.

Easements are a common trap. If your property carries an easement for power lines, sewer, or water, you generally cannot place any permanent structure inside it. A survey is the only reliable way to identify easement boundaries before you start.

Zoning and Permits Are Two Separate Layers

Zoning and building permits are separate approvals, and you need to clear both. Zoning decides whether your proposed building is an allowable use in your district, where it can sit, and how big it can be. Building permits confirm the design and construction meet safety codes. Submitting for one doesn’t satisfy the other.

Most permit applications require a site plan showing the proposed location, setback distances from property lines, and the building’s dimensions. For a small shed below the exemption threshold, a zoning review and a site plan may be all you need. For larger structures and ADUs, expect full construction drawings, structural calculations, and inspections at multiple stages.

When You Don’t Need a Building Permit

Most jurisdictions exempt small, single-story storage buildings from building permit requirements, with the threshold falling somewhere in the 120 to 200 square feet range. Zoning compliance still applies, and separate permits are still required for any electrical, gas, mechanical, or plumbing work. A shed that doesn’t need a building permit still needs an electrical permit if you wire it for lighting.

What Skipping the Permit Costs You

Building without required permits is a shortcut that tends to cost more than it saves. Code enforcement can issue stop-work orders, daily or weekly fines, and ultimately require you to tear the structure down. Even if it stands unnoticed for years, the problem resurfaces at sale. Title searches and buyer inspections routinely flag unpermitted structures, and lenders may refuse to finance the purchase until the issue is resolved. Retroactive permitting is sometimes possible, but it often means opening walls for inspection and making costly corrections, assuming the structure can meet current codes at all.

When an Accessory Building Gets Reclassified

An accessory building can lose its classification and get treated as a primary structure or a different use category. The common triggers:

  • Adding full cooking facilities (sink, stove or cooktop, and refrigerator) to a shed, garage, or workshop generally converts it into an ADU, with a different regulatory framework attached.
  • Exceeding the jurisdiction’s size or height maximums for accessory buildings can push a structure into primary-building status, which brings larger setbacks and full residential code compliance.
  • Changing the use, such as turning a detached garage into a full-time rental apartment or a workshop into a retail storefront, changes the occupancy classification and requires new permits, possibly a zoning variance, and inspections for the new use.
  • Independent utility meters, a separate mailing address, and separate service connections start to make an accessory building look like an independent dwelling rather than a subordinate structure.

Reclassification isn’t a paperwork issue alone. A structure that no longer qualifies as accessory may violate setbacks that were acceptable for a subordinate building but not for a primary one, which can force expensive modifications or demolition.

Adding Utilities Triggers Its Own Permits

Running electricity, plumbing, or gas to an accessory building requires permits even when the building itself was exempt. Electrical work almost always needs its own permit and inspection. Plumbing connections for a bathroom or sink need a plumbing permit. Gas piping for a heater or workshop equipment needs a mechanical permit. Each trade permit is separate from the building permit and carries its own inspection.

A bare storage shed may need no permits at all, but adding a light switch and an outlet requires at least an electrical permit. Add a bathroom and you’ve triggered plumbing permits. Add heating and you’ve triggered mechanical permits. Enough utilities pushing the building toward habitable space, and you’re back in ADU territory.

HOA Rules and CC&Rs Sit on Top of Code

Zoning and building codes are the legal floor. Homeowners association rules and private deed restrictions, often called CC&Rs, can impose requirements well above that floor. Passing local inspection doesn’t mean the HOA will approve the structure.

Common HOA requirements include mandatory architectural review before construction begins, restrictions on exterior materials and colors so the accessory building matches the primary home, height limits stricter than the municipal code, and placement rules that keep accessory buildings out of sightlines from streets and common areas. Some associations ban certain types outright, including metal sheds or structures above a specified size. Enforcement can include daily fines, liens, and in some cases required removal of a non-compliant structure. Check your CC&Rs and submit for architectural review before starting, even if your building permit is already in hand.

Insurance and Property Tax Effects

Homeowners Insurance

Standard homeowners policies cover accessory buildings under Coverage B, often labeled “other structures” coverage. It applies to structures on your property that aren’t physically attached to the home, including detached garages, sheds, fences, and gazebos. Most policies set the Coverage B limit at 10% of your dwelling coverage (Coverage A). A home insured for $400,000 typically carries $40,000 of other structures coverage.

That default may fall short for a large detached garage or a finished ADU. You can usually increase Coverage B by paying a higher premium. Structures used for business or rented out as separate living spaces may not be covered under a standard homeowners policy at all. A detached office where you see clients, or a backyard cottage listed on a rental platform, may need a separate commercial property or landlord policy.

Property Taxes

Adding an accessory building will likely raise your assessed value and your property tax bill. County assessors typically reassess a property when new construction is completed, and the added value rolls into your total assessment. A basic storage shed may add a modest amount, while a finished ADU with plumbing, electrical, and climate control can add substantially more. Check with your local assessor’s office before construction so you know what to expect.

ADU Legislation and Financing Are Shifting

ADUs have become a central piece of housing policy, and the regulatory picture is moving quickly. As of mid-2025, 18 states had passed laws broadly allowing homeowners to build and rent ADUs, with 11 of those laws enacted in the previous four years. The strongest state-level ADU laws eliminate owner-occupancy requirements, limit parking mandates, and require permits to be issued by right rather than through discretionary review.

Financing has followed. Fannie Mae now allows rental income from an existing ADU to count toward a borrower’s qualifying income on a mortgage, subject to conditions including that the property is a one-unit principal residence, that rental income comes from only one ADU, that the transaction is a purchase or limited cash-out refinance, and that the ADU rental income does not exceed 30% of total qualifying income.2Fannie Mae. Rental Income That policy makes it easier to finance ADU construction by counting expected rental income toward loan qualification, which earlier guidelines didn’t allow.

If your jurisdiction currently restricts ADUs, it’s worth watching state legislation, since new laws can override local restrictions and open up options that weren’t available the last time you checked.