Do You Need a Building Permit to Build a Shed?
Updated 6 min read
Short answer
Often no. The model building code (IBC 105.2) exempts one-story detached sheds up to 120 sq ft, and the residential code (IRC R105.2) uses 200 sq ft. Local amendments, utilities and zoning setbacks can still require approval.
- IBC exemption for sheds
- 120 sq ft or less
- IBC 105.2 (Bozeman, MT handout)
- IRC exemption for accessory structures
- under 200 sq ft
- IRC R105.2 (Coconino County, AZ)
- Sacramento County exempt band
- 120-200 sq ft, one story, under 12 ft
- Sacramento County GI-20
On this page (6)
Do you need a building permit to build a shed? Often not, if it is small. The International Building Code (IBC) exempts one-story detached sheds of 120 square feet or less, and the International Residential Code (IRC) exempts detached accessory structures under 200 square feet. Those are model-code defaults. Your city or county adopts one edition, often changes the number, and may still require a zoning or utility permit.
So the real answer has three parts: which code your jurisdiction applies to a shed, what size and use limits it puts on the exemption, and whether zoning or utilities pull you back into the permit process.
Which code sets the shed size limit
Two model codes give two different numbers, and that is the source of most conflicting advice online.
| Code | Exemption language | Size limit |
|---|---|---|
| IBC Section 105.2 | One-story detached accessory structures used as tool and storage sheds, playhouses and similar uses | 120 sq ft or less (Bozeman, MT handout quoting the 2021 IBC) |
| IRC Section R105.2 | One-story detached accessory structures such as tool and storage sheds | Under 200 sq ft (Coconino County, AZ, citing the 2018 IRC) |
IBC Section 105.2
- Exemption language
- One-story detached accessory structures used as tool and storage sheds, playhouses and similar uses
- Size limit
- 120 sq ft or less (Bozeman, MT handout quoting the 2021 IBC)
IRC Section R105.2
- Exemption language
- One-story detached accessory structures such as tool and storage sheds
- Size limit
- Under 200 sq ft (Coconino County, AZ, citing the 2018 IRC)
Which one applies depends on how your jurisdiction regulates detached accessory structures on a house lot. Some use the IRC figure, some use the IBC figure, and some split the difference. Sacramento County, California publishes a sheet that exempts detached structures under 120 sq ft and under 9 ft tall, and a second band of 120 to 200 sq ft that is exempt only if it is one story and under 12 ft tall. The City of Sacramento is stricter: its handout requires a building permit for a detached non-living structure of 120 sq ft or more.
Two neighbors a few miles apart can get different answers. Treat any number you read in an article, including this one, as a starting point.
Conditions that come with the exemption
The size limit is rarely the only test. Local handouts that restate the model code add conditions like these:
- Use. Sacramento County's older sheet says the structure cannot be used for human habitation or commercial use.
- Height. The same sheet caps height at 9 ft. Ventura County's amendment uses 15 ft.
- Enclosure. Sacramento County says the structure cannot be enclosed on more than three sides.
- Count and shape. One municipal code found in search limits each lot to two exempt structures, each at 200 sq ft, with 24-inch eaves and a 10 ft wall height.
- Mechanical and plumbing. One county document found in search says the structure must not contain plumbing or mechanical equipment.
The IBC itself says exemptions do not grant authorization for work that violates the code. An exempt shed still has to be safe and still has to follow the rest of your local rules.
Expirations slip when nobody owns the date. Track filing and permit dates with reminders →
When a shed needs a permit even under the size limit
Electricity, plumbing and gas
Running power to a shed is the most common reason a small one ends up permitted. Sacramento County's sheet says electrical or plumbing added to an exempt structure needs a miscellaneous permit. Phoenix says that when utilities are provided to a detached accessory structure that is exempt from permit, a permit is required for the utility installation. The City of Sacramento requires a permit for any associated gas, mechanical or electrical work.
If you want a light and an outlet, plan for an electrical permit even if the shed itself is exempt.
Zoning and setbacks
A building permit exemption is not a zoning exemption. Search results from several jurisdictions make the same point: setbacks, lot coverage and height limits apply whether or not you pull a building permit. Kitsap County's amendment, for one, says the exempt structure must meet all zoning and building setbacks. Some places even keep a separate location or zoning permit. Wichita, for example, still requires a location permit for structures that are exempt from building permits.
Sacramento County's planning handout shows how setback rules can bend for small sheds: structures of 120 sq ft or less and 9 ft tall may sit on the property line there. Elsewhere that would be a violation. Check your zoning code before you pick a spot.
Foundations, lofts and sizes over the limit
If the shed has a loft, a permanent foundation or a footprint over the threshold, assume a permit. One local code found in search excludes structures with loft storage from the exemption.
How to check your own address
- Find the adopted code. Search your city or county name with "adopted building code" or "building code amendments." Note the edition and any local change to Section 105.2 or R105.2.
- Read the local exemption handout. Many building departments publish a one-page list of work exempt from permit. It will give the size, height and use conditions in plain terms.
- Check zoning separately. Look up your zone's accessory-structure rules: setbacks, height, lot coverage and number of structures.
- Check utilities. Decide now whether the shed gets power, water or gas. Each one adds a permit step.
- Check private rules. HOAs and recorded covenants can limit sheds regardless of what the city requires. Search results mention HOA rules as a common extra constraint.
- Call or email the building department. Ask the question with your size, height and utilities. Keep the reply.
Jurisdiction rules for larger projects are collected on pages like Los Angeles building permits. For fee and process questions on shed-size and larger work, see how much a building permit costs and how long a building permit is good for.
What happens if you build without one
Skipping a required permit can be expensive. Search results from local authorities say they can order the structure moved or taken down completely. Building the shed first and asking later puts you in the worst position: you may need to open walls for inspection or remove the work. If you are unsure, ask first. It costs a phone call.
If you do need a permit, the application usually wants a site plan showing the shed's location and distances to property lines, plus the shed's dimensions and height. If you manage several permits at once, see how plan check correction tracking works.
Common questions
What size shed does not need a permit?
Under the IBC the cutoff is 120 sq ft; under the IRC it is 200 sq ft. Local codes change both numbers, and many add height, use and enclosure limits. Get the number from your building department's exemption handout.
Do I need a permit for a shed with electricity?
Usually yes for the electrical work, even when the shed is exempt. Sacramento County and Phoenix both say utility installation in an exempt structure needs its own permit. Ask your department which permit applies.
Do I need a permit for a prefab or kit shed?
The code looks at size, height and use, not how the shed was made. A prefab shed over your local threshold needs a permit like any other. Under the threshold it is exempt on the same terms as a site-built one.
Can I put a shed on the property line?
Only if your local code allows it. Sacramento County's planning handout allows sheds of 120 sq ft or less and 9 ft tall on the line. Many jurisdictions require a setback. Check your zoning code.
Does a shed that is exempt from a building permit need to follow the code?
Yes. The IBC states that exemptions are not authorization for work that violates the code. Zoning, structural safety and utility rules still apply.
Put every permit date on the calendar
Add the dates as tasks with an owner. Reminders go out 7 and 3 days before, the day before, and on the day.