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.
| City | Exemption? | Permit-free up to | Fee for a permitted shed |
|---|---|---|---|
| Philadelphia | Size exemption | 130 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 |
| Pittsburgh | Size exemption ⚠ | 200 sq ft per PLI; 120 sq ft per the City Planning zoning FAQ | about $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
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