Non-compliance consequences
- Failed inspection can prevent filling the pool.
- Fines may range from $100 to $5,000+ depending on jurisdiction.
- Homeowner's insurance may be affected.
- Liability risk increases in the event of an accident.
Enter your pool dimensions and material preference to get an instant cost estimate. Average pool fence project: $2,000-$13,500 installed. Most states require 4-5 ft minimum height with self-closing, self-latching gates. Always verify local code before installation.
Drowning is the #1 cause of unintentional death for children ages 1-4. Most states legally require a code-compliant pool fence for any permanent pool over 18 inches deep. Always verify local requirements.
Sources: HomeGuide · Pool Guard USA · HomeAdvisor
| Material | Cost/ft | 200 ft Total |
|---|---|---|
| Mesh (removable) | $10-$30/ft | $2,000-$6,000 |
| Chain link (black) | $10-$29/ft | $2,000-$5,800 |
| Galvanized steel | $10-$15/ft | $2,000-$3,000 |
| Wood | $20-$40/ft | $4,000-$8,000 |
| Vinyl | $30-$45/ft | $6,000-$9,000 |
| Aluminum | $30-$45/ft | $6,000-$9,000 |
| Wrought iron | $50-$85/ft | $10,000-$17,000 |
| Tempered glass | $120-$500/ft | $24,000-$100,000 |
| National avg (all) | — | $7,800 total |
Step-by-step mode helps homeowners choose safe defaults. Expert mode keeps every perimeter, gate, terrain, permit, and installation setting editable in one panel.
Step 1 of 5 — Your Pool
Irregular shapes may require custom panel cutting. This calculator applies a 15% complexity factor.
Above-ground pool fencing often follows the deck perimeter, not the pool edge. Measure the deck, not just the pool wall.
County rules may require 5 ft; verify locally.
View full code requirements for your state →Based on your selected state, minimum height is 4 ft (48").
Wood fencing may not meet 4 inch gap requirements without custom spacing. Verify picket spacing before ordering.
Tempered glass pool fences require professional installation and specialized anchoring hardware. DIY is not recommended.
Self-closing and self-latching hardware is included in all gate quotes because it is code-required.
No gates selected. Most pool fences require at least one self-closing, self-latching gate.
Pool fence DIY still requires permit and inspection in most states. DIY does not bypass code compliance.
Pool fencing is not optional in most U.S. states. Drowning is the leading cause of unintentional death for children ages 1-4, and most states legally require a code-compliant barrier for any permanent pool over 18 inches deep.
Use this calculator as a planning tool, then check your local building department, adopted ISPSC edition, and CPSC pool barrier guidance before ordering materials.
| Requirement | Specification | Notes |
|---|---|---|
| Minimum height | 4 ft (48") | CA, AZ, CO, WA, OR require 5 ft (60") baseline |
| Max gap at base | 4 inches | Prevents small children from squeezing under |
| Max gap between pickets | 4 inches | Prevents child from passing through |
| Self-closing gate | Required | Must return to closed position automatically |
| Self-latching gate | Required | Latch on pool side; at least 54 inches from ground |
| No footholds | Required | No horizontal rails on pool side that aid climbing |
| Permit | Required in most states | $40-$150 planning range |
| Inspection | Required in most states | Usually before filling pool |
| Applies to | Permanent pools over 18 inches deep | Inflatable pools typically exempt but local code varies |
| State | Min Height | ISPSC Adopted | Notes |
|---|---|---|---|
| California | 5 ft (60") | Yes | Strictest standard; ISPSC 2021 |
| Arizona | 5 ft (60") | Yes | ISPSC adopted |
| Colorado | 5 ft (60") | Yes | ISPSC adopted |
| Florida | 4 ft (48") | Partial | Some counties require 5 ft |
| Texas | 4 ft (48") | No | Local codes vary significantly |
| New York | 4 ft (48") | No | NYC requires 5 ft |
| Georgia | 4 ft (48") | No | Verify county code |
| Illinois | 4 ft (48") | No | Verify municipal code |
| Washington | 5 ft (60") | Yes | ISPSC adopted |
| Oregon | 5 ft (60") | Yes | ISPSC adopted |
| Most other states | 4 ft (48") | Varies | Always verify locally |
Always verify with your local building department. City and county codes frequently exceed state minimums, and the ISPSC trend is toward 5 ft barriers for new pool projects.
Installed: $10-$30/ft. Total for 200 ft: $2,000-$6,000. Mesh fences use stainless steel or fiberglass poles inserted into ground anchors, and many systems are removable.
| Budget mesh | $10-$18/ft |
| Premium mesh | $18-$30/ft |
Installed: $10-$29/ft. Total for 200 ft: $2,000-$5,800. Black vinyl-coated chain link resists rust better near pool chemicals and blends into landscaping.
| Galvanized steel | $10-$15/ft |
| Black vinyl-coated | $15-$29/ft |
Installed: $30-$45/ft. Total for 200 ft: $6,000-$9,000. Aluminum is the #1 contractor-preferred pool fence material because it never rusts and pre-assembled panels install quickly.
| Standard 4 ft pool panel | $30-$38/ft |
| 5 ft pool panel | $35-$45/ft |
| Ornamental with finials | $40-$60/ft |
Installed: $30-$45/ft. Total for 200 ft: $6,000-$9,000. Vinyl gives a clean, low-maintenance look and can provide privacy around pool areas visible from the street.
Vinyl is not rackable on steep slopes, so aluminum or chain link can be more practical around uneven pool decks.
Installed: $20-$40/ft. Total for 200 ft: $4,000-$8,000. Wood provides privacy and a classic look, but pool-code picket spacing must be 4 inches or less.
Wood requires more sealing and staining in wet pool environments than aluminum or vinyl.
Installed: $50-$85/ft. Total for 200 ft: $10,000-$17,000. Wrought iron is durable and premium-looking but needs rust maintenance near pool chemicals.
Professional installation is recommended because panels are heavy and gate alignment affects inspection.
Installed: $120-$500/ft. Total for 200 ft: $24,000-$100,000. Frameless or semi-frameless glass keeps pool views open and is the premium choice for luxury projects.
| Plexiglass / Lexan | $25-$40/ft |
| Semi-frameless glass | $120-$250/ft |
| Frameless glass | $250-$500/ft |
| Material | Cost/ft Installed | 150 ft Total | 200 ft Total | Lifespan | Maintenance | Code-Compliant |
|---|---|---|---|---|---|---|
| Mesh | $10-$30 | $1,500-$4,500 | $2,000-$6,000 | 5-10 yr | Low | Yes |
| Chain link (black) | $10-$29 | $1,500-$4,350 | $2,000-$5,800 | 20-30 yr | Low | Yes |
| Galvanized steel | $10-$15 | $1,500-$2,250 | $2,000-$3,000 | 15-25 yr | Low | Yes |
| Wood | $20-$40 | $3,000-$6,000 | $4,000-$8,000 | 15-20 yr | Medium | Yes, with correct spacing |
| Vinyl | $30-$45 | $4,500-$6,750 | $6,000-$9,000 | 20-30 yr | None | Yes |
| Aluminum | $30-$45 | $4,500-$6,750 | $6,000-$9,000 | 30-50 yr | None | Yes |
| Wrought iron | $50-$85 | $7,500-$12,750 | $10,000-$17,000 | 50+ yr | High | Yes |
| Plexiglass | $25-$40 | $3,750-$6,000 | $5,000-$8,000 | 10-15 yr | Medium | Yes |
| Tempered glass | $120-$500 | $18,000-$75,000 | $24,000-$100,000 | 30+ yr | Medium | Yes |
Fence installers charge by the linear foot of fence perimeter, not pool square footage. The enclosure grows quickly when you include the deck or patio offset.
| Pool Size | Pool Perimeter | Fence Perimeter (4 ft deck) | Aluminum Cost | Chain Link Cost |
|---|---|---|---|---|
| Small (12x24 ft) | 72 ft | 104 ft | $3,120-$4,680 | $1,040-$3,016 |
| Standard (16x32 ft) | 96 ft | 144 ft | $4,320-$6,480 | $1,440-$4,176 |
| Large (20x40 ft) | 120 ft | 176 ft | $5,280-$7,920 | $1,760-$5,104 |
| XL (20x50 ft) | 140 ft | 200 ft | $6,000-$9,000 | $2,000-$5,800 |
| Irregular / freeform | Varies | +15% estimate | Varies | Varies |
Formula check: rectangle fence perimeter equals (pool length + deck x 2 + pool width + deck x 2) x 2. Irregular shapes use a 15% planning factor until measured on site.
DIY pool fence is legally permitted in many states, but the permit and inspection requirement still applies. DIY does not bypass code compliance.
| Scenario | 200 ft Aluminum Cost | Savings vs. Pro | Skill Level |
|---|---|---|---|
| Full DIY (flat terrain, no deck) | $3,000-$5,600 | $2,000-$3,400 | Intermediate |
| DIY + rented auger | $3,200-$5,800 | $1,800-$3,200 | Intermediate |
| Professional install | $6,000-$9,000 | Baseline | N/A |
| Glass fence (pro only) | $24,000-$100,000 | N/A | Professional only |
Glass and wrought iron pool fences require professional installation. Specialized anchoring, panel alignment, gate geometry, and structural requirements are beyond normal DIY scope.
$10-$45 per linear foot installed for most materials, or $2,000-$13,500 total for a 200-300 ft perimeter. National average: $7,800 total. Glass can run $120-$500/ft.
Most states follow CPSC / ISPSC baseline rules: 4 ft minimum height in most states, 4 inch maximum gaps, self-closing and self-latching gates, no footholds, permit, and inspection.
Mesh and black chain link are the cheapest. A 200 ft mesh fence often costs $2,000-$6,000 installed; black chain link often costs $2,000-$5,800.
Aluminum is the most common contractor-recommended material for residential pools because it does not rust, installs quickly, and meets code at 4 ft or 5 ft.
Yes in most states. Permit cost is commonly $40-$150, and inspection is typically required before the pool can be filled.
4 ft minimum in most states; 5 ft in several ISPSC states including California, Arizona, Colorado, Washington, and Oregon. Local codes may exceed state minimums.
A walk gate costs $200-$900 installed. A drive or wide gate costs $800-$2,500. Self-closing and self-latching hardware is code-required.
Yes for some mesh, chain link, aluminum, and wood systems, but permits and inspections still apply. Do not DIY tempered glass or wrought iron pool fences.
A 16x32 ft pool with a deck offset commonly needs about 128-144 ft of fencing. At 144 ft, chain link costs $1,440-$4,176 and aluminum costs $4,320-$6,480.
Yes. A code-compliant pool fence is a required safety feature buyers expect. Aluminum and vinyl often return 50-70% ROI; glass can perform better in luxury markets.