CostZoraCalculators · Costs · Guides
Sign inGet Free Quotes

How much does a pool fence cost?

A pool fence is a safety device before it is a design feature. The material changes the view and the price, not the standard it has to meet.

Updated November 1, 2026 · 8 min read

Add to favorites

Plan view of a pool enclosed by a safety fence with a self-closing gate, showing the four-foot height and the clear zone around the water.What the code is actually measuringPoolself-closing gateSafety fence, 4 ft min.The gate opens away from the pool and latches itself. A fence that meets the heightbut leaves a foothold or a propped gate is not a barrier.
Height, gate behaviour and footholds are what an inspector checks. Glass or aluminum is a separate conversation.

The numbers at a glance

Frameless glass
$100 – $170 / lf
Semi-frameless glass
$70 – $120 / lf
Aluminum
$30 – $60 / lf
Mesh safety fence
$20 – $35 / lf
Self-closing gate
$250 – $2,200

What a pool fence costs per linear foot

Pool fencing is priced by the linear foot of the run, plus each gate as a separate item. The spread between the cheapest and the most expensive option is five to one, and almost none of it is about safety — all four types can meet the same code.

Mesh is the cheapest and the least permanent: it goes up in a day, comes down for a party, and is the usual choice for a family with young children and a limited budget. Aluminum is the conventional answer, and the one most codes were written around.

Glass costs three to five times what aluminum does, and it is bought for one reason: it does not interrupt the view of the water. If the pool is the point of the garden, that is a real benefit. If it is not, it is an expensive one.

Installed pool fence cost per linear foot, 2026 national ranges

TypeInstalled costNotes
Mesh safety fence$20 – $35Removable, semi-permanent, drills into deck or sleeve anchors
Aluminum$30 – $60Powder-coated, the standard residential choice
Semi-frameless glass$70 – $120Framed posts, glass panels, lower cost than full frameless
Frameless glass$100 – $170Tempered panels, minimal hardware, the view stays open

These prices assume a level run on a deck or a prepared footing. A sloped yard, a retaining wall or a long span between posts pushes the figure up.

What the code requires, and what it does not

The International Residential Code sets the usual baseline: a barrier at least four feet high, with no footholds, and a gate that is self-closing and self-latching, opening away from the pool. Some states and counties require five feet, and some require a self-latching mechanism high enough that a small child cannot reach it.

The detail that fails inspections most often is not height. It is the gate: a gate that swings toward the pool, a latch that does not engage on its own, or a latch that can be propped open with a brick. A fence that meets every dimension and leaves the gate open is not a barrier.

The other common failure is the “climbable” fence. Horizontal rails spaced like a ladder, decorative infill with wide gaps, or a fence that a child can stand on at a nearby planter all defeat the purpose. If you can put a toe on it, it will be climbed.

  • Four feet minimum in most jurisdictions; five feet in some states.
  • Gate must be self-closing and self-latching, opening away from the pool.
  • No footholds and no ladder-like horizontal rails.
  • Some codes require the latch release to be 54 inches above the ground.
  • A house wall used as part of the barrier usually needs alarmed doors or a self-closing mechanism.
  • Confirm the local requirement in writing before ordering panels.

Glass, aluminum or mesh: the honest comparison

Glass is a view decision. It needs cleaning rather than repair, because sunscreen, hard water and fingerprints show on it and nothing hides them. It is also the heaviest and the most expensive to repair if a panel breaks — tempered glass is replaced as a unit.

Aluminum is the maintenance-light option: occasional rinsing, no painting if it is powder-coated, and panels that can be swapped individually. It is also the easiest to match to an existing fence line.

Mesh is the practical choice for a temporary need — grandchildren visiting for a summer, or a pool that will be filled in. It is not the choice for a permanent installation that should look like part of the landscape.

Choosing between the three

Frameless glassAluminumMesh
View of the poolUnobstructedPartly obstructedObstructed
MaintenanceMonthly cleaningRinsing twice a yearAnnual re-tensioning
RepairReplace the panelReplace the panelReplace the section
PermanencePermanentPermanentRemovable
Relative cost5×1.5×Base

The cheapest option that meets code is not a compromise — a mesh fence that is up is safer than a glass fence that is still being quoted.

A worked example: 100 feet of frameless glass with one gate

A rectangular pool with a 100-foot run along the deck and the lawn edge, one gate at the house corner, and a level surface throughout.

100 lf frameless glass, 20 panels, one self-closing gate

Priced at national averages, with drilled footings and a code-compliant latch.

20 glass panels at 5 ft$135 per linear foot installed, tempered, 3/8 inch
$13,500
Self-closing gateGlass gate with hydraulic hinge and latch
$1,700
Core drilling into deck20 footings at $55 each, including patching
$1,100
Engineering and permitPool barrier permit, required in most jurisdictions
$450

$16,750 — about $167 per linear foot with the gate

The same run in aluminum lands near $4,500 and in mesh near $3,000. The difference buys the view and nothing else.

The installation details that move the price

