Whether you need a permit to build in your backyard depends on the size of the project, how high it stands, and whether it ties into electrical, plumbing, or gas lines. The model code used by most U.S. jurisdictions exempts small projects like a shed under 200 square feet, a fence no taller than seven feet, or a low freestanding deck. Larger structures, deeper excavations, and anything connected to utilities almost always require one. Because every city and county can tighten these rules, confirm with your local building department before you buy materials.
Backyard Projects That Usually Don’t Need a Permit
The International Residential Code, which forms the basis of most local codes, lists specific backyard work that is exempt from building permits under Section R105.2.1International Code Council. 2021 International Residential Code – Chapter 1 Scope and Administration If your project fits inside these thresholds, you can generally skip the application:
- One-story detached accessory buildings, such as storage sheds, with a floor area no larger than 200 square feet.
- Fences no taller than seven feet.
- Retaining walls four feet or shorter, measured from the bottom of the footing to the top, as long as they aren’t holding back extra load above.
- Freestanding decks no larger than 200 square feet that sit no more than 30 inches above grade, are not attached to the house, and are not part of the path to a required exit door.
- Sidewalks and driveways.
- Playground equipment such as swings and playsets.
- Above-ground pools less than 24 inches deep.
Two things trip people up here. Being exempt from a permit is not the same as being exempt from the code. A 150-square-foot shed still has to respect setbacks and zoning limits; you just skip the paperwork. And your city or county may have adopted a stricter version of these thresholds. Some communities drop the shed exemption to 120 square feet or require permits for every fence. The IRC is the starting point, not the final word.
Projects That Almost Always Need a Permit
If your project involves meaningful structure, excavation, or utility work, assume a permit is required until the building department confirms otherwise.
Decks higher than 30 inches. Once any point of a deck sits more than 30 inches above the ground, it falls outside the exempt category and needs a permit, a site plan, and structural details showing it can carry the load.1International Code Council. 2021 International Residential Code – Chapter 1 Scope and Administration Attached decks need a permit regardless of height, because the ledger connection to the house creates structural demands an inspector has to verify.
In-ground swimming pools. Pools combine excavation, electrical work for pumps and lighting, and barrier requirements. The U.S. Consumer Product Safety Commission publishes safety barrier guidelines that many jurisdictions have folded into their codes, including minimum fence heights, gate latch rules, and limits on openings a child could pass through.2U.S. Consumer Product Safety Commission. Safety Barrier Guidelines for Residential Pools Expect separate permits for the pool structure, the electrical connections, and the fencing.
Larger sheds and accessory buildings. Any detached structure over 200 square feet, or any structure taller than one story, needs a building permit under the model code.1International Code Council. 2021 International Residential Code – Chapter 1 Scope and Administration Workshops, studios, and guest houses are firmly in permit territory.
Outdoor kitchens with gas or plumbing. Running a gas line from the house to an outdoor grill creates a permanent utility connection that requires a permit and professional installation. The same applies to extending water supply and drain lines to an outdoor sink, which has to meet code requirements for traps and drainage.3International Code Council. Code Requirements for Outdoor Kitchens
Electrical work beyond simple replacements. The IRC exempts minor tasks like swapping a light fixture, but running new circuits, adding outlets, or wiring a shed for power all require an electrical permit.1International Code Council. 2021 International Residential Code – Chapter 1 Scope and Administration This catches people off guard. Your shed might be small enough to skip a building permit, but the moment you wire it, you need an electrical permit anyway.
The Factors That Decide It
Three variables drive almost every permit question.
Size, height, and foundation. Square footage and height are the main trip wires. Crossing 200 square feet puts a detached structure into permit territory. A permanent foundation such as a concrete slab or poured footings signals a lasting addition and draws closer scrutiny than a portable shed on gravel or blocks.
Setbacks and property lines. Zoning rules require minimum distances between structures and property lines, streets, and other buildings. Even exempt projects have to respect setbacks, which is why knowing your property lines before you start is essential. If your boundaries are uncertain, a professional land survey can establish them, though surveys typically cost several hundred dollars or more depending on lot size and terrain.
Utility connections. Any project with new electrical wiring, plumbing, or gas lines triggers permit requirements no matter how small the structure. Codes treat utility work as a separate safety issue, which is how you end up needing an electrical or plumbing permit for a project that otherwise wouldn’t need a building permit. Gas work in particular should be handled only by licensed professionals because of the leak risk.3International Code Council. Code Requirements for Outdoor Kitchens
Rules That Apply Even When a Permit Doesn’t
Call 811 Before You Dig
Before breaking ground for a fence post, deck footing, pool, or any other excavation, federal law requires you to contact your local one-call center by dialing 811. The free service notifies utility companies so they can mark buried gas pipes, electrical cables, water mains, and telecommunications lines.4Pipeline and Hazardous Materials Safety Administration. Stakeholder Communications: Damage Prevention
Call or submit a request online at least a few business days before you plan to dig. Wait for the markings before excavating. If you hit an unmarked line after making the call, the utility company bears responsibility. If you never called, the liability shifts to you.4Pipeline and Hazardous Materials Safety Administration. Stakeholder Communications: Damage Prevention
Homeowners Association Approval
A permit from the city does not mean your HOA will allow the project. If your property is in a community governed by an association, the CC&Rs in your deed likely require you to submit plans to an architectural review committee before building anything visible to neighbors. HOA rules often go further than municipal codes. A jurisdiction might allow a six-foot fence while your HOA caps fences at four feet or restricts materials. Build first and ask permission later and you can be hit with fines or a demand to tear the structure down. HOA enforcement is a separate legal track from code enforcement.
Floodplains and Historic Districts
Properties in a FEMA-designated Special Flood Hazard Area face additional requirements that override standard exemptions. Under the National Flood Insurance Program, participating communities must require permits for all construction in flood-prone areas, and new structures generally need their lowest floor elevated to or above the base flood elevation.5FEMA. The NFIP Floodplain Management Requirements A small shed that would normally be exempt might still need a permit and an elevation certificate.
Historic districts add another layer. Exterior changes visible from the street often need approval from a historic preservation commission on top of any building permit, and commissions can reject projects the building department would otherwise approve.
Utility Easements
Check your deed or plat for utility easements before deciding where to build. An easement gives a utility company the legal right to access a strip of your property. You can usually plant a garden or lay lawn over one, but permanent structures are a different story. If the company needs access, they can require you to remove whatever you’ve built on top of the easement at your expense.
Confirming the Rules for Your Property
The IRC thresholds above are the model code. Your jurisdiction may be stricter, looser, or working from an older version. The only way to know for certain is to check with your local building department.
Start on your city or county government website. Look for “Building Department,” “Planning and Zoning,” or “Permit Services.” Many jurisdictions post permit guides, fee schedules, and exemption lists, and some publish project-specific packets for sheds, fences, pools, and decks.
For a definitive answer, call or visit with your project details ready. Specifics get you useful answers. Have on hand:
- Structure type and intended use: shed, deck, pool, fence, gazebo, and so on.
- Proposed length, width, height, and square footage.
- Location on the lot, including distances from all property lines, the house, and the street.
- Foundation type: slab, footings, pier blocks, or none.
- Any planned electrical, plumbing, or gas connections.
Staff can typically tell you on the spot whether a permit is required and what to submit if one is. A five-minute phone call can save months of problems.
What Permits Cost and What to Expect
Permit fees vary widely. Jurisdictions typically use a flat rate for small projects, a per-square-foot charge, or a percentage of total construction cost. For straightforward backyard work such as a shed, fence, or simple deck, fees commonly range from a few hundred dollars up to around $1,500. Pools and larger builds run higher. Many jurisdictions add plan review fees, technology surcharges, and zoning review fees that can push the total 25% or more above the base permit cost.
A permit is not a one-time event. It triggers inspections at key points, and you can’t cover up work until an inspector signs off. Simple projects like a fence may only need a footing check and a final inspection; more complex work adds rough-in and insulation inspections before walls close up. The permit itself will specify which stages apply. Most jurisdictions also void a permit if work hasn’t started within six months of issuance or if construction stalls for six months, so plan your timeline before applying.
What Happens If You Build Without a Permit
Skipping a required permit tends to surface later, and the costs stack.
Fines and stop-work orders. Building officials who discover unpermitted work can issue fines that accumulate until the violation is resolved, ranging from a few hundred to several thousand dollars depending on the jurisdiction and severity. A stop-work order halts construction immediately, and continuing to build after one compounds the penalties and can lead to criminal charges in some jurisdictions.
Forced demolition. When unpermitted work violates zoning or safety standards, the building department can order you to tear it down at your own expense. This happens most often with structures that violate setbacks or encroach on easements, because those problems can’t be fixed with a retroactive permit.
Retroactive permits. For unpermitted work that otherwise meets code, some jurisdictions allow you to apply after the fact. These permits typically cost two to three times more than a standard permit, and inspectors may require you to open finished walls, ceilings, or floors to verify the hidden work. If anything fails, you pay to fix it on top of the permit fees.
Problems at sale. Unpermitted work almost always resurfaces when you sell. Home inspectors flag structures that don’t match official records, buyers’ lenders may refuse to finance a property with known code violations, and appraisers often cannot assign value to unpermitted square footage. Most states require sellers to disclose known unpermitted work, and failing to disclose can expose you to legal action from the buyer after closing.
Insurance gaps. Homeowners policies may not cover damage or injuries connected to unpermitted structures. If an electrical fire starts in an unpermitted addition or someone is injured on an uninspected deck, the insurer can argue the work was never verified as safe and deny the claim. Some insurers cancel the policy or refuse renewal once they learn about unpermitted work.
Property tax catch-up. County assessors use aerial imagery, sales disclosures, and MLS listings to find improvements that were never permitted. When they do, they update the assessed value and your tax bill rises accordingly. You pay the higher taxes either way, without the benefit of properly inspected and documented work.