HowMuchFence
Fence cost calculator

How Much Does a Pool Fence Cost? (2026)

Most in-ground pools need 100-150 ft of fence, and the material decides the bill: removable mesh and aluminum cost a few thousand dollars, glass five to ten times that. Every pool barrier has to meet the same basic code: at least 4 ft tall, no gaps a child can squeeze through or climb, and a self-closing, self-latching gate.

Cost breakdown

Removable mesh, per foot installed
$15 - $35
Aluminum, per foot
$25 - $50
Glass, per foot
$120 - $350
100 ft in mesh or aluminum
$1,500 - $5,000
Self-closing pool gate
$300 - $800
DIY mesh kit, per foot
$8 - $14

Pool fence cost by material

Installed prices, materials and labor included, before gates:

MaterialPer foot100 ft150 ft
Removable mesh$15 - $35$1,500 - $3,500$2,250 - $5,250
Aluminum$25 - $50$2,500 - $5,000$3,750 - $7,500
Vinyl$20 - $40$2,000 - $4,000$3,000 - $6,000
Wrought iron$40 - $85$4,000 - $8,500$6,000 - $12,750
Glass, semi-frameless$120 - $200$12,000 - $20,000$18,000 - $30,000
Glass, frameless$175 - $350$17,500 - $35,000$26,250 - $52,500

Add $300-$800 for each self-closing, self-latching gate, or $600-$1,000 and up for a glass gate. Most pools need one gate; a second one toward the house or the side yard is common.

How much fence does a pool need?

The fence goes around the pool and its deck, not the whole yard, so measure the deck edge you want to enclose. A 15 x 30 ft pool takes about 100 ft of fence, and a 20 x 40 ft pool 150-180 ft. A 16 x 32 ft pool with 4 ft of deck on every side is a 24 x 40 ft rectangle: 128 ft. Free-form pools and decks with curves or corners need 10-15% more.

If the house forms one side of the enclosure, the fence gets shorter, but many codes then require alarms on every door that opens toward the pool. Fencing the whole backyard instead of just the pool is allowed in many places too, as long as that fence meets the same pool barrier rules.

Pool fence code requirements

Most US cities and counties build their rules on the International Swimming Pool and Spa Code (ISPSC) or the same section of the residential code. Your local version can be stricter, so check with the building department before you order anything. The common rules:

That is why a standard 4 ft picket or ranch-style fence often fails as a pool barrier: its rails make a ladder on the outside.

Which pool fence to choose

Removable mesh is also the one pool fence many owners install themselves: DIY kits cost about $8-$14 per foot, and 4 x 12 ft sections sell for roughly $65-$130 at home centers. You drill holes in the deck for the poles, so the layout has to be right the first time.

For a regular yard fence around the rest of the property, see the aluminum fence cost and vinyl fence cost guides or price it in the fence cost calculator.

Related services

FAQ

How much does a pool fence cost?
Most pool fences cost $1,500-$7,500 installed: 100-150 ft at $15-$35 per foot for removable mesh or $25-$50 for aluminum, plus $300-$800 for a self-closing gate. Glass costs $120-$350 per foot, so $12,000-$52,500 for the same pool.
How much does a glass pool fence cost?
Semi-frameless glass with slim metal posts costs $120-$200 per foot installed and frameless glass $175-$350. A 100 ft glass pool fence comes to $12,000-$35,000, and a glass gate adds $600-$1,000 or more.
How much is a pool safety fence?
A removable mesh pool safety fence costs $15-$35 per foot installed, or $1,500-$3,500 for 100 ft. As a DIY kit it is $8-$14 per foot, with the gate extra.
Is a pool fence required by law?
For in-ground pools, almost everywhere in the US: local codes based on the ISPSC or the residential building code require a barrier at least 48 in tall with a self-closing, self-latching gate. Rules for above-ground pools and for using the house wall as one side vary, so ask your building department.
How tall does a pool fence have to be?
At least 48 in (4 ft), measured on the side away from the pool. Some cities and counties require 60 in, and the gate latch must release at least 54 in above the bottom of the gate or sit on the pool side.
Can I install a pool fence myself?
Removable mesh, yes: kits are sold in 4 x 12 ft sections and install with a hammer drill and a core bit for the deck sleeves. Aluminum is also DIY-friendly on soil. Glass is a pro job: the panels are heavy tempered glass set in core-drilled or bolted spigots.

Need a new fence instead?

Estimate a brand new fence - every material, height and length, with materials and labor split out.

Open the fence cost calculator