GovCodex
← Back to Blog

Can I Build a Garage or Shed in My Backyard?

Can I Build a Garage or Shed in My Backyard?
accessory structuresdetached garageshed permitsetbackslot coveragezoningWisconsinDoor County

Direct Answer: In most residential areas you can build a detached garage or shed in your backyard, but whether you need a permit and where exactly it can sit depends on your local zoning district's accessory-structure rules — typically size, height, setbacks from your property lines, and how much of your lot you can cover. Very small storage sheds are often exempt from a building permit (commonly 120 or 200 square feet, depending on which code your jurisdiction adopted), yet they still usually must obey zoning setbacks and lot-coverage limits. The only way to know your real answer is to check your municipality's zoning code, your parcel's district and overlays, and any shoreland, floodplain, or easement constraints on your specific lot.

Key Takeaways

  • A backyard garage or shed is almost always treated as an "accessory structure," which is governed primarily by your local zoning code, not just the statewide building code.
  • Small sheds are frequently exempt from a building permit under a floor-area threshold (often 200 sq ft under the base International Residential Code, but 120 sq ft in the International Building Code and many amended or older codes), but a zoning permit and setback/coverage rules can still apply.
  • The four numbers that usually decide your answer are maximum size, maximum height, required setbacks, and lot coverage (plus impervious-surface limits in some places).
  • In Wisconsin, the statewide Uniform Dwelling Code (UDC) does not apply to detached garages and accessory buildings (with a narrow exception), so the rules for them come from local ordinance.
  • Adding utilities, a slab/foundation, heat, plumbing, or habitable space can push a "shed" into a higher permit category — and possibly into Accessory Dwelling Unit (ADU) territory.
  • Shoreland, floodplain, wetland, historic, and easement overlays can change or block what you can build, regardless of the base zoning rule.
  • Gather your parcel ID, zoning district, a site/plot plan, and dimensions before you apply — it is the fastest way to a clean approval.

On This Page

Jump to any section of this guide:

What "Accessory Structure" Actually Means

When you set out to build a detached garage or shed, the first thing your local government does is classify it. In zoning language, a freestanding garage, shed, workshop, pole barn, or carport that is secondary to your house is an accessory structure (sometimes "accessory building"). Your house is the "principal structure"; everything else in the yard that has a roof and walls is usually accessory.

That classification matters because accessory structures get their own rulebook inside the zoning code — separate from the rules for your house. They typically have their own size caps, height caps, setback distances, and lot-coverage allowances. A shed and a three-car detached garage are both accessory structures, but the larger one is far more likely to trip a threshold that requires a permit, a site plan, or even a variance.

Why it matters

Getting the accessory-structure rules right protects you from three expensive outcomes: a stop-work order mid-build, a denied final inspection that stalls your project, and — worst case — an order to relocate or remove a structure that violates a setback. Lenders, insurers, and future buyers also care: an unpermitted garage can surface during a title search or appraisal and complicate a sale. Doing the homework first is almost always cheaper than fixing it later. If you are new to the underlying concept, our explainer on what a setback is and why it matters is worth a five-minute read before you stake out a footprint.

When the Rules Usually Apply

Here is the general pattern most U.S. municipalities follow. Treat these as typical ranges, not your local law — your actual numbers come from your zoning code.

FactorWhat it controlsTypical pattern (verify locally)
Maximum sizeTotal floor area of the accessory structureOften capped by square footage or as a percentage of lot/rear-yard area
Maximum heightWall height and/or peak heightFrequently 15–20 ft for accessory structures; often lower than the house limit
StoriesNumber of above-grade floorsAccessory structures are often limited to one story
SetbacksDistance from rear/side property linesCommonly several feet; can be reduced for small structures
Lot coverageShare of the lot covered by all buildingsA percentage cap that all structures share
Impervious surfaceTotal hard surface (roof + driveway + paving)A separate percentage cap in some districts, especially near water

A building permit usually becomes required once a structure exceeds an exemption threshold or involves structural, electrical, or plumbing work. The International Residential Code (IRC), which many states and cities adopt, exempts one-story detached accessory structures used as tool and storage sheds below a floor-area threshold. In the IRC's base text that threshold is commonly 200 square feet, while the International Building Code and many state or local amendments use 120 square feet — so the exact number depends on which code edition your jurisdiction adopted. Above that threshold, or once you add wiring, plumbing, or a heated/habitable interior, a building permit is the norm.

Crucially, a building-permit exemption is not a zoning exemption. Even a tiny, permit-exempt shed almost always still has to respect setbacks and lot-coverage limits. People conflate these two constantly, and it is the single most common reason a "no permit needed" shed ends up in violation.

