Home › Massachusetts › Topics › Swimming Pools

Swimming Pools in Massachusetts: rules in 23 towns compared

What are the rules for putting in a pool? Here's how each town answers it. Click a town for the details and the exact bylaw text.

Last reviewed

This page is for Massachusetts homeowners planning an in-ground or above-ground pool, spa or hot tub. Under the State Building Code (780 CMR, 10th edition), residential pools must meet the 2021 International Swimming Pool and Spa Code as adopted in Massachusetts. You need a building permit for any pool except a prefabricated pool under 24 inches deep, and plans for an in-ground pool must be prepared by a registered design professional. The barrier must be at least 48 inches high, with gates that open outward from the pool and are self-closing and self-latching, and an in-ground pool site needs temporary fencing at least 4 feet high during construction. Your town's zoning still controls setbacks, and wetlands rules may apply near water.

All 23 towns we cover for this topic allow residential pools. Several set a taller fence than the state minimum: 6 feet in Wellesley and Hingham, and 5 feet in Wayland, Winchester and Scituate. In Weston, Concord, Sudbury, Lincoln and Chatham a pool must meet the same setbacks as a house, while Needham and Swampscott apply smaller accessory-structure setbacks of 5 feet from side and rear lines. Dover, Hingham and Cohasset also require Board of Health approval, mainly to keep pools clear of septic systems, and Manchester-by-the-Sea requires a Zoning Board of Appeals special permit for a pool in every residence district. Pick your town below for the details and the bylaw text.

Town-by-town comparison

