Can I Build a Shed in My Backyard? Permits, Zoning, and Setbacks

Building a shed in my backyard usually doesn’t require a permit if the structure stays at or below 200 square feet, is one story, and has no electricity or plumbing. Above that size, or once you add wiring, water, or plan to use the space for anything more than storage, you’ll almost certainly need permits and inspections. Zoning rules, setbacks from property lines, HOA covenants, and flood zone designations can further limit what you build, where you put it, and how tall it can be, even for a shed small enough to skip the permit counter.

When a Permit Is Required

The International Residential Code, which local building codes across most of the country are built on, exempts one-story detached accessory structures from permits as long as the floor area stays at or below 200 square feet.1International Code Council. 2021 International Residential Code (IRC) – R105.2 Work Exempt From Permit That’s roughly a 10-by-20 or 12-by-16 footprint. Storm shelters are excluded from the exemption regardless of size.

Two things to know about that 200-square-foot line. First, “permit-exempt” doesn’t mean “rule-exempt.” The IRC states plainly that exempt work still has to comply with the building code and any other local ordinance.1International Code Council. 2021 International Residential Code (IRC) – R105.2 Work Exempt From Permit Setbacks, height limits, and zoning still apply. Second, many cities have adopted stricter thresholds. Some require a permit for anything over 120 square feet, and at least one major city requires a permit for storage sheds of any size. Call your local building department before assuming the IRC number applies to you.

Beyond size, several other things push a shed into permit territory:

  • Running wiring, installing outlets, or feeding a subpanel to a detached structure requires an electrical permit in most jurisdictions. The IRC’s electrical exemption only covers minor items like replacing a receptacle or plugging portable equipment into an existing outlet.1International Code Council. 2021 International Residential Code (IRC) – R105.2 Work Exempt From Permit
  • Adding a sink, toilet, or any water or waste line means a plumbing permit and inspection of the connections.
  • If you plan to use the shed as a home office, guest room, or workshop where people spend extended time, it has to meet fire safety, insulation, ventilation, and egress standards that pure storage sheds bypass. This can reclassify the project as an accessory dwelling unit, with its own approval process.
  • A permanent foundation, like a concrete slab or frost-protected footings, can independently trigger a permit even for a smaller structure.

Zoning, Height, and Lot Coverage

Your zoning classification decides what kinds of structures the lot can hold. Residential zones typically allow detached accessory buildings but cap total lot coverage, set maximum heights, and restrict where on the property the shed can go. A shed in the front yard is prohibited in most residential zones.

Height caps for accessory structures often fall between 8 and 15 feet, usually lower than what’s allowed for the primary house. There’s a practical ceiling built into the code as well: the IRC exempts freestanding accessory structures with an eave height of 10 feet or less from frost-protected foundation requirements if the footprint stays under 600 square feet for light-framed construction. Ten feet at the eave is where most backyard sheds land.

Lot coverage limits are the rule people forget. If your zoning code caps impervious coverage at 40 percent and your house, driveway, and patio already take up 35 percent, you may only have room for a small shed before you exceed the maximum. Your planning department can tell you where you stand.

Setbacks, Easements, and Property Lines

Setbacks are the minimum distances a structure has to sit from your property lines. For accessory buildings, rear and side setbacks commonly range from 3 to 10 feet, and some jurisdictions let smaller sheds sit closer to the line than larger ones. Setbacks exist so firefighters can reach the structure from multiple sides and to keep your shed from shading or blocking airflow on the neighbor’s lot.

Easements are another layer. These are strips of land where utility companies or the municipality keep the right to dig, access, or maintain infrastructure like water mains, sewer lines, or electrical conduit. You can’t place a permanent structure on an easement. If your shed blocks access to a buried line and the utility needs to make repairs, they can remove it at your expense.

A property survey shows exactly where easements and true boundaries fall. Boundary surveys for standard residential lots typically run $300 to $800, which is a small number compared with the cost of tearing down a misplaced shed.

Encroachment

Building even a few inches over the line creates an encroachment. Your neighbor can demand you remove the structure, and courts routinely order demolition when disputes go that far. In some states, an encroaching structure that sits undisturbed long enough can even give the builder legal ownership of the underlying land through adverse possession, on a timeline that varies by state but can be as short as five years. Get the survey before you pour a foundation, not after your neighbor hires a lawyer.

HOA and Deed Restrictions

If your property sits within a homeowners association, the CC&Rs almost certainly regulate shed construction, and they often go further than local zoning. Expect rules on siding materials, roof pitch, paint color, and sometimes whether a shed is allowed at all. You’ll typically submit plans to an architectural review committee before breaking ground, and that approval is separate from any city permit.

The review can take several weeks. Committees usually want a site plan showing the shed’s location, material specs, and sometimes color samples. Approval isn’t automatic even if your plan clears every city code. CC&Rs are contractual obligations that run with the land, binding every future owner. Violating them can produce daily fines or a court order to tear the shed down.

Some HOAs allow variance requests for unusual lot topography or natural obstructions, but variances aren’t routine. They require documented justification and typically need notice to neighboring homeowners before the committee votes.

Building in a Flood Zone

If your property sits in a FEMA-designated Special Flood Hazard Area, extra construction rules apply to every structure, sheds included. FEMA lets communities permit accessory structures that are wet floodproofed instead of elevated, but only under specific conditions: the structure must be used solely for parking or storage, must be anchored to resist flotation and lateral movement, and must use flood-damage-resistant materials below the base flood elevation.2FEMA. Floodplain Management Requirements for Agricultural Structures and Accessory Structures