When Exceptions May Apply

  • Very small sheds may skip the building permit but still need to meet zoning setbacks (and sometimes a simpler "zoning permit" or "zoning certificate").
  • Prefab or "portable" sheds on skids are sometimes treated more leniently than a slab-mounted structure — but not always; many codes regulate by size and use, not by whether it has a foundation.
  • Agricultural buildings on qualifying parcels can have different (often looser) rules.
  • Corner lots frequently have two front setbacks, which shrinks the buildable backyard area.
  • Easements (utility, drainage, access) can prohibit building over them even when zoning would otherwise allow it.
  • Overlay districts — shoreland, floodplain, historic, wetland — can add requirements that override the base district rule.

When your project does not fit the standard rule, the path forward is often a variance (relief from a specific dimensional rule) or a conditional use approval. Our homeowner's guide to zoning variances walks through when that is realistic and what the process looks like.

Local Variables That Change the Answer

The same shed can be perfectly legal on one lot and prohibited on the lot next door. These are the variables that move the answer:

  1. Municipality and jurisdiction type — city, village, town, or unincorporated county area. Each can have its own ordinance, and the administering office differs.
  2. Zoning district — R-1, R-2, residential-rural, etc. Each district sets its own size, height, setback, and coverage numbers.
  3. Overlay districts — shoreland, floodplain, historic, wetland, airport. These stack on top of base zoning.
  4. Parcel geometry — lot size, shape, frontage, corner status, and where existing structures already sit.
  5. Easements and recorded restrictions — plus any HOA covenants, which are private but enforceable.
  6. Project size, height, and use — a workshop, a car garage, and a "she-shed" with a bed and a sink are treated differently.
  7. Construction method and systems — slab vs. skids; wired vs. unwired; heated vs. unheated; plumbed vs. dry. Each "yes" tends to raise the permit tier.

To see exactly which lines on a map control your lot, our guide on how to read a zoning map before you build shows you how to find your district and overlays.

Utilities, Slabs, Foundations, and Habitable Space

This is where a simple shed quietly turns into a bigger project.

  • Electrical service. Running power to a detached garage typically requires an electrical permit and inspection, and often a properly sized feeder and disconnect. See our breakdown of building vs. zoning vs. electrical vs. plumbing permits.
  • Plumbing. A sink, floor drain, or bathroom adds a plumbing permit and connection requirements.
  • Slab or foundation. A concrete slab or frost-protected footing usually triggers a building permit and an inspection, partly because of frost-depth requirements in cold climates — the same physics covered in deck footings, frost depth, and code requirements.
  • Heat and insulation. Conditioning the space signals it may be intended for human occupancy, which raises energy-code and habitability questions.
  • Habitable space. Once a structure has heat, water, sleeping or living area, it can cross into Accessory Dwelling Unit (ADU) territory — a regulated category with its own approvals, and one many districts restrict or prohibit. If you are eyeing a living space, read can I turn my garage into an apartment? before you frame anything.

The driveway and apron matter too: garage access often requires an approved driveway connection or curb cut, and the added pavement counts toward impervious surface coverage, which some districts cap separately from building lot coverage.

Documents and Facts to Gather

Before you apply — or before you even ask the question precisely — collect these:

  • Your parcel ID and full property address.
  • Your zoning district and any overlay districts (from the municipal zoning map).
  • A plot/site plan showing property lines, existing structures, the proposed structure, and dimensions to each lot line.
  • Proposed footprint dimensions, total floor area, height, and number of stories.
  • A note on systems: electrical? plumbing? heat? slab vs. skids?
  • Your most recent survey if you have one (it resolves property-line disputes fast).
  • The relevant zoning code sections for accessory structures, and the permit application form and fee schedule.

A complete intake makes the difference between approval in days and weeks of back-and-forth. Our permit application checklist for home renovations is a good general template, and if budget is a factor, our guide on how much a building permit costs explains where the fees come from.

Common Mistakes

  • Assuming "permit-exempt" means "rule-exempt." Setbacks and coverage still apply to most exempt sheds.
  • Measuring setbacks from the wrong line (e.g., from a fence instead of the surveyed property line). The same trap shows up with fences — see our guide on fence permit rules, height, and setbacks.
  • Forgetting the overhang. Eaves and roof overhangs can count toward the setback in some codes.
  • Ignoring lot coverage. A garage may fit setbacks yet still push total coverage over the cap when combined with the house, deck, and existing shed.
  • Overlooking the driveway/impervious cap. Garage plus driveway can blow an impervious-surface limit near water.
  • Building over an easement.
  • Adding power or plumbing without the matching permit.
  • Calling a future living space a "shed" to dodge ADU rules — inspectors notice the wiring, heat, and plumbing.

