
Here's the scene. The pool is dug, the water is in, and somebody in your family has already picked out a giant pizza-slice float. All that stands between you and summer is a fence. And not just any fence.
For plenty of Massachusetts homeowners, the pool fence is the last thing they think about. It's easy to see why. Nobody gets excited about fences, and no one shares vacation photos of a gate latch. But in Massachusetts, a pool fence is required by law. A mistake can push back your inspection and add to your costs. Even worse, 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 the Fence Matters So Much
Drowning is fast, and it's usually silent. A small child can slip away 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 barrier that fully surrounds the pool is one of the most effective protections available. Data from the CDC shows that a fence that surrounds a pool can lower drowning risk by 83 percent. It's the reason building officials treat a pool fence much differently than the fence that keeps the neighbors from seeing your trash cans.
Is a Pool Barrier Required?
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. That covers in-ground and above-ground pools, and it even applies to those surprisingly large inflatable pools from the big-box store.
Permits are another area where pool fences are different. A regular backyard fence 7 feet tall or shorter generally doesn't need a building permit under the state code, although many towns enforce their own zoning rules. Pool barriers, on the other hand, always require 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 what it means in everyday terms:
- Height: The fence must stand at least 48 inches tall, measured from the finished ground. On a sloped yard, it has to meet that height all the way around, including at the low spots.
- Gaps: A 4-inch sphere must not be able to fit through any gap in the barrier. That's roughly the size of a small child's head, which explains the rule.
- Climb resistance: If the horizontal rails are less than 45 inches apart, they must be on the pool side of the fence, so no one can use them as a ladder from outside.
- Lattice designs: With lattice or other diagonal patterns, openings can be no wider than 1¾ inches.
- Above-ground pools: If the side of the pool is used as the barrier, the ladder or steps still need a compliant enclosure of their own. Pulling up a removable ladder doesn't count as a substitute.
Keep in mind that the state code is the baseline. Individual cities and towns can add their own requirements. Boston, for example, requires a solid fence at least 6 feet tall when a pool is within 10 feet of a property line. Always confirm the rules with your local building department, or work with an installer who already knows the rules in your town.
The Gate Has Its Own Rules
If the fence is the nightclub, the gate is the bouncer, and it has to do its job every single time. The gate is where most barriers fail, because real life gets in the way. Everyone haul coolers, balance plates of food, and leave the gate open behind them.
That's 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 nobody has to remember anything.
- Gates must have room for a locking device.
- Other gates, such as wider equipment gates, must still be self-latching.
- When the latch release sits less than 54 inches from the bottom of the gate, it must be on the pool side, at least 3 inches below the top of the gate. The gate and barrier also can't have any opening larger than ½ inch within 18 inches of the release. In practical terms, a small hand can't reach through and flip the latch.
Here's a helpful tip: test your gate throughout the year, not just on installation day. New England freeze-and-thaw cycles can shift posts and throw hardware out of alignment. A gate that clicked shut perfectly in June might barely close by the next spring.
Don't Overlook Doors From the House
Many homeowners overlook this one. If the side of your house forms one side of the pool enclosure, every door opening onto the pool area becomes part of the barrier. Those doors come with additional safety requirements, typically door alarms or other approved measures. If your sliding door opens directly onto the pool deck, mention it early to your installer or building inspector.
Permanent vs. Removable Pool Fences
It's one of the questions installers hear most often, and the answer is often "eventually, both."
Permanent pool fences are the mesh pool safety fence MA foundation of pool safety. Most often made from aluminum, vinyl, or ornamental metal, they surround the entire pool area, withstand New England winters, and protect the pool every day of the year without anyone having to set anything up. In most cases, the permanent fence is the primary barrier that meets the building code.
Removable mesh pool fences slide into sleeves installed in the pool deck, generally closer to the water. The see-through mesh keeps your view of the pool open, and sections can be removed for grown-ups-only get-togethers or at the end of the season. Look for a removable fence built to ASTM F2286, the safety standard for removable pool barriers. Whether a removable fence can serve as your only barrier depends on your town and your property, so check before relying on it by itself.
Many families use a layered approach. The first layer is a permanent fence that encloses the pool area and meets code. Then, when grandchildren start visiting, a new baby arrives, or the neighborhood kids discover your pool, removable mesh fencing goes in around the water as a second layer of protection. Kids are free to play in the yard while the pool stays off-limits. When only adults are around, the mesh comes down in minutes.
Think of it as belt-and-suspenders pool safety. It's the pool accessory no one ever regrets. The pizza float? Maybe. The fence? Never.
Choosing Materials That Handle New England Weather
Massachusetts is hard on outdoor structures. Snow loads, ice, and repeated freezing and thawing all take their toll. A few things to consider:
- Aluminum is one of the most popular pool fence materials. It won't rust, it needs very little upkeep, and its open design lets you watch the pool from inside the house.
- Vinyl offers a clean look and privacy options, but make sure the design doesn't create outside footholds or gaps that fail code.
- Ornamental styles can be stunning, but decorative details still need to follow the rules on openings and climbing.
Whatever the material, how the posts are set makes a big difference. Improperly set posts can heave when the ground freezes, 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 you sign a contract, ask:
- How many pool safety fences have you installed in my town?
- 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?
- How does your schedule line up with my pool installer's timeline?
The right installer will have ready answers. If they seem unsure what a 4-inch sphere has to do with anything, keep looking.
The Takeaway
A pool should be where you relax, not somewhere you constantly worry about. 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.
Then go ahead and inflate the pizza float. 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. The company serves homeowners in Lawrence, Andover, North Andover, Methuen, Haverhill, Amesbury, Merrimack, Lowell, Dracut, Tewksbury, and Tyngsboro. To talk with the team about a pool fence, call 978-689-2125.
87 Union St
North Andover, MA 01845
978-689-2125