Accessory Structures and the Zoning Question

Why this matters

The backyard building gets its power, water and heat one trade at a time, and each trade assumes the building itself was somebody else's question. It usually was nobody's. A shed that was legal as storage can stop being legal the day it gets a mini-split, a sink and a futon, and the trade whose permit application describes the new use is often the one that brings the building to the zoning office's attention. Knowing which questions to ask before quoting keeps the shop from installing work on a building that is about to be ordered empty, moved or torn down.

Zoning and building code are two different questions

Trades think in building code: is the wiring right, is the drain sized, is the unit listed. Zoning is a different body of local law that decides what a building may be used for, how big it may be, and where on the lot it may sit. It is adopted by the city or county as its zoning ordinance or development code, and administered by a zoning or planning office that is often a different desk from the building department.

The two can disagree, and either can stop the job:

  • A building can meet every building code requirement and still violate zoning because it is too close to the lot line, too tall, or used as a dwelling where the district allows none.
  • A building can be zoning-compliant and still need building, electrical, plumbing and mechanical permits that nobody pulled.

A permit exemption under the building code does not answer the zoning question. The International Residential Code's R105.2 exempts small one-story detached accessory structures from a building permit (a size threshold the sibling card on sheds covers, along with the fact that the trade work inside still needs its own permit), but the zoning ordinance can still set a setback, a height cap and a use limit on that same exempt shed. See related: Sheds, Barns and Detached Garages.

The vocabulary zoning uses

  • Principal structure. The main building on the lot, usually the house.
  • Accessory structure. A building whose use is incidental and subordinate to the principal use: a shed, a detached garage, a pool house, a workshop. Most ordinances define it by use, not by size.
  • Accessory dwelling unit (ADU). A second complete living unit. Once a structure has the elements that make it a place someone lives, zoning treats it as a dwelling, with its own rules. State ADU law sits on top of local zoning in a growing number of states; the sibling card on ADUs owns that layer. See related: Tiny Homes, ADUs and Converted Garages.
  • Setback. The minimum distance from a lot line to a structure. Many ordinances let small accessory structures sit closer to side and rear lines than the house may, often on the condition that they stay under a stated floor area and height.
  • Lot coverage. The share of the lot that buildings may cover. A new accessory building can push a lot over the cap even when every setback is met.
  • Home occupation. A business run from a residence. A backyard building converted to a client-facing office may need a home-occupation approval separate from any building permit.

The line between storage and somewhere someone lives

The decisive zoning question for the trades is whether the work makes the building a dwelling. Ordinances draw that line differently, but most look at some combination of three things:

  • Sleeping. A space furnished or described for sleeping.
  • Cooking. A kitchen, which many codes define by a cooking appliance plus a sink, or a dedicated 240-volt range circuit.
  • Sanitation. A toilet, a shower or a bath.

A building with all three is a dwelling almost everywhere. A building with one is usually still accessory. The middle is where the variation lives: some towns allow a half bath in a workshop if the owner records a covenant stating the building will not be used for habitation, some prohibit plumbing in accessory buildings entirely, and some allow a full bath. Heating and cooling alone rarely makes a building a dwelling, but it is the change that turns a shed into a room someone will sleep in, and zoning staff know it.

This is why the trade request is a signal. "Run a water line to the shed for a sink" and "put a mini-split in the shed" are ordinary requests. "Add a toilet and a shower to the shed, and a mini-split, and a 50-amp feeder" describes a dwelling, whatever the customer calls it.

Questions to ask before quoting work in an accessory building

Question Why it matters Where the answer lives
Was the building permitted, and as what? Tells you whether the building exists legally and what use was approved The building department's permit history by address
What is it used for now, and what after your work? A use change can need zoning approval before any trade permit The customer, then the zoning code's use definitions
How far is it from each lot line? Sets both the zoning setback and the building code's fire separation The plat or survey, then a tape
How big and how tall is it? Size can remove a permit exemption or a reduced setback A tape, and the ordinance's own measuring rules
Is it on a foundation or skids? Some ordinances and most easement terms treat these differently Look underneath
Does the lot sit on septic? An added fixture adds load the system may not be designed for The septic permit; How to Find Out Whether a House Is on Sewer or Septic
Is the lot in a mapped flood zone? Accessory buildings in high-risk zones can be allowed only under use limits See related: How to Check a Flood Zone Before Quoting
Is there an HOA? Covenants are private restrictions separate from zoning and can be stricter The customer's HOA documents

Fire separation distance, the code question hiding in the setback