Example Scenarios

Scenario 1 — The 10×10 storage shed. A homeowner wants a 100 sq ft prefab shed on skids, no power. In many jurisdictions this is under the building-permit floor-area threshold, so no building permit — but they still must place it the required distance off the rear and side lines and stay under the lot-coverage cap. A quick zoning check confirms it; no inspection needed. (Whether a permit is truly not required still depends on the threshold your jurisdiction adopted.)

Scenario 2 — The two-car detached garage. A 24×24 (576 sq ft) garage with a slab and a single 20-amp circuit. This clears most exemption thresholds, so it usually needs a building permit, an electrical permit, a site plan, and inspections. Height and the rear/side setbacks must be verified, and the new driveway apron may need a separate approval.

Scenario 3 — The lakefront "she-shed." A 200 sq ft structure with heat, a sink, and a loft bed, 60 feet from a lake. Now multiple systems are in play, the structure may read as habitable/ADU, and a shoreland overlay likely imposes a water setback and impervious-surface limit. This is the scenario most likely to need pre-application review or a variance.

Practical Checklist

  1. Identify your zoning district and overlays from the municipal map.
  2. Pull the accessory-structure section of your zoning code; note size, height, setback, and coverage numbers.
  3. Confirm the building-permit exemption threshold for sheds in your adopted building code.
  4. Sketch a scaled site plan with dimensions to each property line.
  5. Add up lot coverage and, if applicable, impervious surface including the driveway.
  6. Decide on systems (power, water, heat, slab) and map each to its permit type.
  7. Check for easements, shoreland, floodplain, wetland, and historic constraints.
  8. Locate the application form, fee schedule, and required documents.
  9. If you cannot meet a rule, evaluate a variance vs. a redesign.
  10. Submit a complete packet — incomplete applications are the top cause of delay.

Garage vs. Shed: How the Permit Path Usually Differs

Because a garage and a shed are both accessory structures but sit at very different sizes, their permit paths usually diverge. The comparison below is a typical pattern, not a guarantee — confirm each row against your own code.

QuestionSmall storage shedDetached two-car garage
Likely above building-permit threshold?Often no (under 120/200 sq ft)Almost always yes
Zoning setbacks apply?Usually yesYes
Counts toward lot coverage?YesYes
Foundation/slab inspection?Often none (skids)Usually yes (slab/footing)
Electrical permit?Only if wiredCommon (lighting, outlets, openers)
Driveway/apron approval?RareOften required
Variance more likely?Only on tight lotsMore likely (size + setbacks)

When DIY Crosses Into Permit Territory

A lot of backyard structures start as a weekend DIY project and quietly grow into something the code cares about. The line is rarely the tool you pick up; it is the scope — square footage above the exemption threshold, a poured slab, a circuit run from the panel, or a water line. Each of those moves you from "no permit" to "permit, inspection, and a paper trail." If you are unsure where your project sits on that spectrum, our guide on when a DIY project becomes a code problem lays out the usual triggers, and the difference between building, zoning, electrical, and plumbing permits explains which office signs off on which piece.

Definitions

  • Accessory structure / accessory building — A detached building secondary and incidental to the main house, such as a garage, shed, or workshop, on the same lot.
  • Setback — The minimum required distance between a structure and a property line.
  • Lot coverage — The percentage of a lot covered by buildings, capped by zoning.
  • Impervious surface — Hard surfaces (roofs, paving, driveways) that shed rather than absorb water; sometimes capped separately.
  • Zoning permit — Approval confirming a structure's location and size meet zoning rules (distinct from a building permit).
  • Building permit — Approval to construct, tied to structural/life-safety code compliance and inspections.
  • ADU (Accessory Dwelling Unit) — A secondary dwelling with living facilities; more heavily regulated than a plain accessory structure.
  • Ordinary high-water mark (OHWM) — The point that defines where shoreland regulation begins along a lake or river.
  • Variance — Permission to deviate from a specific dimensional zoning rule.
  • Overlay district — A supplemental zoning layer (shoreland, floodplain, historic) that adds rules on top of base zoning.

Why Local Rules Change the Answer

There is no national answer to "can I build a garage or shed," because the controlling rules live at the local level and stack in a specific order. Start with the municipality and jurisdiction type: a city, village, town, and unincorporated county each run their own ordinance and their own permitting office. Then your zoning district sets the base numbers — the accessory-structure size cap, height cap, setbacks, and lot-coverage percentage are all district-specific.

