State guide Reviewed November 2026

Do You Need a Permit to Build a Shed in Pennsylvania?

Often not under the state default: Pennsylvania's code excludes a shed under 1,000 square feet accessory to a detached one-family house, unless a local ordinance says otherwise. Philadelphia and Pittsburgh set their own limits: 200 square feet for the building permit, with stricter zoning (Philadelphia 130, Pittsburgh's planning office 120).

Statewide rule Under 1,000 sq ft, detached one-family: exempt 34 Pa. Code 403.1(b)(3) lists carports, detached garages, greenhouses and sheds; a section 503 ordinance can override it.
Who issues it Your municipality or its code agency Over 90% of the 2,562 municipalities enforce the UCC locally; in opt-out ones you hire a certified third-party agency yourself.
Outside city limits Boroughs and townships run the same system The Act's municipality list (city, borough, town, township, home rule) names no counties. Most zoning is municipal too.
Size limit by default Default <1,000 sq ft (detached one-family) Philadelphia and Pittsburgh exempt only up to 200 sq ft from the building permit; Philadelphia zoning: 130; Pittsburgh planning: 120.
How Pennsylvania sets building rules. Pennsylvania's Uniform Construction Code (Act 45 of 1999 and 34 Pa. Code Chapters 401 to 405) applies statewide and, under the triennial update effective January 1, 2026, adopts the 2021 International Residential Code and the 2021 ISPSC with state amendments; projects contracted earlier follow the codes in effect at contract. Municipalities enforce it themselves or opt out to certified third-party agencies, and may adopt stricter ordinances through the Act's section 503 procedure with Department review, or keep pre-July 1999 ordinances that equal or exceed it.

What does Pennsylvania state law say about sheds?

Act 45 of 1999 excludes utility and miscellaneous use structures that are accessory to detached one-family dwellings from the statewide code (section 104(b)(3)). Its definition of that term includes carports, detached private garages, greenhouses and sheds with a building area under 1,000 square feet, and does not include swimming pools or spas.

The regulation, 34 Pa. Code 403.1(b)(3), sets the conditions: the structure must have a building area under 1,000 square feet, be accessory to a detached one-family dwelling, and be one of the four it lists (carports, detached private garages, greenhouses, sheds). The exclusion also yields to whatever an ordinance adopted under section 503 of the Act requires. The code adopts the 2021 International Residential Code with Pennsylvania amendments; the current text took effect January 1, 2026, and a project whose design or construction contract was signed earlier follows the codes in effect when it was signed.

The wording says detached one-family dwelling. It does not mention twins, townhouses or duplexes, so on a plain reading a shed at one of those is not within the exclusion. No Department guidance on this was found; confirm with your municipality's building code official.

Can my township or borough still require a shed permit?

Yes, if it follows the Act's procedure. Section 503(c) lets a municipality adopt stricter code requirements for utility and miscellaneous use structures, but such an ordinance is not effective or enforceable until the municipality has held a public hearing, published newspaper notice and filed the proposed ordinance with the Department. 34 Pa. Code 403.102, the rule for municipalities that enforce the code, requires Department review and lets them keep ordinances in effect on July 1, 1999 that equal or exceed the code.

Philadelphia's building code exempts sheds only up to 200 sq ft, but the city's L&I FAQ says a shed over 130 sq ft at a one- or two-family home is not permitted by the zoning code without a variance, and a shed in a side or front yard needs a zoning permit. Pittsburgh's permit office exempts a one-story shed up to 200 sq ft while its planning FAQ says 120; the two city sources disagree. Both cities apply their own limits rather than the 1,000 sq ft state figure.

Who issues shed permits in Pennsylvania?

Your municipality. According to the Department of Labor and Industry, over 90% of Pennsylvania's 2,562 municipalities enforce the code locally, with their own staff or a certified third-party agency they retain. In a municipality that opted out, the Department says third-party agencies hired by property owners or their contractors enforce the residential code, and 34 Pa. Code 403.103 requires the applicant to obtain such an agency for plan review and inspections.

The Act defines a municipality as a city, borough, incorporated town, township or home rule municipality. Counties are not on that list, so on that reading a county office is not where a building permit starts; the Act does keep one county role, since municipalities in a county of the second class do not enforce the code's plumbing provisions. In a rural township, start with the township office.

What still applies when no building permit is needed?

The code exclusion is not a zoning exemption. Under the Municipalities Planning Code a municipality may enact its own zoning ordinance, and county zoning applies only where a municipality has none. Zoning is where setbacks, yard placement and height limits for sheds are set. Floodplain and historic-district rules may add requirements; ask your municipality.

Act 45 preempts homeowners' associations from imposing building construction standards or building codes, except as the Act otherwise provides. That section is about construction standards and codes; it does not on its face address placement or appearance, so read your deed restrictions and association rules too.

Who can build a shed in Pennsylvania?

You can build your own: work an owner does without compensation on their own private residence is outside the Home Improvement Consumer Protection Act. The Department of Labor and Industry says the state has no licensure requirement for most construction contractors, and that some municipalities have set their own. A contractor building a shed at a private residence on a job over $500 must register with the Attorney General under that Act, which names sheds, unless the contractor's home improvements totaled under $5,000 the previous year.

