Massachusetts Pool Fence Requirements at a Glance

Fence Required?
RequiredSources verified September 2026
Minimum Height
48 inches
Maximum Opening Size
4 inches
Gate Requirements
Self-closing, self-latching, opens outward. Outside-reachable latch at 54"+; a pool-side-only latch 3" below the top.
Permit Required
Yes, from the local building official.
Penalty for Non-Compliance
Penalties under M.G.L. c. 143, § 94(a) (780 CMR 114.4).
Always Verify With Your Local Authority

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.

Confirm Your Setup

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 / CountyKey Notes
Every city and townThe 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 townsAsk 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)

Get Free Quotes from Massachusetts Installers

Request quotes from local installers through our partner Angi. Ask each one about Massachusetts permit rules before you sign.

 Find MA Installers

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.

MaterialInstalled, per linear footFull breakdown
Removable mesh$15 to $35Mesh fence cost
Aluminum$30 to $60Aluminum fence cost
Vinyl / PVC$20 to $45Vinyl fence cost
Tempered glass$90 to $500Glass 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

Is a pool fence required in Massachusetts?

Yes, for pools and spas that can hold more than 24 inches of water. The Massachusetts State Building Code (780 CMR, Tenth Edition) adopts the 2021 International Swimming Pool and Spa Code, which requires a barrier at least 48 inches high. The code applies in every city and town.

What is the minimum pool fence height in Massachusetts?

48 inches, measured on the side away from the pool, with no more than 2 inches between grass or gravel and the bottom of the barrier.

Can my town set its own pool fence rule?

Not one that conflicts with the state code. A town can ask the Board of Building Regulations and Standards to adopt more restrictive standards, and the board may approve them after a public hearing (M.G.L. c. 143, section 98). Zoning bylaws on setbacks are separate.

Does the Massachusetts pool code apply to above-ground pools?

Yes, if the pool can hold more than 24 inches of water. The pool wall can be the barrier if it is at least 48 inches high all around, and ladders or steps must be secured, locked or removed, or surrounded by a barrier of their own.

Do I need a permit for a pool in Massachusetts?

Yes. Work regulated by the state building code needs a permit from the local building official, and the application must clear zoning before the permit issues. Ask the building department for its pool checklist.

What does a pool fence cost in Massachusetts?

We found no published source that prices pool fences by state, so we use national installed ranges per linear foot: removable mesh $15 to $35, aluminum $30 to $60, vinyl $20 to $45 and tempered glass $90 to $500. Multiply by your fence perimeter. Get written quotes for your yard.

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.

Find Pool Fence Installers in Massachusetts

Request free, no-obligation quotes from Massachusetts installers through Angi.

 Get Free Quotes Now