State guide Reviewed November 2026

Do You Need a Permit for a Pool in Pennsylvania?

Usually. By state default the code exempts only prefabricated pools less than 24 inches deep; Philadelphia and Pittsburgh also require them to hold under 5,000 gallons. Other pools, spas and hot tubs are not on the list, so expect a permit. Where the pool code applies, it requires a barrier at least 48 inches high unless a compliant safety cover is used.

Statewide rule Permit unless prefab and under 24 in deep 403.62(c)(5), a state default. Philadelphia and Pittsburgh also cap exempt pools at 5,000 gallons; Pittsburgh adds entirely above grade.
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.
Barrier height At least 48 in where the pool code applies 2021 ISPSC 305.2.1, adopted by 34 Pa. Code 403.21(a)(14); text read on the UpCodes mirror. Measured on the side away from the pool.
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 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.

CityMinimum barrier heightWhich pools the barrier rule coversGate and latchCity fees for an in-ground pool
Philadelphia48 in (4 ft) barrierAny 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 poolUnder $500
Pittsburgh48 in (4 ft) barrierPools needing a permit (prefab pools under 24 in and 5,000 gal are the only exemption); hot tubs need an electrical permitGates 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

By state default only a prefabricated pool less than 24 inches deep is exempt; Philadelphia and Pittsburgh also require it to hold under 5,000 gallons, and Pittsburgh requires it to be entirely above grade. A deeper above-ground pool is not on the exemption list, so expect to need a permit from your municipality or, in an opt-out municipality, a certified third-party agency.
At least 48 inches above grade, measured on the side away from the pool and around the entire perimeter, under the 2021 International Swimming Pool and Spa Code that Pennsylvania adopted. Openings may not pass a 4-inch sphere, and gates must be self-closing, self-latching and open away from the pool. Municipalities may require more but not less.
The state permit exemption list names no spas or hot tubs, so on that reading a hot tub falls under the code where it is enforced. The electrical hookup needs its own permit in Philadelphia and Pittsburgh and likely elsewhere; ask your code official. A spa with a lockable safety cover meeting ASTM F1346 is excused from the separate barrier.
Probably not. The Public Bathing Law defines a public bathing place as a place open to the public, and its lifeguard rules exclude residential pools used by the owner's family and guests. Some of its sections use broader wording, so if you have any doubt, ask the Department of Health.
Yes, in most cases. The Home Improvement Consumer Protection Act names swimming pools as home improvements, so a paid installer on a job over $500 at your home must be registered with the Attorney General unless their prior-year home improvement work was under $5,000. Electricians may need a local license.

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

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