Shed Permit rules in the 2 Pennsylvania cities we have researched

Each row is read off our page for that city, which quotes the city’s own code section and fee schedule. Follow the city link for the conditions on each rule, the worked fee examples and the sources.

CityExemption?Permit-free up toFee for a permitted shed
PhiladelphiaSize exemption130 sq ft (zoning); building code says 200$189 zoning permit if the shed sits in a side or front yard; $82.50 building permit for a 240 sq ft shed once a variance is granted
PittsburghSize exemption ⚠200 sq ft per PLI; 120 sq ft per the City Planning zoning FAQabout $191.50 ($130 PLI minimum + $11.50 fixed fees + $50 zoning minimum)

A ⚠ marks a city whose own documents give two different answers. To compare more cities, see permit-free shed sizes in 30 cities and shed permit fees in 30 cities.

Not in one of these cities?

The rule that binds you is the one your own city has adopted, or your county’s if you live outside city limits. Ask the building department for its list of work exempt from permit and its zoning rules for accessory structures before you buy materials; the phone call is free and the answer is specific to your lot.

Frequently asked questions

The state default is under 1,000 square feet for a shed accessory to a detached one-family house. Your municipality may set a lower figure by ordinance. Philadelphia and Pittsburgh exempt sheds only up to 200 square feet from the building permit, and their zoning is stricter: Philadelphia treats a shed over 130 square feet at a one- or two-family home as not permitted without a variance, and Pittsburgh's planning office says 120.
Yes. The regulation lists carports, detached private garages, greenhouses and sheds under 1,000 square feet that are accessory to a detached one-family dwelling, and the same local override applies. Ask your municipality whether any electrical work in the building needs its own permit.
If the shed needs a permit at all, in an opt-out municipality the residential code is enforced by a certified third-party agency that you or your contractor hire. The Department of Labor and Industry certifies and lists these agencies. Ask the township first whether a zoning permit is also required.
That depends on your local zoning ordinance. The Municipalities Planning Code lets each municipality enact one, and county zoning applies only where a municipality has none. A zoning ordinance can require a permit or set setbacks for accessory buildings even when no building permit is needed. Philadelphia, for example, requires a zoning permit for a shed in a side or front yard.
No. You may build it yourself; work an owner does without compensation on their own home is outside the Home Improvement Consumer Protection Act. That Act names sheds, so if you hire someone for a job over $500 at your home, they must be registered with the Attorney General unless their prior-year home improvement work was under $5,000.

Sources

Every statement about state law on this page is taken from the documents below, read on the date shown at the top. Laws and adopted code editions change; the linked text is the authority, and your city or county building department has the final word on your project.

  • Pennsylvania Construction Code Act, Act 45 of 1999, section 104(b)(3) (35 P.S. § 7210.104); Act 45 of 1999, section 103 (35 P.S. § 7210.103), definition of utility and miscellaneous use structures; Act 45 of 1999, section 503(c) (35 P.S. § 7210.503); Act 45 of 1999, section 503(d) (35 P.S. § 7210.503); Act 45 of 1999, section 503(e) (35 P.S. § 7210.503); Act 45 of 1999, section 503(f) (35 P.S. § 7210.503); Act 45 of 1999, section 103 (35 P.S. § 7210.103), definition of municipality; Act 45 of 1999, section 501(a.1) (35 P.S. § 7210.501); Act 45 of 1999, section 104(d)(2)(i) (35 P.S. § 7210.104) — palegis.us
  • 34 Pa. Code § 403.1(b)(3); 34 Pa. Code § 403.1(b)(3)(i)-(iv); 34 Pa. Code § 403.1(a)(2) — pacodeandbulletin.gov
  • 34 Pa. Code § 403.102 (title); 34 Pa. Code § 403.102(i); 34 Pa. Code § 403.102(d) — pacodeandbulletin.gov
  • 34 Pa. Code § 403.21(a)(7); 34 Pa. Code § 403.21 Source note — pacodeandbulletin.gov
  • Department of Labor and Industry, Uniform Construction Code page — pa.gov
  • 34 Pa. Code § 403.103(b) — pacodeandbulletin.gov
  • Municipalities Planning Code, Act 247 of 1968, section 601 (53 P.S. § 10601); Municipalities Planning Code, section 602 (53 P.S. § 10602) — palegis.us
  • Department of Labor and Industry, Contractor Licensing page — pa.gov
  • Home Improvement Consumer Protection Act, Act 132 of 2008, section 3(a) (73 P.S. § 517.3); Home Improvement Consumer Protection Act, section 2 (73 P.S. § 517.2), definition of home improvement, paragraph (1); Home Improvement Consumer Protection Act, section 2 (73 P.S. § 517.2), definition of contractor; Home Improvement Consumer Protection Act, section 2 (73 P.S. § 517.2), paragraph (2)(v); Home Improvement Consumer Protection Act, section 2 (73 P.S. § 517.2), paragraph (1)(ii) — palegis.us

Related: Pennsylvania fence permit · Pennsylvania deck permit · Pennsylvania pool permit · Shed permit guide · All state guides

Stay up to date
Get notified when we add new cities or update permit fees.