Massachusetts Pool Fence Requirements at a Glance
State and local laws change. This information reflects our best research as of September 2026, but you must confirm current requirements with your local building department before installing or modifying any pool barrier. A stricter local building rule needs the state board's approval (M.G.L. c. 143, section 98).
Last reviewed: September 2026. Report an error →
Massachusetts Pool Barrier Law
Massachusetts has one building code for every city and town: 780 CMR, the Massachusetts State Building Code. The Tenth Edition took effect on October 11, 2024, and has been the only code in force since the concurrency period with the Ninth Edition ended on June 30, 2025. It requires pools, spas and hot tubs to comply with Section 3109 of the code and with the 2021 International Swimming Pool and Spa Code (ISPSC) (780 CMR 101.4.15). The code applies statewide and governs over any conflicting town bylaw (102.2.1).
The ISPSC barrier rules apply to pools and spas that can hold more than 24 inches of water. Section 305, as adopted in Massachusetts, requires:
- Height: 48 inches or more, measured from the outside of the barrier
- Bottom gap: 2 inches at most over grass, soil or gravel, and 4 inches at most over concrete or another solid surface
- Openings: none large enough to pass a 4-inch sphere, shrinking to 1.75 inches where horizontal rails sit under 45 inches apart; those rails go on the pool side
- Chain link: mesh of 2.25 inches or less, or 1.75 inches if slats are woven in
- Gates: pedestrian gates swing outward, away from the pool, and close and latch on their own. A latch a child could reach from outside must be 54 inches or higher; a latch mounted only on the pool side sits at least 3 inches below the gate top, with no openings over 1/2 inch within 18 inches of it
Can a town set its own rule? Not one that conflicts with the state code. A town's select board or a city's mayor can ask the Board of Building Regulations and Standards to adopt more restrictive standards, and the board may do so after a public hearing if special local conditions justify it (M.G.L. c. 143, § 98). Zoning is separate: the building permit also has to clear the town's zoning rules (780 CMR 105.3.1), which can govern setbacks and fence height.
Above-Ground Pools in Massachusetts
Above-ground and on-ground pools deeper than 24 inches are covered by the same Section 305. The pool's own wall can do the barrier's job if it reaches 48 inches all the way around and passes the opening limits, and a fence section mounted on top of the wall can make up any shortfall.
Ladders and steps must be able to be secured, locked or removed, with no 4-inch opening left behind, or be surrounded by a barrier of their own (Section 305.5 as adopted in Massachusetts). Older guides that say a removable ladder never counts in Massachusetts describe an earlier edition of the state code.
Ask your building department whether your pool wall, deck and ladder meet Section 305.5 before you buy.
City & County Variations in Massachusetts
Massachusetts has one building code, so the barrier rules are the same in every city and town. The local building official reviews the permit and inspects the barrier; zoning bylaws can still govern where the pool and fence sit on the lot.
| City / County | Key Notes |
|---|---|
| Every city and town | The local building official enforces 780 CMR and the 2021 ISPSC. A stricter local building rule needs the state board's approval under c. 143, § 98. |
| Shrewsbury Worcester County | The town publishes swimming pool barrier requirements that restate Section 305 as adopted in Massachusetts. |
| Other towns | Ask the building department for its pool handout, the permit checklist and any zoning setbacks. |
Official source: 780 CMR, Massachusetts State Building Code, Tenth Edition (Chapter 1)
Pool Fence Cost in Massachusetts
We found no published source that prices pool fences by state or city, so these are national installed ranges from our pool fence cost guide. Quotes where you live can land above or below them.
| Material | Installed, per linear foot | Full breakdown |
|---|---|---|
| Removable mesh | $15 to $35 | Mesh fence cost |
| Aluminum | $30 to $60 | Aluminum fence cost |
| Vinyl / PVC | $20 to $45 | Vinyl fence cost |
| Tempered glass | $90 to $500 | Glass fence cost |
National typical installed ranges, not quotes. Multiply by your fence perimeter. Some sources include one gate in the figure; extra gates, permits and hard deck surfaces add to the total. Sources: HomeGuide (Feb 3, 2026), Life Saver Pool Fence (Aug 5 and Sep 23, 2026) and Pool Guard USA (May 20, 2025). Full source list and method: pool fence cost guide. Reviewed September 2026.
Massachusetts-Specific FAQs
Massachusetts Pool Fencing: One State Code, Applied Town by Town
Massachusetts runs a single building code, and since mid-2025 that means the Tenth Edition of 780 CMR, which brings in the 2021 ISPSC for pools. The barrier rule is the same in every city and town: 48 inches, self-closing and self-latching gates, and the model code's latch and opening limits.
Towns cannot water it down or quietly add to it. A stricter local building rule needs the state board's approval, though zoning bylaws can still govern where the pool and fence sit on the lot.
Watch for outdated advice. Guides that cite Appendix G, or say a removable ladder never counts, are describing earlier editions of the code.
Ask your building department what depth it expects for fence and gate posts.
Sources
Every rule on this page traces to one of these. We link the primary source so you can check it yourself.
- 780 CMR, Tenth Edition, Chapter 1: Scope and Administration (mass.gov) (statewide application, 2021 ISPSC adoption (101.4.15), bylaws (102.2.1), permits, zoning, penalties (114.4))
- Tenth edition of the MA State Building Code 780 (mass.gov) (effective October 11, 2024; Ninth Edition concurrency ended June 30, 2025)
- Massachusetts Swimming Pool and Spa Code 2021, Chapter 3 (UpCodes) (Section 305 barrier text as adopted, including ladders)
- Town of Shrewsbury, Swimming Pool Barrier Requirements (January 2025) (a town handout restating Section 305)
- M.G.L. c. 143, section 98 (Massachusetts Legislature) (more restrictive local standards need state board approval)
Find Pool Fence Installers in Massachusetts
Request free, no-obligation quotes from Massachusetts installers through Angi.
Get Free Quotes Now