PERMITS
Do You Need a Permit for a Backyard Office or Shed?
This guide may contain affiliate links. If you buy through them we may earn a commission at no extra cost to you. It never changes what we recommend. How we make money.
Short version: a small backyard building often doesn't need a building permit, but the moment you run electricity to it, you almost certainly need an electrical permit. And even permit-free buildings still have to follow zoning rules like setbacks. Here's how it usually works and exactly what to ask your local building department.
The common size exemptions
Most U.S. jurisdictions base their rules on the International Residential Code (IRC). Section R105.2 of the IRC exempts one-story detached accessory structures up to 200 square feet from needing a building permit. Many places adopt that number as-is. Others lower it, often to 120 square feet, and some add limits on wall height, roof overhang or location.
| Common rule | What it usually means |
|---|---|
| 200 sq ft or less | No building permit in many jurisdictions that follow the IRC as written. |
| 120 sq ft or less | The stricter limit some places use instead. |
| Over the limit | Expect a building permit, plans and inspections. |
Why an office is different from a storage shed
Some codes write the exemption for "tool and storage sheds, playhouses and similar uses." A heated office with power is not always treated the same way. Some jurisdictions have issued guidance that a small heated structure can still be exempt if it has no kitchen and isn't used for sleeping, while others treat any conditioned space as habitable. This is the single most important question to ask.
Electricity almost always needs a permit
Even when the building is exempt, running a new circuit, a subpanel or a trench from your house is electrical work that typically requires its own permit and inspection. Many building departments say so explicitly in their exemption lists. Plan for a licensed electrician.
Setbacks, HOAs and other rules
- Setbacks: Even an exempt building must sit a minimum distance from property lines, often 5 feet or more. A shed in the wrong spot can be ordered moved.
- HOA covenants: Your HOA may restrict size, color, height or placement regardless of city rules.
- Special areas: Floodplains, wetlands, shoreline zones and wildfire areas often remove the exemption entirely.
- Business use: Seeing clients on-site can trigger zoning or occupancy rules.
Exactly what to ask your building department
- What is the maximum size for a detached accessory structure without a building permit here?
- Does that change if the structure is heated, insulated or used as a home office?
- What are the setbacks from property lines and from the house?
- What permits do I need to run electricity (and internet) to it?
- Are there height, overhang or foundation rules for exempt structures?
Once you know your limit, our cost guide will help you budget for a building that fits it.
