Key Takeaways
- Pool fences cost $20–$60 per linear ft installed in 2026, or $2,000–$6,000 for a typical 100-ft enclosure.
- Code is non-negotiable: 4-ft minimum height, self-closing/self-latching gates, no climbable gaps, and specific opening sizes — get it inspected or face liability.
- Aluminum ($30–$55/ft) and mesh ($20–$35/ft) are the top pool choices; chain link works but looks utilitarian.
- Mesh pool fences are removable and cost $1,500–$3,500 for a typical pool — the budget path that still meets code.
Introduction
A pool fence is the rare home improvement where code is the point, not a formality: in 2026, residential pool barrier laws in nearly every state require a 4-ft minimum fence with self-closing gates, and the liability for non-compliance dwarfs the fence cost. The good news: a compliant enclosure runs $2,000–$6,000 for a typical pool — comparable to a good privacy fence, with far more at stake.
This guide covers what the law requires, what materials cost, and how to pass inspection the first time.
2026 Pool Fence Costs by Material (Installed, per Linear Foot)
- Removable mesh: $20–$35 — $1,500–$3,500 for a typical pool; meets code, removes for parties, no permanent holes.
- Chain link (4 ft): $15–$25 — code-compliant but utilitarian; most HOAs restrict it.
- Aluminum ornamental (4–5 ft): $30–$55 — the pool-industry favorite: non-climbable, rust-proof, good-looking.
- Steel ornamental: $40–$70 — stronger, needs repainting; coastal homes should choose aluminum.
- Glass (tempered, frameless): $75–$150 — the luxury choice; unobstructed views, premium price, still code-compliant.
- Wood privacy (6 ft): $25–$45 — legal as a pool barrier if gaps meet code, but rarely used alone.
What the Code Actually Requires
While states differ, the model codes (IRC and state pool-safety laws) agree on the essentials: a barrier at least 4 ft high surrounding the pool; gates that self-close and self-latch with latches out of a small child’s reach (54 in. in many states); openings no larger than 4 in. (some states 3–4 in.) so kids can’t squeeze through; no horizontal members within 45 in. of grade that create climbable ladder points; and dwelling-side doors leading to the pool must be alarm-equipped or protected by a separate barrier. Mesh fences get an exemption path in several states when certified and installed per manufacturer specs. Check your state’s exact statute — and keep the inspection certificate.
Why Aluminum Dominates Pool Fencing
Aluminum wins on the three things pool owners need: corrosion resistance (chlorine and salt water destroy steel finishes), non-climbable design (vertical bars with no footholds), and visibility (parents need to see the water). At $30–$55/ft installed with a 20–30 year warranty and zero maintenance, it beats steel on lifetime cost in every coastal or chlorinated environment. Mesh is the budget alternative — it meets code, installs in an afternoon, and costs half as much, but it looks temporary and must come down for pool parties.
Regional Differences
Pool fence laws are strictest in states with high child-drowning rates: Florida, Texas, Arizona, and California enforce detailed barrier statutes with inspections, and fines for non-compliance run $500–$5,000. Labor follows the usual curve, and coastal states push buyers toward aluminum and glass because salt air destroys steel. In cold-weather states, pool fences are often seasonal considerations — but the code applies year-round regardless of pool use.
Hidden Costs to Budget For
- Gates: $200–$600 each for compliant self-closing/self-latching gates; pool code gates cost more than standard ones.
- Inspection and permit: $100–$400 — many jurisdictions require a final pool-barrier inspection.
- Dwelling-door alarms: $50–$150 each — code-required in most states for doors opening to the pool.
- Mesh fence anchors: $300–$600 — drilled socket anchors for removable mesh systems.
- Fines for non-compliance: $500–$5,000 in enforcement states — the real hidden cost.
DIY vs. Hiring a Contractor
Mesh pool fences are explicitly DIY-friendly — they install in an afternoon with hand tools. Aluminum and chain link are standard fence installs: DIY-able if you have fence experience, with $800–$1,500 in labor savings on a 100-ft run. The non-negotiable: verify your installation against your state’s exact code before the inspector arrives. One failed inspection costs $100–$300 in re-inspection fees, and a non-compliant barrier is a liability you cannot insure away.
Money-Saving Tips
- Fence the pool, not the yard — a 60–100 ft pool enclosure costs half of fencing the full property line.
- Choose mesh if you entertain — removable panels mean one fence that works for code and for parties.
- Buy aluminum in standard heights — custom heights add 20–40% in fabrication.
- Bundle door alarms and gates — bundling with the fence bid saves 10–20% versus separate contractors.
Use Our Interactive Calculator
Get a personalized estimate for your project in seconds.
Calculate Your Cost →