TownVerdictShort answer
Wellesley
Norfolk Co.
Allowed with a permitYes, with a building permit. Wellesley's Zoning Bylaw requires a pool to be at least 30 ft from any street line and at least 10 ft (up to 30 ft, depending on how far the pool sits above grade) from other property lines, and it must be enclosed by a fence at least 6 ft high with self-latching gates.
Weston
Middlesex Co.
Allowed with a permitYes, with a building permit. Weston's Zoning By-law treats a swimming pool plus a 5-ft apron around the water as a "structure," so the pool and apron must meet the same setbacks as a house: 20 to 45 ft from lot lines, depending on district. Pool lights must be off by 11:00 p.m., and barrier fencing follows the state building code.
Lexington
Middlesex Co.
Allowed with a permitYes, with a building permit from Lexington's Building Commissioner. A swimming pool must be at least 20 feet from every lot line (or farther, if the district's building setback is greater), measured to the water's edge, and must have screening at least 5 feet high around it.
Concord
Middlesex Co.
Allowed with a permitYes. Private pools are allowed in all residential districts but must meet the same setbacks as the house: 15 ft from side lines, the lesser of 30 ft or 25% of lot depth from the rear, and a 20–40 ft front yard depending on the district. A building permit and safety barrier are required under the state building code.
Brookline
Norfolk Co.
Allowed with a permitYes, with a building permit. Under the version of Brookline's Zoning By-Law we reviewed (effective 2018), a swimming pool is allowed in every district except in the required front yard. A pool in a required side or rear yard needs a Board of Appeals special permit unless it is screened by a planted strip at least 4 feet wide that will form a dense year-round screen at least 6 feet high within three years.
Needham
Norfolk Co.
Allowed with a permitPools are allowed with a permit from the Building Commissioner. Under Needham's Zoning By-Law, a pool 2 ft or deeper or with at least 100 sq ft of water surface counts as a structure, so as an accessory structure it must be at least 5 ft from side and rear lot lines and 10 ft from other buildings. Pools don't count toward lot coverage, and barrier and fence rules come from the state building code.
Dover
Norfolk Co.
Allowed with a permitYes, with a Board of Health permit. A pool (or in-ground outdoor hot tub) must be at least 20 feet from any foundation and from any part of the septic system, it must meet zoning setbacks as a structure, and a fence or barrier at least 4 feet high with a self-closing, self-latching gate must surround it completely.
Sudbury
Middlesex Co.
Allowed with a permitYes, with a building permit from the Building Inspector. A private pool in a residential district must meet the same setbacks as a house: in Residence A and C that's 40 feet from the front line, 20 feet from the sides and 30 feet from the rear. The pool enclosure must meet the State Building Code.
Wayland
Middlesex Co.
Allowed with a permitYes. A swimming pool is an allowed accessory use in the Single Residence District with a building permit, and every pool needs a barrier: Wayland requires a fence at least 5 feet tall, and a safety cover doesn't count. Pool setbacks follow the accessory-structure rules in §198-703.1.
Lincoln
Middlesex Co.
Allowed with a permitLincoln has no pool-specific bylaw, but its zoning bylaw counts swimming pools as structures. A pool must be at least 50 feet from the street line and at least 20 feet from side and rear lot lines. Pools are barred from any vegetated wetland buffer strip the Conservation Commission requires. Permits and fence or barrier rules come from the state building code (shown separately).
Belmont
Middlesex Co.
Allowed with a permitYes. Private swimming pools are allowed in Belmont's Single Residence and General Residence districts, and the Zoning By-Law requires them to comply with the State Building Code, which means a building permit and a 48-inch safety barrier. Pools count as structures, and the setback rules for accessory buildings (5 ft from side and rear lines) likely apply.
Winchester
Middlesex Co.
Allowed with a permitYes. Uncovered swimming pools are allowed in Winchester's residential districts, but no part of the water or pool equipment may be in a required yard, the water must be at least 10 ft from any building, and the pool must be fully enclosed by a fence at least 5 ft high with self-latching gates. You can't fill it until a Certificate of Occupancy is issued.
Andover
Essex Co.
Allowed with a permitPrivate pools are allowed in Andover in rear and side yards, but not front yards. They must be at least 10 feet from the rear property line and meet the district's side-yard setback (20, 25 or 30 feet in SRA, SRB and SRC). Near wetlands, pools and pool decks need at least 35 feet from the resource area. State code requires a building permit and a 48-inch barrier.
Hingham
Plymouth Co.
Allowed with a permitYes, but Hingham's Board of Health must approve any residential pool in writing before you build it and inspect it before use. Any pool 2 feet deep or more needs a durable fence at least 6 feet high with a self-latching gate. Zoning has no pool-specific setback, but treated as a structure a pool must meet the district yard setbacks (for example 15 ft side/rear in Residence A, 20 ft in Residence B, C and E).
Cohasset
Norfolk Co.
Allowed with a permitUnder the Board of Public Health's pool regulations (adopted Sept. 20, 2022), you need the Board's approval of your plans before building any residential pool, and an inspection before using it. The pool must be enclosed by a fence at least 4 feet high with a self-latching gate, and kept at least 10 feet from a septic tank or the house foundation (20 feet from a cesspool or leaching field). We couldn't get Cohasset's zoning bylaw, so property-line setbacks are unknown; ask the Building Department.
Duxbury
Plymouth Co.
Allowed with a permitYes, with a permit. In Duxbury's main residential district a pool must be at least 10 feet from side and rear lot lines and meet the front setback: 25 feet from the street line, or 45 feet from the centerline of a narrower road. Near wetlands, the Conservation Commission won't allow a pool, including its grading and patio, within 50 feet of a wetland resource area.
Manchester-by-the-Sea
Essex Co.
Allowed with board reviewA swimming pool at a home in Manchester-by-the-Sea needs a special permit from the Zoning Board of Appeals in every residence district. Pools 2 feet or more deep (200+ cubic feet) count as structures and must meet accessory-structure setbacks, and every private pool must be enclosed by a fence at least 4 feet high.
Chatham
Barnstable Co.
Allowed with a permitYes. Chatham's zoning bylaw allows a swimming pool as an accessory use in all residential districts, but the pool, its enclosure and its pump equipment must meet the full building setbacks for your district. New pools are prohibited within 50 feet of a wetland without a Conservation Commission variance, and you'll need a building permit and a state-code safety barrier.
Falmouth
Barnstable Co.
Allowed with a permitYes. Falmouth's zoning treats a pool more than 24 inches deep as a structure, so it must be at least 10 feet from side and rear lot lines and 25 feet from the street. It can't go in the front yard without a Zoning Board of Appeals special permit. You'll also need a building permit and a state-code pool barrier.
Scituate
Plymouth Co.
Allowed with a permitYes, with a building permit for both in-ground and above-ground pools. Scituate's general bylaw requires every private pool covered by the building code to be enclosed by a non-climbable fence at least 5 feet high with self-closing, self-latching gates, and the Building Department says pools must stay 8 feet from the rear line and 8 or 15 feet from side lines depending on your zone.
Swampscott
Essex Co.
Allowed with a permitSwampscott's zoning bylaw treats pools and self-contained spas like accessory structures for setbacks: at least 5 feet from side and rear lot lines (or half the district's required setback, if larger) and no closer to the street than the front setback. Unlike sheds, there's no minimum distance from the house. Building permits and the safety barrier rules come from the State Building Code.
Hamilton
Essex Co.
Allowed with a permitYes, with a building permit. Hamilton's bylaw requires any outdoor pool deeper than 18 inches to be enclosed by a fence or wall at least 4 feet high with a self-closing, self-latching gate. The Building Department's pool handout says the pool and any structural deck must be at least 20 feet from side and rear lot lines, 25 feet from the front lot line and 12 feet from the house.
Carlisle
Middlesex Co.
Allowed with a permitYes. Carlisle's zoning bylaw lists a swimming pool as an allowed accessory use in residential districts, and it has no separate pool bylaw. You'll need a building permit; the bylaw's setbacks are written for buildings (40 feet from the street, and 40 feet from side and rear lines in most of town, 20 feet near the town center), so confirm with the Building Commissioner how they apply to your pool. Fencing follows the state building code.

