
Picture it. The digging is done and the pool is full, and someone in the family has already ordered a giant pizza-slice float. All that stands between you and summer is a fence. And not just any old fence.
For a lot of Massachusetts homeowners, the pool fence is an afterthought. That's understandable. Nobody gets excited about fences, and a gate latch has never been the star of a backyard photo. But in Massachusetts, a pool fence is required by law. Cutting corners can push back your inspection and add to your costs. More importantly, it can leave a gap in the fence's most important job: keeping kids safe.
Here's what you need to know before you build.
Why a Pool Fence Is So Important
Drowning is fast, and it's usually silent. A young child can disappear from view in the time it takes to answer the phone or flip a burger, and a backyard pool is a powerful magnet for curious kids, to say nothing of curious dogs.
A fence that completely encloses the pool is one of the most effective safety measures available. Data from the CDC shows that a fence that surrounds a pool can cut drowning risk by 83 percent. That's why building officials treat a pool fence very differently from the fence that keeps the neighbors from seeing your trash cans.
Does Your Pool Need a Barrier?
In nearly every case, yes. Massachusetts regulates residential pool barriers through the state building code, 780 CMR. Any pool that can hold more than 24 inches of water needs a compliant barrier. This applies to in-ground and above-ground pools, and that even means those surprisingly deep inflatable pools from the home improvement store.
Permits are another area where pool fences are different. An ordinary backyard fence of 7 feet or less generally doesn't need a building permit under the state code, though many towns have their own zoning rules. A pool barrier, on the other hand, always requires a building permit. The barrier is also part of what the local building inspector reviews.
What the Code Requires, in Plain English
The code is written in the kind of language that makes your eyes glaze over. Here's the plain-English version:
- Height: The barrier must be at least 48 inches tall, measured from the finished ground. On uneven ground, it has to meet that height along its entire length, including at the low spots.
- Openings: No gap anywhere in the barrier can be large enough for a 4-inch sphere to pass through. That's about the size of a small child's head, which is exactly the point.
- Climbability: When horizontal rails are spaced less than 45 inches apart, they must be placed on the pool side of the fence, so no one can use them as a ladder from outside.
- Lattice designs: Lattice and other diagonal designs can't have openings wider than 1¾ inches.
- Above-ground pools: When the pool wall itself acts as the barrier, the ladder or steps still need to be enclosed by a compliant barrier. Pulling up a removable ladder doesn't count as a substitute.
Keep in mind that the state code is the baseline. Cities and towns can add requirements of their own. In Boston, for example, a pool within 10 feet of a property line needs a solid fence at least 6 feet get more info tall. Always check with your local building department, or choose an installer who is familiar with local requirements.
The Gate Gets Its Own Set of Rules
If the fence is the nightclub, the gate is the bouncer, and it has to do its job without fail. The gate is where most barriers fail, because real life gets in the way. People carry coolers, juggle toddlers, and leave the gate open behind them.
This is why Massachusetts spells out gate requirements in detail:
- Walk-through gates must open outward, away from the pool.
- They must be self-closing and self-latching, so safety doesn't depend on anyone's memory.
- Gates must have room for a locking device.
- Larger gates, like those for equipment access, still need to latch on their own.
- If the latch release is lower than 54 inches from the bottom of the gate, it has to be on the pool side, at least 3 inches below the top. The gate and barrier also can't have any opening larger than ½ inch within 18 inches of the release. The goal is simple: small hands can't reach through and pop the latch.
One practical tip: test your gate often, not just on installation day. New England's freeze-thaw cycles can shift posts and throw hardware out of alignment. A gate that snapped shut in June might just drift closed the following May.
What About the Back Door?
This one catches a lot of homeowners off guard. If your home's exterior wall forms one side of the pool enclosure, doors that lead from the house into the pool area become part of the barrier. Those doors have extra safety requirements, usually alarms or other approved safeguards. If your back door opens directly onto the pool deck, raise it with your installer or inspector early in the process.
Permanent vs. Removable Pool Fences
Homeowners ask about this all the time, and the answer is often "both, eventually."
Permanent pool fences are the foundation of pool safety. Usually made of aluminum, vinyl, or ornamental metal, they surround the entire pool area, stand up to Massachusetts winters, and protect the pool every day of the year without anyone setting them up. For the majority of homes, the permanent fence is the main barrier that meets code.
Removable mesh pool fences are installed in sleeves set into the pool deck, usually nearer the water's edge. The transparent mesh preserves your view of the pool, and sections can be taken down for adult gatherings or at the end of the season. Well-made removable fences meet ASTM F2286, the safety standard for removable pool barriers. Whether a removable fence alone will satisfy your inspector depends on your town and your setup, so ask before you count on it as your only barrier.
A layered approach works well for many families. The first layer is a permanent fence that encloses the pool area and meets code. Down the road, when grandchildren start visiting, a new baby arrives, or the neighborhood kids discover your pool, families add a removable fence around the water for an extra layer of protection. The yard stays open for play, but the water stays off-limits. When it's just the adults, the mesh comes down in a few minutes.
Think of it as belt-and-suspenders pool safety. It's one pool purchase nobody regrets. The pizza float? Maybe. The fence? Never.
Picking Fence Materials for New England Weather
New England weather doesn't go easy on fences. Heavy snow, ice, and constant freeze-thaw cycles all take a toll. A few things to consider:
- Aluminum is one of the most popular pool fence materials. It won't rust, it needs minimal maintenance, and its open design lets you see the pool from your window.
- Vinyl provides a clean appearance and privacy styles, but make sure the design doesn't create footholds on the outside or gaps that break the code.
- Ornamental styles can be stunning, but decorative details still need to follow the opening and climbability rules.
No matter which material you choose, correct post installation matters. Posts that aren't installed correctly can shift with frost heave, and a shifted post can leave a gate that no longer latches or a gap that no longer passes inspection.
Questions to Ask Before Hiring a Fence Company
Not every fence company handles pool barriers regularly. Before signing a contract, ask these questions:
- How familiar are you with my town's pool fence rules?
- What's your process for permits and inspections?
- What gate hardware do you use, and does it meet the latch height requirements?
- How do you handle a sloped or uneven yard?
- Can you add a removable mesh fence down the road?
- Can your schedule work around my pool installer's timeline?
The right installer will have ready answers. If they look puzzled when you mention a 4-inch sphere, keep looking.
The Takeaway
A backyard pool is supposed to be your place to unwind, not somewhere you keep glancing at over your shoulder. The right fence makes that possible. Get the height right, close the gaps, pay extra attention to the gate, pull the permit, and think about whether a removable fence belongs in your long-term plan.
After that, inflate the pizza float and enjoy. You've earned it.
MValley Fence is a fence installation company based in North Andover, Massachusetts, specializing in residential fencing, including permanent and removable pool safety fences. It serves homeowners in Lawrence, Andover, North Andover, Methuen, Haverhill, Amesbury, Merrimack, Lowell, Dracut, Tewksbury, and Tyngsboro. For a pool fence consultation, call 978-689-2125.
87 Union St
North Andover, MA 01845
978-689-2125