Mesh and glass are the two pool fence types that generate the most questions, and the most debate. They sit at opposite ends of the price spectrum, appeal to very different aesthetic priorities, and have distinct practical tradeoffs. This guide cuts through the noise with a direct, category-by-category comparison to help you make the right call for your home.
Quick Overview
Cost Comparison
Cost is where your options diverge most dramatically. Here's how mesh, glass, and aluminum compare for a typical 100-linear-foot residential pool, using the national installed ranges from our pool fence cost guide:
| Material | Per Linear Foot | 100 LF Installed | DIY Viable? |
|---|---|---|---|
| Mesh (removable) | $15 to $35 | $1,500 to $3,500 | Yes |
| Aluminum | $30 to $60 | $3,000 to $6,000 | Moderate |
| Vinyl / PVC | $20 to $45 | $2,000 to $4,500 | Moderate |
| Tempered glass | $90 to $500 | $9,000 to $50,000 | No |
The 100 LF column is the per-foot range times 100. Gates, permits and hard deck surfaces add to it.
Per foot, glass starts at about six times the price of mesh and can run far higher. If you want a permanent fence for a fraction of the cost of glass, compare aluminum at $30 to $60 per foot.
Get a personalized cost estimate for your pool size and material choice. Our free cost calculator multiplies the national installed ranges by the fence length for your pool size.
Safety Performance
We found no study that compares mesh and glass by drowning outcome, so this guide does not rank either one above the other. The research on fencing measured something else: in a Cochrane review, four-sided isolation fencing that separates the pool from the house had 83% lower odds of drowning than three-sided fencing (Thompson and Rivara).
What an inspector checks is your code. Under Section 305 of the International Swimming Pool and Spa Code (ISPSC), which many local codes follow, a barrier must be at least 48 inches high, leave no opening a 4-inch sphere can pass through, and sit no more than 2 inches above grade, with self-closing, self-latching pedestrian gates. Mesh has an extra check in some places: California lists ASTM F2286 removable mesh among its approved safety features (Health and Safety Code 115922), and Phoenix requires it for mesh barriers. Your state or city may be stricter; see your state requirements page.
Durability
We found no independent source that publishes how long mesh or glass pool fences last, so this guide does not give one. Warranties are the closest published number. Ask each maker or installer what the warranty covers and for how long, and whether it treats the mesh or glass, the posts and the gate hardware separately.
Aesthetics & Views
For many homeowners, this is the deciding factor. Glass pool fences are simply beautiful. Frameless tempered glass creates an unobstructed sightline from the house to the pool and preserves your view of the yard.
Mesh fences, by contrast, are visually modest. They do the job and disappear into the background reasonably well, but they won't enhance your backyard aesthetics. The dark mesh creates a visible barrier around your pool area.
If your pool is a focal point of your outdoor living space (if you've invested in landscaping, outdoor kitchen, or premium decking), glass is likely the right choice aesthetically. If the pool is functional rather than decorative, mesh performs perfectly well.
Maintenance
Both require maintenance, but of different kinds.
Mesh: Annual inspection for sagging, tears, or hardware corrosion. Replacement of individual damaged sections is straightforward and inexpensive. Check the poles and hardware for corrosion at the same time. Overall, maintenance is low-effort but requires periodic attention.
Glass: Glass requires regular cleaning to maintain its appearance: water spots, fingerprints, and sunscreen smudges are visible on glass in a way they aren't on mesh. In pools that see heavy use, cleaning every few weeks may be needed. Check the hardware that holds the panels when you clean.
Installation
Removable mesh is the type sold as DIY kits. With the right tools and a quality kit, a capable homeowner can install a mesh fence in a day. See our full DIY installation guide for the complete process.
Glass installation requires professional expertise, no exceptions. Panels are extremely heavy (50–100 lbs each), spigots must be precisely positioned and set in concrete, and an error can result in panel failure. Never attempt to DIY a glass fence installation.
State Code Compliance by Material
All four fence types can meet pool barrier codes, but some have state-specific requirements that matter before you buy.
| Material | Generally Code-Compliant? | Key Requirements |
|---|---|---|
| Mesh | Yes, with conditions | Look for mesh certified to ASTM F2286, the removable mesh pool fence standard. California lists F2286 mesh as one of its approved safety features (Health and Safety Code 115922), and Phoenix requires it for mesh barriers. Verify the mesh specification with your building department before purchasing. |
| Aluminum | Yes | Picket spacing must be ≤4 inches throughout. Height must meet your code: 48 inches under the ISPSC, 60 inches under Arizona's statute (ARS 36-1681). Gate hardware must be self-closing and self-latching. |
| Vinyl / PVC | Yes | Opening sizes must meet local code. Verify gate hardware separately: standard vinyl gate hardware may not be self-latching by default. |
| Glass | Yes | Panels are tempered or laminated safety glass. Check panel gaps, bottom clearance and the gate hardware against your code, and your HOA's design rules if you have one. |
State law sets the floor; your city or county may be stricter. See our state requirements pages for your exact standards, or grab our free inspection checklist PDF.
Side-by-Side Scorecard
| Category | Mesh | Glass |
|---|---|---|
| Upfront Cost | Lower: $15 to $35 per foot | Higher: $90 to $500 per foot |
| Code Compliance | Compliant versions exist; mesh may need ASTM F2286 | Compliant versions exist; check gate hardware |
| Aesthetics | Functional, unobtrusive | ✓ Winner: premium, unobstructed views |
| Maintenance | Low structural maintenance | Tie: less structural, more cleaning |
| DIY Option | ✓ Winner: fully DIY viable | Professional install only |
The Verdict: Which Should You Choose?
Answer 3 Questions to Find Your Fit
1. Do you have young children (under 7) in the home?
→ Yes: Any type that meets your code works. What matters most is fencing all four sides so the house does not open onto the pool. Removable mesh is the lowest-cost type in the table above and comes down as kids grow up.
2. What's your realistic total budget for about 100 feet of fence?
→ Under $3,500: Mesh.
→ $3,000 to $6,000: Aluminum or vinyl: permanent panel systems.
→ $9,000 and up: Glass is within reach and worth serious consideration if aesthetics matter.
3. Do you need a fence you can take down, for example when the pool is closed for the season?
→ Yes: Removable mesh.
→ No: Aluminum, vinyl and glass are permanent options; compare on looks and budget.
No single option suits every pool. Mesh is not a compromise; it's the right choice for many homeowners. Glass is not extravagant; for the right home and budget, it's a genuine investment. The question is which fits your priorities.
If you want a permanent fence that looks better than mesh but costs significantly less than glass, aluminum is worth a look. It runs $30 to $60/ft installed and comes in many styles. Our aluminum fence cost guide covers the full details.
Sources
- International Code Council. International Residential Code, Section R326, Swimming Pools. 2021.
- ASTM International. ASTM F2286-16(2023), Standard Design and Performance Specification for Removable Mesh Fencing for Swimming Pools, Hot Tubs, and Spas. (The removable mesh pool fence standard.) store.astm.org, checked September 2026.
- Thompson DC, Rivara F. Pool fencing for preventing drowning of children. Cochrane Database of Systematic Reviews 1998, Issue 1, CD001047. Status: stable, no update expected (Issue 9, 2010); content assessed up to date October 11, 2006. doi.org/10.1002/14651858.CD001047
- HomeGuide. How Much Does a Pool Fence Cost? (February 3, 2026). homeguide.com
- International Code Council. International Swimming Pool and Spa Code, Section 305, Barrier Requirements.