
Pool fence requirements in Texas
The 48-inch barrier, self-latching gates, and gap rules that keep a pool legal and safe.
By The T.A.P. Team · June 2024 · 6 min read
Texas law and local codes require residential swimming pools to be enclosed by a safety barrier — generally a fence at least 48 inches (4 feet) tall, with self-closing and self-latching gates and no gaps large enough for a small child to slip through. These rules exist to prevent drownings, and they're enforced through permits and inspections. If you have or are adding a pool, here are the barrier basics — but always confirm with your city and HOA.
- Barrier at least 48 inches (4 ft) tall
- Gates self-closing AND self-latching
- Latch high, out of a child's reach
- No gaps wide enough for a small child
- Openings/pickets spaced per code (small)
Why pool barriers are required
A pool fence is a life-safety barrier, not a style choice. Texas Health and Safety Code and adopted building/residential codes require an enclosure around residential pools to prevent young children from reaching the water unsupervised. Cities enforce it through pool permits and inspections, and homeowners are responsible for keeping the barrier compliant.
Height, gaps, and openings
The barrier generally must be at least 48 inches tall, measured on the side facing away from the pool, with no gaps at the bottom or between pickets large enough for a small child to squeeze through (codes specify maximum opening sizes). The barrier must also not have horizontal rails or footholds a child could climb on the outside. Ornamental metal and solid wood fences can both comply if built to spec.
Gates are the critical part
Pool gates must be self-closing and self-latching, open outward (away from the pool), and have the latch mounted high enough (per code) to be out of a small child's reach. A propped-open or broken pool gate defeats the whole barrier — it's the single most important thing to keep working. Many drownings trace back to a gate that didn't latch.
Confirm locally before you build
The 48-inch/self-latching framework is standard, but exact heights, opening dimensions, and whether a house wall can serve as part of the barrier vary by city and adopted code — and your HOA may add rules. Confirm with your city's permit office (and check general fence height rules) before building. This guide is general information, not a substitute for your local code.
| Requirement | Typical rule |
|---|---|
| Barrier height | ≥ 48 inches (4 ft) |
| Gate | Self-closing + self-latching, opens out |
| Latch height | High, out of child's reach (per code) |
| Bottom gap | Small (no child can slip under) |
| Climbability | No outside footholds |
A pool barrier is only as good as its gate. Best practice — beyond meeting code height and gap rules — is a self-closing, self-latching gate that you test regularly and never prop open. Most preventable pool tragedies involve a gate that failed to close or latch. Build the barrier to code, then keep the gate working like the life-safety device it is.
Pool fencing in North Texas
With so many DFW backyards featuring pools, compliant barriers are both a legal requirement and a genuine safety must across Southlake, Frisco, and Flower Mound. We build code-compliant ornamental metal and wood pool enclosures with proper self-latching gates. See our fence team.
The short version
- Texas requires residential pools to be enclosed by a safety barrier.
- The barrier is generally at least 48 inches (4 feet) tall.
- Gates must be self-closing, self-latching, and open away from the pool.
- The latch must be mounted high, out of a small child's reach.
- No gaps large enough for a small child to slip under or through.
- Exact rules vary by city and HOA — confirm locally before you build.
Pool fence requirements — frequently asked questions

Need a pool-safe fence?
Get a code-compliant pool enclosure and gate. Serving Dallas–Fort Worth & North Texas for over 25 years.