Skip to content Groundwork Design Co.Want a design?Custom patio, wall, deck and yard plans, drawn by builders. Anywhere in the U.S. From $349.Start here
LOCK HAVEN, PA · PA HIC #PA212584 · INSURED FREE ESTIMATES · CALL OR TEXT
PAGE

Pennsylvania Shed Permit Rules: Do You Need a Permit?

Under Pennsylvania’s Uniform Construction Code, a shed doesn’t need a building permit if it’s under 1,000 square feet and accessory to a detached single-family home. That’s the state floor, not the final word: your municipality can require a building permit by ordinance, and zoning, setback and floodplain rules apply to sheds of any size.

Quick answer

  • State building code: doesn’t apply to sheds under 1,000 sq ft
  • Who qualifies: sheds accessory to a detached single-family home
  • Same rule for: detached garages, carports and greenhouses
  • Local permits: towns can set a lower limit (Loyalsock Twp.: over 500 sq ft)
  • Zoning permit: often required at any size
  • Floodplain: municipal permit before building in a mapped flood area

Do you need a permit for a shed in Pennsylvania?

Not under the state building code, if the shed is small enough and goes with a single-family house. The Construction Code Act excludes utility and miscellaneous structures accessory to detached one-family homes, and L&I’s regulation puts a size on it. 34 Pa. Code § 403.1(b)(3) says the UCC doesn’t apply to carports, detached private garages, greenhouses and sheds with a building area under 1,000 sq ft that are accessory to a detached one-family dwelling, unless a local ordinance adopted under section 503 of the Act requires it. Section 403.62(c) adds that no permit is needed for that work as long as it doesn’t violate a law or ordinance.

In plain terms, the state doesn’t require a building permit, plan review or inspections for a typical backyard shed. Whether your township or borough does is a separate question, covered below.

What does the 1,000-square-foot rule cover?

  • Size: a building area under 1,000 sq ft. At 1,000 sq ft or more, it’s a regulated building.
  • Type: sheds, detached private garages, carports and greenhouses. Farm buildings have their own separate exclusion.
  • Use: accessory to the house, meaning it serves the home rather than being a separate dwelling or business building.
  • Lot: a detached single-family home. The exclusion doesn’t mention two-family homes or townhouses. Frazer Township’s homeowner guide, for example, requires a permit for sheds and garages of 120 sq ft or more at a two-family home or townhouse, versus 1,000 sq ft at a single-family home.

Gazebos, pavilions and roofed patios aren’t on the list. The Butler County accessory structure guidelines posted by Worth Township say gazebos, pavilions and patios of 200 sq ft or more require permits.

When does your township require a shed permit anyway?

Section 503 of the Construction Code Act lets municipalities adopt ordinances that go beyond the UCC, and some do for accessory buildings:

MunicipalityBuilding permit neededNotes
Loyalsock Township (Lycoming Co.)Over 500 sq ftSmaller sheds still need a zoning permit
City of PhiladelphiaOver 200 sq ftUp to 120 sq ft needs no building permit, and no zoning permit in the rear yard; larger sheds run into zoning size limits; 15 ft max height
Frazer Township1,000 sq ft or more at a single-family home; 120 sq ft or more at a two-family home or townhouseLocal amendments may be stricter, per the guide

Check before you order a shed, not after it’s delivered. The municipal code office is the fastest answer; our building permit lookup lists it for each Pennsylvania municipality, and our permit fee guide shows what central PA townships charge for shed permits.

Do you need a zoning permit for a shed in Pennsylvania?

Often, yes. Zoning applies even when the building code doesn’t, and it’s where most shed problems come from: how far the shed sits from property lines, whether it can go in a front or side yard, how tall it can be and how much of the lot can be covered. Philadelphia requires a zoning permit for a small shed in a front or side yard but not in the rear yard, and caps shed height at 15 ft. Loyalsock requires a zoning permit for sheds that don’t need a building permit.

Know where your line is before you set the pad; our guide to finding your property line covers central PA parcel maps and deed offices. If your township has a stormwater ordinance, ask whether the shed’s roof counts toward its impervious-area limit; see stormwater plan rules.

Can you put a shed in a floodplain in Pennsylvania?

Only with a floodplain permit. The UCC exclusion doesn’t get a shed out of floodplain rules. PEMA’s Pennsylvania Floodplain Development Guide (June 2025) says the municipality must issue a permit before development happens in the special flood hazard area, and its sample application states that no work of any kind may start until the floodplain permit is issued. The guide defines development as any man-made change to land, including buildings, filling, grading and paving.

The guide treats enclosed space below the flood elevation as fit only for parking, building access or storage, lists gasoline, petroleum products and charcoal among items too hazardous to store below the base flood elevation, and asks for anchoring details on the permit checklist. Look up your FEMA zone with our flood zone lookup.

Running power, water or a foundation to a shed

Electrical: wiring is where the no-permit answer often changes. Philadelphia’s shed FAQ notes electrical, mechanical or plumbing permits may still be required, and the Butler County guidelines list electrical rough-in and final inspections. Ask the code office before you trench a line.

Foundation: the IRC doesn’t require frost footings for freestanding light-frame accessory buildings up to 600 sq ft with an eave height of 10 ft or less, so a level, compacted stone pad is the usual base for a prefab shed. A bigger detached garage that needs a permit under local rules may need footings to the local frost depth; see Pennsylvania frost line depth.

Digging: for footings, a slab or a buried wire, call 811 through Pennsylvania One Call before you break ground.

This is a plain-English summary, not legal advice.

Sources

Common questions

What size shed can you build without a permit in Pennsylvania?

The state building code doesn’t apply to sheds with a building area under 1,000 square feet that are accessory to a detached single-family home. Your municipality can still require a building permit at a smaller size, and many towns require a zoning permit.

Does a detached garage need a permit in Pennsylvania?

Under the UCC, not if it’s under 1,000 square feet and accessory to a detached single-family home. Larger garages, garages at two-family homes or townhouses, and garages in towns with stricter ordinances need a building permit.

Do I need a zoning permit for a shed?

Often, yes. Zoning controls setbacks, yard location, height and lot coverage, and it applies even when the building code doesn’t. Loyalsock Township and Philadelphia both require zoning approval for small sheds in some cases.

Can I put a shed in a floodplain in Pennsylvania?

Only with a floodplain permit from your municipality. Pennsylvania’s floodplain guidance says no work may start in a mapped special flood hazard area until the permit is issued, regardless of the building code exclusion.

See every Pennsylvania building, digging and contractor rule on our Pennsylvania guide. Related: Pennsylvania building code, frost line depth and permit fees by township.

Muthler Landscaping & Construction · Lock Haven, PA

Planning a project in central Pennsylvania?

We build retaining walls, patios, drainage and site work across Clinton, Centre, Lycoming and Union counties, and we pull the permits. PA HIC #PA212584.

Get a free estimateCall (570) 397-9800

Using this guide? Link to it or cite it. It’s free to use with a link back, and we keep it updated against official sources.

Cite as: Muthler Landscaping & Construction, “Pennsylvania Shed Permit Rules: Do You Need a Permit?,” https://muthlerlandscaping.com/state-guides/pennsylvania/shed-permit/ (page updated November 14, 2026).