Black aluminum fence installed by Chadds Ford Fence Company

Guide · Updated November 17, 2026

Pool fence rulesin PA and Delaware

A pool fence is a safety barrier first. In Pennsylvania the rules come from the state building code, enforced by your municipality; in Delaware, from the county or city code office. Here's what they cover.

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

Common questions

How tall does a pool fence have to be in Pennsylvania?
Under the code Pennsylvania adopted, at least 48 inches, measured on the side away from the pool. Some municipalities require more, so check with your code office.
Do pool gates have to be self-closing?
Yes. Pedestrian gates in a pool barrier must open away from the pool and be self-closing and self-latching.
Who inspects a pool fence in Delaware?
In unincorporated New Castle County, the Department of Land Use. Wilmington and Newark have their own code offices.

Free estimates

Get a free estimate

Tell us about your project and we’ll get back to you to set up your free estimate.

  • More than 30 years installing fences
  • Registered PA Home Improvement Contractor #PA064219
  • Serving the Philadelphia Main Line, Southern Chester County and Northern Delaware

Request a free estimate

Fields marked with an asterisk are required.

Up to 3 photos of where the fence will go. They help us plan your estimate.

    Free estimate, no obligation

    Free estimate