Backyard Retreat Notes logoBackyard Retreat Notes

Guides / Permits

PERMITS

Do You Need a Permit for a Backyard Office or Shed?

Updated December 2026 ยท By the Backyard Retreat Notes team

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.

Always check locally. Building codes are adopted and amended by each state, county and city. This guide explains the common rules so you know what to ask; your local building department has the final word.

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 ruleWhat it usually means
200 sq ft or lessNo building permit in many jurisdictions that follow the IRC as written.
120 sq ft or lessThe stricter limit some places use instead.
Over the limitExpect 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

Exactly what to ask your building department

Once you know your limit, our cost guide will help you budget for a building that fits it.

Sources