Glass panels are heavy and rigid, so the footings decide the job. Drilling into a timber deck is faster and cheaper than core-drilling a concrete slab, and a run across a slope needs either stepped panels or angled hardware.

Spacing matters too: a frameless system spans about five feet between posts, so a 100-foot run means 20 panels and 21 posts. Shortening the spacing to fit a gate or a corner adds panels, not just hardware.

Ask for the panel layout before signing. A quote that lists linear feet but not panel count is not comparable to one that does, because the corners and the gate are where the cost lives.

What changes the price

ConditionEffectTypical cost
Timber deck, surface-mountedCheapestIncluded
Concrete slab, core-drilled+15 – 25%+$40 – $70 per footing
Slope or stepped run+10 – 20%Angled hardware or shorter panels
Removal of an old fence+$3 – $8 per lfDisposal included
Extra gatePer unit+$250 – $2,200

A slope is the detail most often missed at quoting time. Measure the fall along the run and tell the contractor before the price is fixed.

  • Confirm the panel count and spacing, not just the linear feet.
  • Ask what the footings are drilled into, and whether patching is included.
  • Check the gate hinge type — hydraulic closers need adjusting over time.
  • Confirm the latch height against the local code.
  • On a sloped run, ask for stepped panels rather than a raked top rail on glass.

How long a pool fence takes

Glass is the slowest because the panels are made to the layout.

  1. Measure and layout

    1 day

    Run measured, panel count fixed, gate position and latch height agreed.

  2. Panel fabrication

    2 – 4 weeks

    Tempered panels cut and hardened to size; aluminum and mesh are faster.

  3. Footings and installation

    1 – 3 days

    Drilling, posts, panels, gate and hardware. A 100-foot run is a two-day job.

  4. Inspection

    1 – 5 days

    Barrier inspection, often required before the pool can be used.

Total: three to five weeks for glass, one to two for aluminum or mesh. Book the inspection early — it is what makes the fence legal, not just installed.

The six most expensive pool fence mistakes

A fence that fails inspection is a fence that has to be rebuilt.

  1. Buying glass before checking the code

    If the local code requires five feet, a four-foot frameless system is not a bargain — it is a re-order.

  2. Letting the gate swing toward the pool

    The code requires it to open away from the water, and a child pushing on it should not be able to fall in.

  3. Skipping the self-latching mechanism

    A gate that has to be manually latched is open far more often than anyone admits. The latch is the barrier.

  4. Ignoring footholds

    Horizontal rails, planter boxes and nearby furniture turn a fence into a ladder. Clear the zone along the outside.

  5. Choosing mesh for a permanent install

    It is designed to come down. Relying on it year-round means re-tensioning and replacing sections repeatedly.

  6. Not pulling the permit

    An unpermitted barrier can be ordered removed at resale, and insurers ask about it. The permit is $200 to $500 and it protects the investment.

Before you order a pool fence

Code first, material second, price third.

  • Confirm the required height and latch specification with the local building department.
  • Measure the run and the fall along it, not just the total length.
  • Ask for a panel layout with the gate position marked.
  • Confirm what the posts are anchored into, and whether patching is included.
  • Check that the gate is self-closing, self-latching and opens away from the pool.
  • Ask for the tempered-glass certification if you choose glass.
  • Confirm the permit is pulled in the contractor’s name.
  • Book the barrier inspection before the pool is first used.

Put a number on your project

Planning estimate only — confirm quantities with your supplier or contractor before ordering.

Frequently asked questions

How much does a pool fence cost?

Mesh costs $20 to $35 per linear foot installed, aluminum $30 to $60, semi-frameless glass $70 to $120 and frameless glass $100 to $170. A 100-foot run with one gate ranges from about $2,900 in mesh to $16,000 or more in frameless glass.

Is glass pool fencing worth the price?

It is worth it when the pool is the visual centre of the garden and an aluminum fence would cut it off. It buys the view, not extra safety: an aluminum fence that meets the same code protects a child just as well.

How tall must a pool fence be?

Four feet is the common minimum in the International Residential Code, with no footholds and a self-closing, self-latching gate. Some states require five feet, so confirm locally before ordering panels.

Can I use my house wall as part of the pool barrier?

In many jurisdictions yes, provided every door giving onto the pool area is self-closing and self-latching, or alarmed. That usually means new hardware on several doors, and it is worth pricing before assuming the wall saves fence.

Does a pool fence need a permit?

Most jurisdictions require a barrier permit and an inspection, typically $200 to $500. The inspection is what confirms the gate hardware, latch height and climbability, and it protects you if the work is ever questioned.

How do you clean a glass pool fence?

A soft cloth with water and a mild detergent, monthly in season. Avoid abrasive pads and hard-water sprays that leave a film. Sunscreen and body oils are the marks that build up fastest at child height.

Where these numbers come from

Ranges are installed national averages for 2026 on a level run with a prepared footing. Local code and slope conditions change the total.

Keep reading

All guides

Comparing contractor quotes? Request free quotes and check them against your own estimate — all 27 calculators on the site are free.