On top of the base district, overlay districts can override or tighten everything: a shoreland overlay adds a water setback and often an impervious-surface limit; a floodplain overlay can require flood-resistant construction or block building entirely; a historic overlay can dictate materials and placement; a wetland designation can be a hard stop. Your parcel boundaries and easements then determine where the structure can physically go — recorded utility, drainage, or access easements can forbid building even where zoning would allow it.

Finally, the project itself moves the answer: size, height, intended use, and construction method (attached vs. detached, structural slab vs. skids, wired, plumbed, heated, or habitable). Each step up tends to raise the permit tier.

So instead of "contact your local government" as a vague fallback, here is exactly what to check. Pull the zoning code chapter on accessory structures / accessory buildings for your specific district. Open the official zoning map to confirm your district and any overlays. If you are near water, check whether your county or municipality administers shoreland zoning and review the applicable NR 115-based ordinance. Get the plat/parcel map and your survey to locate property lines and easements. Then find the zoning permit application, the building permit application, and the fee schedule. The general statewide building code (in Wisconsin, the Uniform Dwelling Code) tells you the floor below which a building permit is not required and confirms that detached accessory buildings are governed locally — but the dimensional answer is in your local ordinance. Only when a document is genuinely silent or ambiguous should you call the office — and by then you will be asking a precise question, not "what are the rules?" Our guide on how to find your local building code without getting lost shows where these documents live.

A Local Example: Sturgeon Bay, Door County, Wisconsin

To make this concrete, here is how the layers apply in Sturgeon Bay, Wisconsin — clearly separating the general rule from the local specifics.

The general (state-level) rule. Wisconsin's statewide Uniform Dwelling Code (UDC) governs one- and two-family dwellings, but it does not apply to detached garages or accessory buildings. Wisconsin Administrative Code SPS 320.05(4) states that, with the exception of s. SPS 321.08(1), "the provisions of this code do not apply to detached garages or to any accessory buildings detached from the dwelling." The practical meaning: in Wisconsin, the dimensional and permit rules for your backyard garage or shed come from your local ordinance, not the statewide dwelling code (with the narrow dwelling-separation carve-out for attached or nearby structures noted in SPS 321.08).

Shoreland matters here. Sturgeon Bay sits on the bay of Green Bay and the Lake Michigan watershed, so shoreland zoning is very relevant for waterfront and near-water lots. Under Wisconsin's shoreland program (NR 115), shorelands extend 1,000 feet from the ordinary high-water mark of lakes, ponds, or flowages and 300 feet from a river or stream (or to the landward edge of the floodplain, whichever distance is greater). NR 115 sets the minimum standards that counties must adopt for unincorporated shoreland areas; within an incorporated city like Sturgeon Bay, the city's own shoreland provisions apply. Shoreland rules commonly add a water setback, an impervious-surface limit, and a vegetative buffer, any of which can change where (or whether) an accessory structure may go near the water.

Local specifics to verify. The exact Sturgeon Bay numbers — maximum accessory-structure square footage, maximum height, number of stories, rear/side setbacks, lot-coverage percentage, the building-permit floor-area threshold for sheds, and the precise zoning permit forms — should be read directly from the City of Sturgeon Bay zoning ordinance for your parcel's district. At the time of writing, the city's municipal code portal returned access errors during research, so those specific values are marked needs_research rather than guessed. The reliable path is to identify your parcel's zoning district on the city zoning map, open the accessory-structure section of the city zoning code, and confirm any shoreland or floodplain overlay on your lot.

ItemGeneral rule (sourced)Sturgeon Bay specific
Detached garage/shed under UDCExempt from statewide UDC, except SPS 321.08(1) (SPS 320.05(4))Same — governed by local ordinance
Shoreland zone distance1,000 ft lakes / 300 ft rivers (NR 115.03(8))Applies to near-water lots; verify overlay
Accessory size/height/setbacksSet by local zoningneeds_research (read city code for the district)
Lot coverage / impervious capSet by local zoning/shorelandneeds_research
Building-permit shed thresholdOften 120 or 200 sq ft (IRC / IBC, varies by adopted code)needs_research (confirm adopted edition)

People Also Ask

  • Do I need a permit for a shed under 120 square feet? Often not a building permit, but usually still subject to zoning setbacks.
  • How close to the property line can a detached garage be? Whatever your district's accessory setback says — there is no universal number.
  • Does a garage count toward lot coverage? Yes, almost always.
  • Can I run electricity to my shed myself? It typically requires an electrical permit and inspection regardless of who does the work.

How GovCodex Helps

