Do I need a permit for a shed? The honest answer is that no number here is yours until you check it, because the size that triggers a permit, the distance a shed must sit from your property line, and whether a permanent foundation or electrical hookup pushes a small shed into permit territory are all set locally, not nationally. What you can actually do today is learn exactly which two offices hold your real answer and what to ask them. That takes an afternoon, not a permit-review cycle.
Do I Need a Permit for a Shed? Why There's No Single National Answer
Most US building departments start from a model code rather than writing their own from scratch. The International Code Council's residential code sets a default: one-story detached accessory structures, including sheds, are exempt from a building permit under IRC Section R105.2 (read 2026-09-18), as long as the floor area stays under the model's threshold.
That single number is exactly why a national article cannot give you a reliable figure. Close to half of the states and cities that adopt this code amend the threshold before it reaches your address, some cutting it by more than a third, and plenty of places set their own height limit alongside it that the base code does not mention at all. Knowing the model default tells you why the range exists. It does not tell you your number.
A Building Permit and a Zoning Setback Are Two Different Approvals
This is the part most shed-buying guides blur together. A building permit is about whether the structure itself is safe: framing, foundation, sometimes electrical. It is issued by a building department and it is the piece with a size threshold attached.
A setback is a zoning rule: how close a structure of any size can sit to your property line, a street, or an easement. It is issued, or simply enforced, by a planning or zoning department, and it applies whether or not your shed needed a building permit in the first place. A shed small enough to skip the building permit entirely can still be sited illegally, and skipping the paperwork does not mean nobody checks. It means the checking becomes your job instead of the department's.
The same split shows up elsewhere in a yard. A backyard fire pit's permit question gets decided by an entirely different set of departments than a shed's, right down to which office you call first, which is one more reason neither one reduces to a single chart.
What Turns a Small Shed Into a Permit Project, Regardless of Size
A handful of factors override the size exemption everywhere it exists, because they change what the department is actually inspecting for:
- A permanent foundation. A poured footing, a frost-depth post foundation, or a slab tends to get treated as construction, not as a shed sitting on skids, gravel, or blocks.
- Electrical or plumbing service. Running power to a shed beyond a single plug-in extension is electrical work behind the meter, which is licensed-electrician territory in most jurisdictions no matter how small the building is, and it typically pulls its own inspection separate from the shed's structural sign-off.
- An HOA covenant. A homeowners association can require its own approval and set stricter size or placement rules than the city does, and the HOA's yes does not substitute for the city's, or the other way around.
- A flood zone, wetland buffer, or easement. These override the standard exemption in the specific parcels they cover, and they show up on your county's own maps, not on a national list.
- A historic district. Some districts regulate accessory-structure appearance and placement even when size would otherwise exempt it.
None of these depend on how many square feet your shed is. They depend on your parcel, which is exactly why the next section is the actual point of this page.
How to Find Your Town's Exact Rule in an Afternoon
This is the method the working title promises, and it is genuinely one afternoon of work.
- Search "[your city or county] accessory structure ordinance" or "[your city] zoning code shed." Most municipal codes are hosted free on a public code library, and the accessory-structure or "detached structures" section is usually short.
- Open your county's GIS or parcel viewer and look up your address. It will show your zoning district, and the ordinance's size and setback rules are written against that district, not against the city as a whole. This is the step most homeowners skip and the one that makes the phone call below actually productive.
- Call the building or zoning department and ask three specific questions, not one general one: "What is the maximum floor area before a shed needs a building permit in my zoning district?" "What is the required setback from my rear and side property lines?" and "Does a permanent foundation, electrical service, or plumbing change either answer?"
- If you have an HOA, ask the same three questions of the board or management company separately, in writing. An HOA covenant can be stricter than the city's zoning, and neither office enforces the other's rule.
- Get the answer in an email or a printed permit-desk handout, not just a note from a phone call. You want something to show a future buyer, an inspector, or a neighbor, not a memory of what someone told you in June.
What Happens If You Build First and Ask Later
Skipping the check does not remove the rule, it just moves the discovery to a worse moment. A department that finds an unpermitted or misplaced shed after the fact can issue a stop-work order, require a retroactive permit application (which usually costs more and takes longer than applying up front), or in a setback violation, order the structure moved or removed at the owner's expense. An unpermitted structure with no inspection record can also complicate a home sale disclosure later, or slow down an insurance claim if the shed is damaged in a storm and the insurer asks whether it was built to code. None of that is a reason to panic; it is a reason to make the one phone call before you buy materials rather than after.
Wind, Anchoring, and the Manufacturer's Manual: A Different Office, A Different Number
Once you know your size ceiling and setback, a separate question comes up before install day: how the shed gets anchored against wind. This is not a permit question in most places, and it is not a number a general article can give you either, because the right anchoring depends on your specific shed's material and footprint, your local wind exposure, and what the manufacturer engineered that model to handle.
That is why the right source here is the shed's own installation manual for your exact model, not a rule of thumb. ShelterLogic's own foundation and anchoring guidance (read 2026-09-18) is a useful example of what a manufacturer actually publishes: it walks through matching anchor type to ground surface and wind exposure, and it still tells the buyer to confirm any local wind-load requirement with the permit office rather than assuming one number applies everywhere. In coastal and high-wind counties, some building departments fold the anchoring plan directly into the permit application, so it is worth asking about while you already have that office on the phone. It is the same physics that can tip an unanchored patio heater in a gust a shed's frame would shrug off, just scaled up to a much larger surface area catching the wind.
Choosing the Shed Itself Once You Know the Rule
Once your size ceiling and setback are confirmed, let that number drive the shed decision instead of the other way around, so you are not shopping for a 10×12 only to learn your lot allows 8×10 near the fence line. Material is the next real trade-off, and it has nothing to do with permits. If a metal shed is the front-runner because it is usually the cheapest option for the footprint your permit search just cleared, plan for the one thing metal does worse than the others before it becomes a surprise: How to Stop Condensation in a Metal or Resin Shed covers what actually helps once the shed is up and full of tools.
FAQ
Do I need a permit for a shed under 100 square feet? Not automatically. Some building departments set their size exemption below 100 square feet, and none of the other triggers (permanent foundation, electrical service, HOA rules, zoning setback) care about size at all. A small shed still needs the same call to confirm both numbers for your address.
Is a shed exempt from a building permit also exempt from setback rules? No. A permit exemption comes from the building code and is based on size; a setback comes from the separate zoning code and applies regardless of whether the shed needed a building permit. Confirm both, since they come from different offices and different rules.
Does putting a shed on gravel or pavers instead of a slab change whether I need a permit? It can. A non-permanent base like gravel, patio blocks, or skids is treated differently in most jurisdictions than a poured footing or slab, which tends to shift a project into building-permit territory. Ask the building department directly what counts as "permanent" in your area before you pick a base.
Does adding electricity to a shed change the permit requirement? Generally yes. Running power beyond a single extension cord into a plug-in outlet is electrical work that typically needs its own permit and licensed-electrician sign-off, independent of the shed's size or the building department's structural exemption.
What should I do if my HOA and my city give different answers? Follow whichever rule is stricter, since an HOA covenant can add restrictions on top of city zoning but cannot waive a city or county requirement, and the city cannot waive an HOA covenant either. Get both answers in writing before you buy the shed.