Size limits shift by zone. In A zones, which cover most inland floodplains, FEMA considers a shed “small” if it’s no larger than a one-story two-car garage. In V zones along the coast, the limit drops to 100 square feet.2FEMA. Floodplain Management Requirements for Agricultural Structures and Accessory Structures Anything larger requires a formal variance.

Wet-floodproofed sheds also need flood openings, which are vents that let water enter and exit automatically. Doors or panels that someone has to open by hand before a flood don’t count.3FEMA. Requirements for Flood Openings in Foundation Walls and Walls of Enclosures If you’re not sure whether you’re in a flood zone, your local floodplain administrator can confirm your designation and walk you through what’s required.

The Permit Process

Once a permit is required, the process is more paperwork than mystery. You’ll need a site plan showing the shed’s exact location relative to your property lines, the house, and other structures. Most departments also want structural details: dimensions, foundation type, framing method, and roofing materials. If you’re buying a prefab shed, the manufacturer’s spec sheet usually covers this.

Most departments accept submissions online or in person. Processing times typically run two to four weeks for a straightforward shed permit, longer for complex projects or busy offices. Filing fees vary by jurisdiction and project value but commonly fall between $50 and $250. After approval you display the permit at the site. Once construction is done, an inspector visits to confirm the work matches the approved plans. If it doesn’t pass, you’ll fix the problems before the permit closes out.

Who Pulls the Permit

If you hire a contractor, make sure they pull the permit under their own license. Whoever’s name is on the permit holds legal responsibility for code compliance. A contractor who asks the homeowner to pull the permit is often signaling they lack proper licensing or insurance, and in most places it’s illegal for a hired contractor to work under a homeowner-pulled permit. If you’re building the shed yourself, you pull the permit as owner-builder and accept full responsibility for meeting code.

What Happens If You Skip the Permit

This is where people talk themselves into trouble. The shed goes up over a weekend, no one notices, and the risk seems small. The consequences tend to surface at the worst time.

When a building department discovers an unpermitted structure, the usual result is a stop-work order followed by a demand for a retroactive permit. Retroactive permits aren’t a simple do-over. Many jurisdictions charge two to four times the original fee as a penalty, and inspectors may require you to open up finished walls and ceilings to verify framing, wiring, and plumbing. If the structure doesn’t comply, you pay for corrections and re-inspection on top of the penalty.

The real pain often shows up at resale. Sellers are legally obligated to disclose known unpermitted work. Appraisers can’t count unpermitted square footage toward the home’s value. Mortgage lenders get nervous about code compliance issues, and some will refuse to finance the purchase until the problem is resolved. Insurance companies may deny claims for damage originating in an unpermitted structure. A $200 permit fee you skipped can turn into thousands in remediation years later.

Insurance and Property Tax Effects

A standard homeowners policy includes Coverage B for “other structures,” which covers detached buildings like sheds, garages, and fences. This is typically set at 10 percent of your dwelling coverage. On a home insured for $400,000, that’s roughly $40,000 for all detached structures combined. You can usually raise the limit for an added premium. Look at your policy before you build so you know whether the shed will be adequately covered against fire, wind, and other perils.

Property taxes are the other financial factor most people overlook. When your county’s appraisal office learns about a new permanent structure, your assessed value goes up and your tax bill with it. Whether a shed triggers reassessment depends largely on how permanent it looks. A small prefab unit on gravel blocks may not register with the assessor, while a 400-square-foot structure on a poured foundation with electrical service almost certainly will. Some jurisdictions review filed building permits when updating assessments, so the permit itself can prompt the reassessment. The bump isn’t usually dramatic for a basic storage shed, but it’s worth knowing before you build.

Deductions If the Shed Is a Home Office

If you use a backyard shed exclusively and regularly for business, you may be able to deduct expenses tied to it. The IRS allows deductions for a separate freestanding structure like a studio, workshop, or shed as long as you use it only for your trade or business.4Internal Revenue Service. Publication 587 – Business Use of Home Unlike a room inside the house, the separate structure doesn’t have to be your principal place of business or where you meet clients.

Exclusive use is the sticking point. You can’t stash holiday decorations in one corner and claim the whole shed. The IRS is specific: mixed personal and business use kills the deduction entirely.5Internal Revenue Service. Topic No. 509, Business Use of Home The two narrow exceptions involve inventory storage for a retail business and daycare facilities, neither of which fits the typical office shed.

If you qualify, deductible expenses include a proportionate share of homeowners insurance, property taxes, utilities, and maintenance, plus direct expenses like repairs to the shed itself. Construction costs are treated as a capital improvement and depreciated over time rather than written off in one year. Keep detailed records and photos of the exclusive business use, because auditors scrutinize home office deductions more closely than most other line items.

Do This Before You Order Anything

Spend an hour on homework before you buy materials or pick out a shed kit. Call your local building department and ask three questions: what size triggers a permit in your city, what setbacks apply to your zone, and whether your lot carries any recorded easements or flood designations. If you’re in an HOA, read the accessory structures section of the CC&Rs before you submit anything to the city. Order a boundary survey if the shed will sit anywhere near a property line. The approval timeline is slower than the actual construction, so plan accordingly.