
Picture the scene. The excavation is done and the pool is full, and one of the kids has already bought a float shaped like a giant slice of pizza. The only thing standing between you and summer is a fence. And not just any fence.
For a lot of Massachusetts homeowners, the pool fence is an afterthought. It's easy to see why. Fences aren't exciting, and nobody frames a photo of their gate latch. But in Massachusetts, a pool fence is not optional. Cutting corners can hold up your inspection and cost you money. More importantly, it can leave a gap in the fence's most important job: protecting children.
Before you build, here's what you should know.
Why the Fence Matters So Much
Drowning is fast and silent. A toddler can disappear from view in the time it takes to answer the phone or flip a burger, and a backyard pool is irresistible to curious kids, not to mention curious dogs.
A barrier that fully surrounds the pool is one of the best safeguards a family can have. The CDC reports that a fence that encloses a pool can lower drowning risk by 83 percent. That's why building officials treat a pool fence much differently than the fence that hides your trash cans from the neighbors.
Does Your Pool Need a Barrier?
Almost certainly. Massachusetts regulates residential pool barriers through the state building code, called 780 CMR. Any pool that can hold more than 24 inches of water requires a compliant barrier. This applies to in-ground and above-ground pools, and yes, even those surprisingly large inflatable pools from the hardware store.
Pool fences also follow different permit rules. A regular backyard fence website 7 feet tall or shorter generally doesn't need a building permit under the state code, although many towns enforce their own zoning rules. A pool barrier, on the other hand, always requires a building permit. Your local building inspector will also check the barrier.
The Key Requirements, 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:
- Minimum height: The barrier must be at least 48 inches tall, measured from finished grade. On uneven ground, it has to meet that height along its entire length, even at the lowest points.
- Openings: No opening in the barrier can allow a 4-inch sphere to pass through. That's about the size of a small child's head, which is exactly the point.
- Climbability: Horizontal rails spaced less than 45 inches apart must go on the pool side of the fence, which keeps them from working like a ladder from the 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 their own compliant enclosure. Simply taking away a removable ladder isn't an acceptable substitute.
Keep in mind that the state code is the baseline. Local communities can layer on their own rules. In Boston, for example, a pool within 10 feet of a property line needs a solid fence at least 6 feet tall. It's always smart to 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 every time. Gates are where most barrier failures happen, because real life gets in the way. Guests haul coolers, juggle kids, and forget to pull the gate shut behind them.
This is why Massachusetts spells out gate requirements in detail:
- Walk-through gates must swing outward, away from the pool.
- They must be self-closing and self-latching, so safety doesn't depend on anyone's memory.
- Gates must be equipped to accommodate a locking device.
- Non-pedestrian gates, like wide equipment gates, still need to latch automatically.
- 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. There also can't be 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.
Here's a helpful tip: test your gate throughout the year, not just on installation day. New England's freeze-thaw cycles can shift posts and throw hardware out of alignment. The gate that latched perfectly last summer may not latch the same way next year.
What About the Back Door?
This one catches a lot of homeowners off guard. If the side of your house forms one side of the pool enclosure, doors that lead from the house into the pool area become part of the barrier. Those doors carry additional requirements, often door alarms or another approved safety measure. If your sliding door opens directly onto the pool deck, raise it with your installer or inspector early in the process.
Permanent or Removable Pool Fences?
Homeowners ask about this all the time, and the answer is often "eventually, both."
Permanent pool fences form the backbone of a pool safety plan. Typically built from aluminum, vinyl, or ornamental metal, they enclose the whole pool area, withstand New England winters, and protect the pool all year long without anyone having to set anything 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 see-through mesh lets you keep an eye on the water, and sections can be removed 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.
Many families use a layered approach. The foundation is a permanent fence that encloses the pool area and meets code. Down the road, when the grandkids start visiting, a new baby arrives, or the neighborhood kids discover your pool, removable mesh fencing goes in around the water as a second line of defense. The kids can play in the yard, but the pool stays off-limits. When it's just the adults, the mesh comes down in a few minutes.
It's the belt-and-suspenders approach to pool safety, and it's the one pool-related purchase nobody regrets. The pizza float? Maybe. The fence? Never.
Choosing Materials That Handle New England Weather
New England weather doesn't go easy on fences. Snow loads, ice, and repeated freezing and thawing all take their toll. A few things to consider:
- Aluminum is a favorite for pool enclosures. It won't rust, it needs very little upkeep, and its open design lets you watch the pool from inside the house.
- Vinyl gives you a clean look plus privacy options, 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 rules on openings and climbing.
Regardless of material, how the posts are set makes a big difference. Posts that aren't set properly can heave in the frost, and a shifted post can leave you with a gate that won't latch or a gap that fails inspection.
Questions to Ask Before Hiring a Fence Company
Not every fence company handles pool barriers regularly. Ask these questions before you sign anything:
- How familiar are you with my town's pool fence rules?
- Who takes care of the permit and inspection?
- Does your gate hardware meet the self-closing and latch height rules?
- What happens if my yard is sloped or uneven?
- Do you install removable pool fences too?
- How does your schedule line up with my pool installer's timeline?
A qualified installer will answer these questions easily. If they seem unsure what a 4-inch sphere has to do with anything, keep looking.
The Takeaway
Your pool should be a place to relax, not somewhere you constantly worry about. A properly built fence makes that possible. Get the height right, eliminate the gaps, give the gate extra attention, get the permit, and consider whether a removable fence fits into your long-term plans.
After that, inflate the pizza float and enjoy. You've earned it.
MValley Fence is a fence installation company based in North Andover, Massachusetts, with a specialty 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