Back to blog
For Homeowners October 8, 2026 6 min read

Pool fence cost and the barrier rules: what you must build, and what it costs

What a fence around a pool costs in chain link, wood or vinyl and aluminium for three sizes of pool area, from our pricing engine — and the barrier rules most US codes use: height, gates, latches and gaps.

Get a fencing estimate for your home

Type your address, measure it on the aerial photo, and see an estimate at typical rates for your state. Free. We pass your details to a local pro only if you ask.

Loading map

Tap each corner of your fence line on the map, then tap the first point to close. Drag any corner to adjust.

In most of the US a pool needs a barrier before anyone swims in it. Here are the rules most codes use, in plain English, and what a pool fence costs in three materials around three sizes of pool area, from the pricing engine our quote tool uses.

The barrier rules most codes use

Most US codes base their pool barrier rules on the International Swimming Pool and Spa Code and the residential code's pool provisions. The common requirements:

  • Height: at least 48 inches, measured on the side away from the pool.
  • Gaps: no opening a 4-inch sphere can pass through, and a small gap at the bottom.
  • Climbability: no footholds — horizontal rails go on the pool side, and chain link needs a small mesh.
  • Gates: open outward, away from the pool; self-closing and self-latching, with the latch high or on the pool side.
Your city or HOA may add to these, and inspectors check them. Get the local rules before you choose a fence, and make sure your installer builds to them.

What it costs

Type100 ft of fence150 ft of fence200 ft of fence
Chain link$2,383$3,425$4,467
Wood privacy, 6 ft$3,916$5,724$7,533
Vinyl or aluminium$5,324$7,837$10,349

Installed, at our engine's starter rates. A 15×30 ft pool with a deck around it is typically fenced with 150 ft or so; using a wall of the house or an existing boundary fence as part of the barrier shortens it — if the doors to the pool area are alarmed or self-closing as your code requires.

Which material

  • Chain link — the cheapest; needs a small mesh to meet climbability rules.
  • Wood privacy, 6 ft — private; keep the horizontal rails on the pool side.
  • Vinyl or aluminium — no painting; aluminium pool fencing with self-closing gates is the most common choice for new pools.

Draw your fence line on the satellite map to get the length and a price for each material. For fences in general, see fence installation cost.

Measure and price your pool fence in a minute — open the satellite quote.

Common questions

How much does a pool fence cost?

About $3,425 in chain link to $7,837 in vinyl or aluminium for 150 ft.

How high does a pool fence need to be?

At least 48 inches under most codes; check your city.

What are the pool gate rules?

Open outward, self-closing and self-latching, latch out of a child's reach; no gaps a 4-inch sphere passes.

Written by SatelliteQuotes Editorial
Get my estimate
Free homeowner playbook

Get the homeowner roof-buying playbook

One short email every two weeks: which questions to ask roofers, when to walk away, how to spot inflated bids. No spam.