Where the rules come from
Pennsylvania's Uniform Construction Code adopts the International Swimming Pool and Spa Code, and your township or borough's code office reviews and inspects pool barriers. Pennsylvania moved to the 2021 editions of the codes on January 1, 2026. In unincorporated New Castle County, the Department of Land Use administers the building code and publishes its own pool barrier requirements; Wilmington and Newark have their own code offices.
Sources: PA Department of Labor & Industry: Uniform Construction Code, 34 Pa. Code § 403.21, New Castle County pool barrier requirements
The main barrier rules
Under the 2018 pool code Pennsylvania adopted, as one PA township summarizes it for homeowners:
- The top of the barrier at least 48 inches above grade, measured on the side away from the pool
- No more than 2 inches between the bottom of the fence and grass or gravel, or 4 inches over concrete
- No opening a 4-inch ball could pass through
- Pedestrian gates that open away from the pool and are self-closing and self-latching
- A latch release under 54 inches high placed on the pool side, at least 3 inches below the top of the gate
- A clear zone of at least 36 inches outside the fence, free of anything a child could climb
Sources: Buckingham Township pool barrier summary (2018 ISPSC)
Local rules can add more
Townships write pool enclosures into their own fence rules too. Schuylkill Township's fence ordinance, for example, requires pool enclosures at least 4 feet tall with a self-latching gate. In Birmingham Township's historic district, pool fences must be painted or stained metal or wood of simple design. Check both the code office and the zoning rules for your property.
Sources: Schuylkill Township fence permit application, Birmingham Township Historic District Design Guidelines
Why each rule exists
The U.S. Consumer Product Safety Commission's barrier guidelines explain the reasoning in plain English: height and small openings keep young children from climbing over or squeezing through, and self-closing, self-latching gates keep the barrier closed when someone forgets.
Sources: CPSC Safety Barrier Guidelines for Residential Pools