Massachusetts building code rules for pools

Under the State Building Code (780 CMR, 10th edition), residential pools, spas and hot tubs must meet the 2021 International Swimming Pool and Spa Code (ISPSC) as adopted in Massachusetts.

Permits:

  • A building permit is needed for any pool except prefabricated pools under 24 inches deep.
  • Plans for in-ground pools must be prepared by a registered design professional (an engineer or architect).
  • Wiring must meet the Massachusetts Electrical Code (527 CMR 12.00), and gas pool heaters must meet the state plumbing and gas code (248 CMR).

Barrier (fence) requirements (ISPSC §305):

  • The barrier must be at least 48 inches high, measured on the side away from the pool.
  • The gap under the barrier can be no more than 2 inches over grass or gravel, or 4 inches over concrete.
  • Pedestrian gates must open outward away from the pool, be self-closing and self-latching, and be able to take a lock.
  • If a house wall forms part of the barrier, doors and low windows opening to the pool need an audible alarm (or another listed option).
  • In-ground pool construction sites need temporary fencing at least 4 feet high from excavation until the permanent barrier is up.
  • Spas and hot tubs with a lockable safety cover meeting ASTM F1346, and pools with a powered safety cover meeting that standard, are exempt from the barrier rules.

Local zoning still controls pool setbacks, and wetlands rules may apply near water.

State sources: 780 CMR 10th ed., Residential Chapter 1 (R101.4.15 ISPSC adoption; R105.2; R107.1) · 780 CMR 10th ed., Residential Chapter 3 (R327 pools and spas) · 780 CMR 10th ed., Chapter 31 (3109 swimming pools) · BBRS, Tenth edition of the MA State Building Code 780 · 2021 ISPSC Chapter 3 (Massachusetts viewer, UpCodes)

Common questions about pool rules in Massachusetts

Do you need a permit for an above ground pool in Massachusetts?
Usually yes. The State Building Code requires a building permit for any pool except a prefabricated pool under 24 inches deep. Some towns also require Board of Health approval or a zoning special permit, so check with your town.
Do you need a fence around a pool in Massachusetts?
Yes. Residential pools need a barrier at least 48 inches high under the state code, unless a qualifying exemption applies, such as a spa or hot tub with a lockable ASTM F1346 safety cover or a pool with a powered safety cover meeting that standard. Some towns require a taller fence.
What are the pool fence requirements in Massachusetts?
The barrier must be at least 48 inches high, with a gap underneath of no more than 2 inches over grass or gravel or 4 inches over concrete. Gates must open outward away from the pool, be self-closing and self-latching, and take a lock. Several towns we cover require a 5- or 6-foot fence.
How far does a pool have to be from the property line in Massachusetts?
It depends on your town. The state code doesn't set pool setbacks; local zoning does. Some towns treat a pool like the house and apply full building setbacks, while others use smaller accessory-structure setbacks. Wetlands buffers and septic-system distances can also apply.
Does an in-ground pool need engineered plans in Massachusetts?
Yes. Plans for an in-ground pool must be prepared by a registered design professional, such as an engineer or architect. Wiring must meet the Massachusetts Electrical Code, and gas pool heaters must meet the state plumbing and gas code.

Other topics

ADU rules · Chicken laws · Short-term rentals · Fence rules · Shed permits · Burn permits & fire pits · Home businesses · Wetlands rules · Docks & piers