When a building sits close to a lot line, the building code adds its own requirement on top of zoning. Under IRC R302.1 and Table R302.1(1) in the 2021 edition, as adopted by your jurisdiction, an exterior wall whose fire separation distance (the distance from the wall to the lot line, measured perpendicular) is less than 5 feet must be fire-resistance rated, and the same table limits openings in walls close to the line. Detached tool and storage sheds, playhouses and similar structures that are exempt from permits are excepted from that wall protection under the section's own exception. A building that is too large for the exemption, or that has been converted to habitable use, is not.

The trade consequence: a line-set hole, a vent termination, a window for a through-wall unit or a dryer vent in a wall near the line can be a penetration or an opening in a rated wall, and the inspector will look at it that way.

A worked example: the backyard studio

A customer asks the shop for a ductless mini-split, a 40-amp feeder from the house panel, and a sink and toilet in a backyard building she calls her studio. She plans to rent it out to visiting family "sometimes".

What the site says. The building measures 12 by 20 feet, so 240 square feet of floor area (12 x 20). It sits on skids with a plywood floor, 3 feet from the side lot line and 9 feet from the rear line, per the plat and a tape from the found property pin. It has a window on the side wall facing the line. The house is on sewer.

What the record says. The office searches the permit history by address and finds no permit for the building. At 240 square feet it is over the 200-square-foot exemption in the IRC as most jurisdictions adopt it, though this jurisdiction could have amended that figure, so the office confirms the local number with the building department. On either reading of a 200-square-foot threshold, the building should have had a permit and did not.

What the zoning code says. The district's ordinance (read on the town's website) lets accessory structures under 200 square feet sit 3 feet from side and rear lines, and requires larger ones to meet the house's 7.5-foot side setback. At 240 square feet, the 3-foot location is 4.5 feet short of the larger figure (7.5 minus 3). The ordinance also defines a dwelling unit by sleeping, cooking and sanitary facilities, and permits detached ADUs only through an approval process.

Reading the request. A toilet plus a sink plus conditioning, in a building described as rented to family, puts the building squarely in the middle band: sanitation present, sleeping implied, cooking not yet. Whether that is a dwelling is the zoning office's call, not the shop's. What the shop can say is that the building already has two open questions (no permit, and a setback that does not fit its size) before any trade work is added.

Fire separation. The side wall is 3 feet from the line, which is under 5 feet. Because the building is over the permit exemption, the sheds exception does not reach it, so under the table as adopted the side wall would need a rating and the existing side window becomes an opening in it. A mini-split line set routed through that wall is a penetration the inspector will ask about. Routing it through the rear wall, which sits 9 feet from the rear line, keeps the trade work out of the problem.

What the shop quoted. Two things, in writing:

  • The feeder and the mini-split, conditional on a building permit for the existing structure and zoning confirmation of its location, with the line set through the rear wall.
  • The plumbing, declined until the customer has the zoning office's written answer on whether the building with a toilet is a dwelling, because a toilet and sink in a building the town later classifies as an unapproved dwelling are the first things ordered removed.

The customer was pointed to the zoning office with the plat, the building's dimensions, its distances from both lines, and a list of every fixture and circuit she wants. That is what lets the zoning staff answer in one visit.

What would have flipped it. A 180-square-foot building in the same spot would have met the reduced accessory setback and the permit exemption, and the sheds exception would have taken it out of the wall-rating requirement. The mini-split and feeder would then have been ordinary trade permits on an existing legal building. The toilet would still have needed a zoning answer, because the line between accessory and dwelling turns on use, not size. And on a lot served by septic, the toilet would also have needed the septic system's design load checked, because a fixture added to a building nobody counted in the original design is load the system was not sized for.

Where to stop

Stop and send the customer to the zoning office, before any rough-in, when the work adds sanitation to a detached building, when the building is unpermitted and over the local exemption, or when it sits closer to a line than its size allows. Walk in with the plat, the distances, the floor area and height, and a written list of the proposed fixtures and circuits. Zoning decisions can take weeks, so the schedule waits on them rather than the other way round.

References

  • The local zoning ordinance or development code, for accessory-structure setbacks, size and height limits, lot coverage and the dwelling-unit definition
  • International Residential Code R105.2 and R302.1 with Table R302.1(1), as adopted and amended by your jurisdiction (2021 edition cited)
  • See related: Sheds, Barns and Detached Garages; Tiny Homes, ADUs and Converted Garages
  • See related: How to Read a Plat and a Survey; The Public Record of a House and How to Read It
  • See related: How to Pull a Permit History Before You Trust the House