Self-Closing, Self-Latching Gate on a Pool Fence

The gate rule that trips up most pool fence inspections, and how high the latch must sit.

Updated November 2026 Glossary Term

Self-Closing, Self-Latching Gate: A gate in a pool barrier that returns to the closed position on its own from any open point and engages its latch automatically, without anyone touching it.

What the Gate Rule Means

A pool gate has to do two things without help: swing shut by itself, and latch when it shuts. Every pool barrier needs one, because a gate propped open or left unlatched is the easiest way for a toddler to reach the water. Inspectors test it by opening the gate to different positions and letting go; it has to close and click each time.

The model pool code (ISPSC) and the IRC pool appendix write the rule this way, and cities adopt it with local changes. The same requirement applies to every gate in the enclosure, including a gate into a side yard or a pedestrian gate beside a driveway, and a gate that opens toward a pool deck must also meet the height and opening rules. Latch hardware that a child can reach, or a gate with a visible gap at the latch, will be marked.

Swing Direction and Latch Height

The common model-code rule is that pool gates open outward, away from the pool, so a child cannot push the gate in. The latch release must also be out of a small child's reach: the codes commonly set the release at least 54 inches above the ground, or allow it lower only if it sits on the pool side of the gate, below the top of the gate, with no opening a hand could reach through.

Cities depart from these numbers, and spring hinges and latches that are not rated for pool use do not meet the rule.

What Inspectors Check

Inspectors look for tension on the hinges, a latch that engages every time, no gap beneath the gate that a child could crawl through, and a gate that closes even if the ground has shifted. Hardware must be rated for outdoor and pool use, since chemicals and moisture corrode ordinary hinges. Doors from the house into the pool area may also need alarms.

Gates that fail are usually adjusted, not replaced, but a failed inspection can delay the final approval and the day you are allowed to fill the pool. Re-inspection can carry its own fee in some cities, so test the gate yourself, with a child-height reach, before you call.

Where Gate Rules Come Up on This Site

Our research on pool barrier heights found latch heights of 40 inches in New York, 54 in Arizona and Texas and 60 in California, among 30 cities compared. That page also shows which cities allow a safety cover in place of a fence, and the rule each city cites. Gate rules are the same kind of detail as the barrier height: small differences between cities, big consequences at inspection. The latch figures above come from that comparison and are the cities' own. See the pool permit guide for the steps, and pool barrier for the whole enclosure.

Frequently Asked Questions

The model codes call for a pool gate to open outward, away from the pool, so it cannot be pushed in. Some cities add details about direction, and a gate that serves a yard with a slope may need special hardware. Check the local rule.
The model code commonly sets the release at least 54 inches above the ground. Cities differ: our research found 40 inches in New York, 54 in Arizona and Texas and 60 in California. Use your city's number, which is on its pool handout.
Probably. The inspector tests the gate from several open positions and expects it to close and latch each time. Adjusting the hinges, replacing a spring or realigning the latch usually fixes it. Do this before the final inspection is scheduled.
Stay up to date
Get notified when we add new cities or update permit fees.