FenceLevel

Pool Fence Requirements & Cost

Independent research · Last reviewed August 2026 · Code guidance is general — your local building department governs

The short answer

Pool barrier code generally requires a fence at least 48 inches tall (many places require 60), with gaps under 4 inches, under 4 inches of ground clearance, no footholds in the lower 45 inches, and gates that open outward and are self-closing and self-latching with the latch 54 inches up. Cost runs $15 to $55 per linear foot for mesh or aluminum.

Get the code right before you shop

A pool fence is the one fence where the rules come first and the shopping comes second. It exists to stop a small child reaching the water unsupervised, and the requirements are specific enough that an otherwise attractive fence can fail inspection on a detail — usually the gate hardware or a gap under the bottom rail.

The checklist below is built on the ISPSC and IRC model code that most jurisdictions adopt. Work through it, then confirm every point with your local building department, because local rules are frequently stricter.

Pool barrier compliance checklist

0 of 14 checks

0%
The barrier itself
Every gate
The rest of the perimeter

This is orientation, not certification. Requirements are based on the widely adopted ISPSC/IRC baseline, but pool-barrier rules are set locally and are often stricter. Confirm every point with your local building department, and have the finished barrier inspected. Progress saves on this device only.

Pool fence options and cost

OptionInstalled / ftMeets code?Notes
Removable mesh$15 – $28Yes, when specified to codeComes down when you want the yard back; the usual choice for families with young children.
Aluminum (ornamental)$28 – $55Yes — the standardPermanent, no rust, no upkeep, vertical pickets meet code by design.
Glass panel$150 – $600YesUninterrupted view at a premium price; needs regular cleaning.
Vinyl / wood privacy$20 – $50Usually, if detailed rightCompliant if there are no footholds and gaps are correct — but blocks your view of the pool.
Chain link$8 – $25Usually NOTDiamond mesh gives a child continuous footholds; commonly excluded.

A typical pool enclosure of 100 to 150 linear feet therefore runs roughly $2,000 to $8,000 in mesh or aluminum. Glass is a different category entirely and is priced accordingly.

Price your enclosure by measuring the perimeter you need to enclose — which is often much shorter than your property line.

Removable mesh or permanent aluminum?

For most families this is the real decision, and it turns on how long you need the barrier rather than on price.

Removable mesh ($15–$28/ft) is designed to come down. If the reason for the fence is a toddler, mesh gives you full compliance now and your yard back in a few years, without leaving post stubs across the lawn — the posts sit in discreet sleeves. It's less handsome up close and the fabric has a finite life.

Aluminum ($28–$55/ft) is permanent, looks considerably better, needs no maintenance, and lasts decades. It's the right answer if the pool is fenced for good — for insurance, resale, or because the barrier is also your property-line fence.

Worth knowing: many insurers ask whether a pool is fenced, and some require it. Check your policy before choosing, because a temporary solution may not satisfy an insurer the way a permanent barrier does.

Where pool fences fail inspection

The barrier itself is rarely the problem. These five details are:

  • The gate latch is too low or doesn't catch reliably every time.
  • The gate swings inward toward the pool instead of outward.
  • A house door opening to the pool has no alarm or self-closing device, when the wall forms part of the barrier.
  • Something climbable sits against the fence — an AC unit, planter, woodpile, or patio furniture — defeating the height requirement.
  • Ground clearance opens up where the grade slopes away, leaving more than 4 inches underneath.

Hiring for safety-critical work

Treat a pool barrier differently from an ordinary fence. Ask the contractor to state, in writing, which code edition and local amendments they're building to; confirm they handle the permit and the inspection; and specify the gate hardware by model, since that's where compliance is usually won or lost. Vet the installer and check the quote — but on this job, compliance beats price.

Local rules vary. Pool-barrier rules are set locally and vary by state and municipality, including required height. Nothing here is a compliance determination — confirm with your building department and have the finished barrier inspected.

Keep going

Frequently asked questions

What are the pool fence requirements?
The model-code baseline: 48 in tall (many places require 60), gaps under 4 in, ground clearance under 4 in, no footholds in the lower 45 in, and self-closing, self-latching gates opening outward with the latch 54 in up. Local code governs.
How much does a pool fence cost?
Removable mesh $15–$28 per foot, aluminum $28–$55, glass $150–$600. A typical 100–150 ft enclosure runs about $2,000–$8,000 in mesh or aluminum.
How tall does a pool fence have to be?
At least 48 inches under model code, measured from the outside — but many jurisdictions require 60. Confirm locally first.
Can I use a chain link fence around a pool?
Usually no — the diamond mesh is a continuous climbing surface, which pool codes prohibit. Aluminum or removable mesh are the standard alternatives.
Does my house wall count as part of the pool barrier?
Often yes — but doors leading to the pool then usually need an alarm or self-closing device. It's the most commonly missed requirement.
Is a removable mesh pool fence code compliant?
Yes, when specified and installed to code — right height, correct gaps, compliant gate. It's popular because it comes down later.

Cost figures are independent 2026 planning estimates as of August 2026; they are not quotes. Code guidance reflects the widely adopted ISPSC/IRC baseline and is provided for orientation only — it is not legal or code advice, and local requirements govern and are often stricter. A barrier is one layer of pool safety and does not replace supervision. FenceLevel is not a contractor, code official, or manufacturer.