Maine Pool Fence Requirements at a Glance

Fence Required?
RequiredState law requires a 4-foot fence; towns may set weaker or stricter rules.Sources verified September 2026
Minimum Height
4 feet (48 inches), set by state law
Maximum Opening Size
4 square inches; 4 inches wide between vertical pickets
Gate Requirements
Able to be securely fastened when the pool is not in use
Permit Required
Set by your town
Governing Code
22 M.R.S. 1631 to 1634; MUBEC where enforced
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. Maine law lets towns adopt pool fence rules that are weaker or stricter than the state statute (22 M.R.S. 1634).

Last reviewed: September 2026. Report an error →

Maine’s Two Layers of Pool Law

Maine has had a pool fence statute since 1983. Title 22, section 1632 requires a fence to be put up and kept up around every swimming pool, new or existing. A house or accessory building can form part of the enclosure, and every gate or door through it must be capable of being securely fastened whenever the pool is not in use.

The statute's definitions (section 1631) set the numbers:

  • The fence or wall must be at least 4 feet high and of a character to exclude children
  • No opening, hole or gap larger than 4 square inches
  • For fences of vertical posts or louvers, openings no wider than 4 inches, with no horizontal members between the top and bottom plates
  • Gates and doors are exempt from the dimension rules
  • A swimming pool means an outdoor pool, in or above ground, designed for water 24 inches deep or more

Portable above-ground pools with sidewalls at least 24 inches high are exempt from the fence requirement. Unusually, the statute does not preempt local rules: towns may adopt pool enclosure ordinances that are less or more restrictive than the state law (section 1634).

We corrected this page

An earlier version said the statute sets no minimum height. It does: section 1631 requires at least 4 feet.

Does the Code Reach Your Town?

Maine also has a statewide building code, the Maine Uniform Building and Energy Code (MUBEC). It applies to buildings across the state, but only towns of 4,000 residents or more must adopt and enforce it; smaller towns may choose to (Town of Topsham pool and spa information, April 2025). Where your town enforces MUBEC, its pool provisions apply alongside the statute.

Permits are set by your town. Ask your code enforcement officer which rules it checks: the statute, a local pool ordinance, MUBEC, or all three.

No local ordinance does not mean no rule

Where a town has adopted nothing of its own, the state statute's 4-foot fence rule still applies to your pool.

Above-Ground Pools in Maine

The statute exempts portable above-ground pools with sidewalls at least 24 inches high (22 M.R.S. 1632). Other above-ground pools designed for water 24 inches deep or more are covered. A town ordinance or MUBEC can still apply, so ask your code enforcement officer before you buy.

Pool Fence Cost in Maine

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.

Not sure DIY is right for you?

Get free quotes from Maine installers through Angi and compare the cost with doing it yourself.

 Get Free Quotes

Maine-Specific FAQs

Does Maine require a pool fence by state law?

Yes. 22 M.R.S. 1632 requires a fence around every outdoor swimming pool, new or existing, with gates and doors that can be securely fastened when the pool is not in use. Portable above-ground pools with sidewalls at least 24 inches high are exempt.

How tall does a pool fence have to be in Maine?

At least 4 feet. The statute's definition of a fence (22 M.R.S. 1631) sets that height and limits openings to 4 square inches, or 4 inches wide for vertical pickets with no horizontal members between the top and bottom plates.

Can a Maine town have less strict rules than the state?

Yes. 22 M.R.S. 1634 lets towns adopt pool enclosure ordinances that are less or more restrictive than the statute. Ask your town's code enforcement office which rule applies.

Do I need a permit for a pool fence in Maine?

Your town decides. Towns of 4,000 residents or more must enforce the state building code, MUBEC, and many require permits for pools. Ask your code enforcement officer before you build.

Does an above-ground pool need a fence in Maine?

Portable above-ground pools with sidewalls at least 24 inches high are exempt from the state fence requirement. Other above-ground pools designed for water 24 inches deep or more are covered, and local rules can add more.

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 Maine

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

Get My Free Quotes →