What does Pennsylvania state law say about pools?
Act 45 says pools and spas built after the Act are governed by it, and its definition of excluded accessory structures does not include swimming pools or spas, so the 1,000 square foot shed and garage exclusion does not cover a pool.
The permit exemption list in 34 Pa. Code 403.62(c) names prefabricated swimming pools that are less than 24 inches deep. It does not name in-ground pools, deeper above-ground pools, spas or hot tubs, so on that reading those need a permit where the code is enforced; confirm with your building code official. Philadelphia and Pittsburgh narrow the exemption: both limit it to prefabricated pools under 24 in and 5,000 gallons, and Pittsburgh also requires the pool to be entirely above grade. Under 34 Pa. Code 403.21(a)(14) the code adopts the 2021 ISPSC, excluding its sections 108.2 to 108.5 on permit fees, valuations and work begun before a permit, and keeping two provisions of the 2018 edition. The current text took effect January 1, 2026.
What barrier does Pennsylvania require around a pool?
Section 305 of the adopted 2021 ISPSC (read on the UpCodes mirror of the Pennsylvania edition, not a state publication) requires outdoor pools and spas to be surrounded by a barrier whose top is at least 48 inches above grade, measured on the side away from the pool or spa, around the entire perimeter and for 3 feet horizontally outside it. Openings may not pass a 4-inch sphere, and pedestrian gates must open outward and be self-closing and self-latching. A spa or hot tub with a lockable safety cover, or a pool with a powered safety cover, meeting ASTM F1346 is excused from the barrier sections. Whether a prefab pool under 24 inches that needs no permit still needs a barrier is not settled by the text quoted here; ask your code official.
Act section 503(b) bars ordinances below the code's minimum, so 48 inches is a floor. Philadelphia and Pittsburgh both apply 48 in.
Who issues pool 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.
Does the Public Bathing Law apply to a backyard pool?
Probably not, but read it with care. The Public Bathing Law of 1931 defines a public bathing place as a place open to the public, and it excludes condominium and association pools except for water quality, hygiene, plumbing, electrical facilities and safety equipment. Its definition of a recreational swimming establishment excludes residential pools used solely by the owner, family and personal guests. Some sections use broader wording: section 4 reaches places used for bathing by the public or any person or persons, and section 5(a) makes it unlawful to build any swimming pool without a permit, while the application process in 5(b) is for pools intended to be used for hire. No Department of Health guidance was found; if in doubt, ask the Department of Health. Zoning, which most municipalities write, sets where a pool may sit on the lot.
Who can install a pool in Pennsylvania?
The Department of Labor and Industry says the state has no licensure requirement for most construction contractors, but municipalities may license trades, typically including electricians. In Philadelphia and Pittsburgh the pool's electrical work needs its own permit and a licensed electrician. A paid pool installer at a private residence must register with the Attorney General under the Home Improvement Consumer Protection Act, which names swimming pools and covers jobs over $500, unless the installer's home improvements totaled under $5,000 the previous year.
Pool 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 | Minimum barrier height | Which pools the barrier rule covers | Gate and latch | City fees for an in-ground pool |
|---|---|---|---|---|
| Philadelphia | 48 in (4 ft) barrier | Any pool, spa or hot tub under the EZ standard (prefab under 24 in and 5,000 gal need no permit) | Self-closing, self-latching gate swinging away from the pool | Under $500 |
| Pittsburgh | 48 in (4 ft) barrier | Pools needing a permit (prefab pools under 24 in and 5,000 gal are the only exemption); hot tubs need an electrical permit | Gates self-closing, self-latching and able to take a lock; doors or low windows onto the pool area need a listed alarm | $500 to $1,000 |
A ⚠ marks a city whose own documents give two different answers. To compare more cities, see pool barrier heights in 30 cities and pool 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.
- 34 Pa. Code § 403.62(c)(5); 34 Pa. Code § 403.62(c); 34 Pa. Code § 403.62(a) — pacodeandbulletin.gov
- Act 45 of 1999, section 104(f)(2) (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(b) (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) — palegis.us
- 34 Pa. Code § 403.21(a)(14); 34 Pa. Code § 403.21(a)(14)(i); 34 Pa. Code § 403.21(a)(14)(ii); 34 Pa. Code § 403.21 Source note — pacodeandbulletin.gov
- Department of Labor and Industry, Uniform Construction Code page — pa.gov
- ISPSC 2021 § 305.2 as adopted in Pennsylvania (UpCodes mirror); ISPSC 2021 § 305.2.1 as adopted in Pennsylvania (UpCodes mirror); ISPSC 2021 § 305.2.2 as adopted in Pennsylvania (UpCodes mirror); ISPSC 2021 § 305.3 as adopted in Pennsylvania (UpCodes mirror); ISPSC 2021 § 305.1 as adopted in Pennsylvania (UpCodes mirror) — up.codes
- 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
- Public Bathing Law, Act 299 of 1931, section 2(1); Public Bathing Law, section 2(1); Public Bathing Law, section 2(6); Public Bathing Law, section 4; Public Bathing Law, section 5(a); Public Bathing Law, section 5(b) — 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), paragraph (1)(ii); Home Improvement Consumer Protection Act, section 2 (73 P.S. § 517.2), definition of contractor — palegis.us
Related: Pennsylvania shed permit · Pennsylvania fence permit · Pennsylvania deck permit · Pool permit guide · All state guides