Going from "I want a garage or shed" to "I understand exactly what my property allows" usually means stitching together a zoning map, a code chapter, a parcel record, and a couple of permit PDFs. GovCodex is built to do that stitching for you, with human review where it counts.

  • Identify permit triggers. Describe your structure — size, height, slab, power, plumbing — and GovCodex flags which permit types (zoning, building, electrical, plumbing) are likely in play.
  • Interpret local code. It searches your municipality's actual ordinance for the accessory-structure rules and surfaces the relevant sections instead of generic averages.
  • Gather the facts. It pulls parcel and zoning-district context and helps you assemble the size, height, setback, and coverage numbers that decide your case.
  • Upload and analyze documents. Drop in a survey, a site photo, or a permit PDF, and GovCodex reads it to spot easements, dimensions, and missing information.
  • Build a permit-readiness checklist tailored to your project and jurisdiction.
  • Draft descriptions and site-plan notes you can adapt for an application.
  • Compare options — slab vs. skids, attached vs. detached, garage vs. carport — and how each changes the permit path.
  • Separate facts from assumptions, clearly labeling what is confirmed from a source versus what still needs local verification, and pointing you to the right application and localized next steps.

Describe your project, upload any site documents or photos you already have, and GovCodex can help organize the rules, documents, and next steps for your property.

Frequently Asked Questions

Do I always need a permit to build a shed in my backyard?

Not always. Many jurisdictions exempt small one-story storage sheds from a building permit below a floor-area threshold (commonly 200 square feet under the base IRC, or 120 square feet under the IBC and many amended codes). However, you usually still must follow zoning setbacks and lot-coverage limits, and a separate zoning permit may apply. Always confirm the threshold in your adopted code.

Does a detached garage need a permit if a shed that size doesn't?

Often yes. Garages are typically larger than the shed exemption threshold and usually involve a slab, structural framing, and frequently electrical service — all of which generally require building and sometimes electrical permits. Use your local exemption threshold and systems checklist to confirm.

How close to my property line can I build a garage or shed?

That distance is set by your zoning district's accessory-structure setback, so there is no universal figure. Some codes reduce setbacks for small structures and measure to the eave or overhang rather than the wall. Read your district's setback rule and measure from the surveyed property line.

Does a backyard garage count toward lot coverage?

Almost always, yes. Lot coverage caps usually apply to all buildings on the lot combined, so a new garage adds to whatever your house, deck, and existing structures already cover. Add everything up before assuming a garage fits.

Can I put electricity or plumbing in my shed or garage?

You usually can, but adding power generally requires an electrical permit and inspection, and adding water or a drain requires a plumbing permit. These are separate from the building permit. Plan for them so your inspections pass cleanly.

Does a concrete slab change whether I need a permit?

It often does. A slab or frost-protected foundation typically triggers a building permit and a footing/foundation inspection, partly due to frost-depth requirements in cold climates. A small shed on skids is more likely to stay exempt than the same shed on a poured slab.

When does a shed or garage become an ADU?

Once a structure has the elements of independent living — heat, plumbing, sleeping or living space — it can be reclassified as an Accessory Dwelling Unit, which is regulated separately and restricted or prohibited in many districts. If you intend a living space, treat it as an ADU question from the start, not a shed question.

How do shoreland rules affect a garage or shed near water?

If your lot is within the shoreland zone (1,000 feet from a lake, pond, or flowage, or 300 feet from a river or stream under Wisconsin's NR 115 framework), additional water setbacks, impervious-surface limits, and vegetative-buffer rules can apply. These can change where the structure may go or require a permit you wouldn't need elsewhere. Check whether your municipality or county administers shoreland zoning for your parcel.

Are detached garages covered by Wisconsin's Uniform Dwelling Code?

Generally no. Wisconsin Administrative Code SPS 320.05(4) states that the UDC does not apply to detached garages or accessory buildings detached from the dwelling, with the exception of the dwelling-separation requirement in SPS 321.08(1). That means the dimensional rules for your backyard garage or shed come from your local zoning and building ordinance, not the statewide dwelling code.

Does a prefab shed on skids count differently than one on a slab?

Sometimes. Many codes regulate accessory structures by size and use rather than by foundation type, so a portable shed can still trip setback and coverage rules. That said, a slab or footing is more likely to trigger a building permit and a foundation inspection than skids. Check whether your jurisdiction keys its exemption to size, use, or permanence.

What documents should I gather before applying?

At minimum: your parcel ID, zoning district and overlays, a scaled site plan showing property lines and the proposed structure with setback dimensions, the structure's floor area and height, a note on any utilities, and the application form plus fee schedule. A complete packet is the fastest route to approval and avoids the back-and-forth that delays most projects.

Related Articles