Do You Need a Permit for a Shed? Size Limits, Setbacks and HOAs

“Do I need a permit for a shed?” is one of the first questions people ask, and the honest answer is: it depends on where you live and how big the shed is. But the rules follow a common pattern in most of the US, and knowing it tells you which questions to ask your town.
The building code exemption
Most US towns base their building rules on the International Residential Code (IRC) or the International Building Code (IBC). Both exempt small sheds from a building permit:
- The IRC exempts one-story detached accessory structures, such as tool and storage sheds and playhouses, with a floor area of no more than 200 sq ft.
- The IBC sets the same exemption at 120 sq ft.
Towns can and do change these numbers. Some use 100, 120 or 144 sq ft; some exempt only sheds without electricity; some count the roof overhang. So the code exemption tells you what is likely, and your building department tells you what applies.
The exemption covers the building permit only. It does not let you ignore the other rules, and the shed still has to meet them.
Zoning rules apply to every shed
Zoning, set by your town or county, decides where a shed may go and how big it may be, permit or not. Typical rules include:
- Setbacks: a minimum distance from the side and rear property lines, often 3 to 10 ft, and more from the street. Many towns do not allow sheds in the front yard at all.
- Height: a maximum height, often 10 to 15 ft to the peak.
- Lot coverage: a limit on how much of the lot can be covered by buildings, which can matter on small lots.
- Distance from the house: some codes want a gap of a few feet, partly for fire safety.
- Easements: you usually cannot build over a utility or drainage easement, even if it is in your yard.
Some towns want a zoning permit or a simple site plan even for a shed that needs no building permit.
When you will need a permit anyway
- Electricity: running power to a shed nearly always needs an electrical permit, whatever the shed’s size.
- Plumbing and gas lines need their own permits.
- Living or working space: a home office, studio or guest room is not a storage shed, and the exemption usually does not apply.
- Foundations: some towns treat a shed on a poured slab differently from one on skids.
- Floodplains and historic districts often have extra rules.
- Carports are usually not covered by the shed exemption; check them separately.
HOA rules
If you live in a community with a homeowners association, its rules can be stricter than the town’s: approval before you build, limits on size and height, matching siding and roof colors, or no sheds at all. Get approval in writing before you order.
How to check, step by step
- Decide on the size. The shed size calculator shows the area of every common size, and the shed sizes guide what fits in each.
- Look up your town’s building department and zoning code online, or call. Ask for the permit threshold for accessory structures, the setbacks for your zone, and the height limit.
- Find your property lines on the plat or survey, and check for easements.
- Check your HOA rules if you have one.
- Call 811 before you dig the foundation.
What if you skip the permit?
A shed built without a required permit can lead to fines, an order to apply after the fact (often at a higher fee) or to remove it, and problems when you sell the house, because buyers’ inspectors and lenders may ask about unpermitted structures. Setback violations are the hardest to fix, because the only cure is to move the shed. A phone call before you build is much cheaper.


