Swimming pool rules in Gloucester, Massachusetts
Yes. A private pool is an allowed accessory recreational use in residential districts, but it can't sit in the required setbacks, and every in-ground or above-ground pool must be enclosed by a fence at least 4 feet high, at least 5 feet from the pool, with self-latching gates. Above-ground pools with walls 5 feet or higher don't need a separate fence, but the access needs a gate.
| Pool fence height | At least 4 ft, gates included [1] |
| Fence distance from pool | At least 5 ft [1] |
| Gates | Self-latching, latch at 4 ft or otherwise child-proof [1] |
| Above-ground pool with 5 ft walls | Exempt from fence; gate required at access [2] |
| Location | Not within required setbacks (except the water's edge setback) [4] |
| Counts as a structure | Pools 2 ft deep or more and 200 cu ft or more [5] |
Fencing
City ordinance Sec. 5-2 requires anyone with an in-ground or above-ground pool to enclose either the property or the pool area so small children can't get in. The enclosure and its gates must be at least 4 feet high, gates must be self-latching with the latch at 4 feet (or otherwise out of a child's reach), and the enclosure must be at least 5 feet from the pool [1]. A fence on an above-ground pool deck doesn't count unless the Inspector of Buildings approves it. An above-ground pool with walls 5 feet or higher is exempt from the fence, but its access needs a gate [2]. The rule applies to all pools, including older ones; a pre-existing pool may keep an enclosure that gives the same protection if the Inspector of Buildings accepts it [3]. The state building code adds detailed barrier rules on top of these.
Where the pool can go
Zoning allows recreational uses accessory to a home, for residents and nonpaying guests, in the residential districts, provided no swimming pool or active-use structure (other than small swing sets) is inside the required setbacks, except the water's-edge setback [4]. A pool at least 2 feet deep with a volume of 200 cubic feet or more counts as a structure under zoning [5], so it also counts toward lot coverage. The ordinance doesn't spell out which setbacks apply to pools; for accessory structures in the Sec. 3.2.1 table, side and rear setbacks are 15 ft in R-80 through R-20, 10 ft in R-10 and 5 ft in R-5.
Near water
The wetlands ordinance fee schedule lists a pool on an existing single-family lot as Category 1 Notice of Intent work [6], so a pool near a wetland or the shore needs a Conservation Commission permit.
Hot tubs
The sources we reviewed don't separately address hot tubs or spas.
See how Gloucester compares with 8+ other Massachusetts towns on swimming pools →
Next steps
- Confirm your district's required setbacks with Inspectional Services and site the pool outside them.
- Apply for a building permit with Inspectional Services, 3 Pond Road (978-325-5210), including the fence/barrier plan.
- Install an enclosure at least 4 ft high and at least 5 ft from the pool, with self-latching gates, before filling the pool.
- If the yard is near wetlands or the shore, file with the Conservation Commission first.
Common questions
- Do I need a permit for a pool in Gloucester, Massachusetts?
- Yes. Apply for a building permit with Inspectional Services, including the fence or barrier plan. A private pool is an allowed accessory use in residential districts but can't sit in the required setbacks, and a pool near a wetland or the shore needs a Conservation Commission permit.
- What are the pool fence requirements in Gloucester, Massachusetts?
- Every in-ground or above-ground pool must be enclosed by a fence at least 4 feet high, at least 5 feet from the pool, with self-latching gates latched at 4 feet or otherwise out of a child's reach. A fence on an above-ground pool deck doesn't count unless the Inspector of Buildings approves it.
- Does an above-ground pool need a fence in Gloucester, Massachusetts?
- It depends on wall height. An above-ground pool with walls 5 feet or higher is exempt from the fence, but its access needs a gate. Lower above-ground pools need the same enclosure as in-ground pools.
- Are hot tubs regulated in Gloucester, Massachusetts?
- The sources reviewed don't separately address hot tubs or spas. Ask Inspectional Services how the pool rules apply.
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.
What the bylaw says
- Sec. 5-2(a), Code of Ordinances Chapter 5 - Buildings and Building Regulations (Art. V Short-Term Rentals, Secs. 5-63 ff.; Sec. 5-2 pool fencing)
Any such enclosure, including gates therein, must be not less than four feet above the underlying ground. All gates must be self-latching with latches placed four feet above the underlying ground or otherwise made inaccessible from the outside to small children. Any such enclosure shall be located at least a distance of five feet away from the pool.
- Sec. 5-2(a), Code of Ordinances Chapter 5 - Buildings and Building Regulations (Art. V Short-Term Rentals, Secs. 5-63 ff.; Sec. 5-2 pool fencing)
Aboveground pools with a wall height of five feet or more will be exempt from the fencing requirement, but a gate must be placed around the access to any such pool.
- Sec. 5-2(b), Code of Ordinances Chapter 5 - Buildings and Building Regulations (Art. V Short-Term Rentals, Secs. 5-63 ff.; Sec. 5-2 pool fencing)
This section shall apply retroactively to all in-ground and aboveground pools within the city. Preexisting lawfully installed pools may be exempt from the above requirements if enclosures are provided which offer the same degree of protection as above and are acceptable to the inspector of buildings.
- Sec. 2.3.7, footnote (4) (line 14, recreational use accessory to a dwelling), Zoning Ordinance Section II - Use Regulations (Municode, Supp. No. 8, codified through Ord. No. 2025-233, adopted Sept 12, 2025)
Provided that no swimming pools or active use structures other than small children's swing sets and similar devices shall be located within required setbacks, other than the water's edge.
- Section VI - Definitions, Swimming Pool, Zoning Ordinance Section VI - Definitions
Pools having depth of two feet or more and having a capacity of two hundred cubic feet or more in volume shall be considered structures.
- Sec. 12-16, Fee Structure (Notice of Intent - Category 1), Code of Ordinances Chapter 12 - Marshlands (Art. II Wetlands, Secs. 12-10 to 12-28)
Work on an existing single-family home lot such as an addition, porch, pool, etc.;