Maryland Pool Fence Requirements at a Glance

Fence Required?
Yes — Statewide Baseline
Minimum Height
48 inches (Montgomery 60", PG 72")
Maximum Opening Size
4 inches
Gate Requirements
Self-closing, self-latching with a locking device. Latch 54"+ or on pool side.
Permit Required
Required statewide, administered by county building departments.
Penalty for Non-Compliance
County code enforcement; health-department complaints investigated within ~10 business days in some counties.
Always Verify With Your Local Authority

State and local laws change. This information reflects our best research as of early 2026, but you must confirm current requirements with your local building department before installing or modifying any pool barrier. Local rules may be stricter than state minimums.

Last reviewed: January 2026. Report an error →

Maryland Pool Barrier Law

Maryland requires a barrier around residential pools statewide. The Maryland Building Performance Standards make the International Residential Code / International Swimming Pool and Spa Code the mandatory baseline in every jurisdiction, and counties administer and enforce it — several adding their own stricter overlays.

Any structure holding water deeper than 24 inches at a single- or two-family dwelling is treated as a swimming pool. The statewide baseline includes:

  • Minimum barrier height of 48 inches measured on the outside
  • No openings larger than 4 inches in the barrier
  • Self-closing, self-latching gates equipped with a locking device
  • Gate latch at 54 inches or more, or on the pool side of the gate
  • Maximum 2-inch clearance between the barrier and the ground
  • Horizontal members less than 45 inches apart placed on the pool side

County overlays are significant in Maryland: Montgomery County requires a 5-foot (60-inch) fence and Prince George's County requires 6 feet (72 inches). Anne Arundel, Howard, Baltimore, and Carroll Counties maintain their own detailed pool-enclosure rules on top of the state baseline, so the county you're in materially changes the requirement.

Above-Ground Pools in Maryland

Maryland applies the same IRC barrier logic to above-ground pools. An above-ground pool wall at least 48 inches above grade around the full perimeter, with no external handholds or footholds and no attached deck creating access, can serve as the required barrier, and the access ladder must be removable, lockable, or securable.

If the above-ground pool is less than 48 inches tall, a barrier must be added to bring the effective height up to standard. Where the house forms one side of the enclosure, doors with direct pool access typically need an alarm.

County overlays matter here: in Montgomery County (60-inch requirement) and Prince George's County (72-inch requirement), a standard above-ground wall will not reach the local minimum on its own, so a taller barrier is generally needed.

County Rules Can Raise the Bar

Maryland's county overlays (Montgomery 60", Prince George's 72") can exceed a standard above-ground wall height. Confirm your county's requirement before relying on the pool wall as the barrier.

City & County Variations in Maryland

Requirements vary across Maryland jurisdictions. Here are key notes for the state's most populated areas. For areas not listed, contact your local building department directly.

City / CountyKey Notes
Montgomery CountyRequires a 5-foot (60-inch) fence with the gate latch at least 4 feet from the ground. Among the strictest in the state.
Prince George's CountyRequires a 6-foot (72-inch) barrier — the tallest residential requirement in Maryland.
Anne Arundel County48-inch minimum with a maximum 2-inch gap under the fence; permits through the county Permit Center; health-department complaint process.
Howard CountyBarrier openings limited to 1.75 inches for horizontal/vertical/diagonal members; tight gate-opening rules near the latch.
Baltimore CountyEnforces the adopted IRC baseline (48 inches) with standard gate and gap requirements.

Official source: Maryland Code (justia.com)

Get Free Quotes from Maryland Installers

Licensed, insured installers in Maryland who know local code requirements.

 Find MD Installers

Pool Fence Cost in Maryland

Maryland trends above the national average, especially in the Washington, D.C. and Baltimore corridors where labor costs are higher. Rural Western Maryland and the Eastern Shore run closer to average.

MaterialEstimated Range (MD)Per Linear Foot
Mesh (Removable)$1,200–$2,800$12–$22
Aluminum / Metal$2,400–$6,000$20–$46
Vinyl / PVC$1,900–$4,800$17–$36
Glass Panels$4,200–$9,500$38–$78

Based on a 100–140 linear foot pool with one gate. Prices include materials and professional installation. Permit fees ($50–$250) may be additional. Use our cost calculator for a personalized estimate.

AluminumMeshGlass

Black aluminum is the dominant choice across Maryland's suburban and HOA-heavy communities — it satisfies the non-climbable rule and handles humid summers and freeze-thaw winters well. Removable mesh is popular for its DIY-friendly install. Near the Chesapeake and on the Eastern Shore, salt air favors marine-grade or heavily coated hardware. Set footings below the frost line for stability.

Not Sure Which Material Is Right for You?

Our Mesh vs. Glass comparison guide and complete fence guide walk through the tradeoffs for each material type in detail.

Maryland-Specific FAQs

Is a pool fence required in Maryland?

Yes. Maryland's Building Performance Standards make a barrier mandatory statewide for pools deeper than 24 inches at single- or two-family homes, enforced by county building departments. Several counties require more than the 48-inch baseline.

What is the minimum pool fence height in Maryland?

The statewide baseline is 48 inches, but Montgomery County requires 60 inches and Prince George's County requires 72 inches. Confirm your county's rule before building.

Do I need a permit to install a pool fence in Maryland?

Yes. Permits are administered by county building departments, and a barrier inspection is part of the pool-construction process. Check with your county before beginning work.

Does Maryland's pool law apply to above-ground pools?

Yes. Above-ground pools deeper than 24 inches need a compliant barrier. A pool wall at least 48 inches high with a detachable ladder can qualify, but Montgomery and Prince George's Counties require taller barriers.

What are typical pool fence installation costs in Maryland?

Maryland runs above the national average, particularly around D.C. and Baltimore. A typical 120 linear foot pool with one gate runs roughly $1,600–$6,500 depending on material.

Maryland Pool Fencing: A Statewide Baseline With Strong County Overlays

Maryland's Building Performance Standards make the 48-inch IRC/ISPSC baseline mandatory everywhere, but the county you're in changes the real requirement more than the state rule suggests. The Washington, D.C. suburbs are the strictest: Montgomery County requires a 5-foot fence and Prince George's County a full 6 feet. Both counties run well-developed, systematic permit and inspection programs with inspectors experienced in pool barriers specifically.

Move around the state and the experience shifts. Anne Arundel and Howard Counties maintain their own detailed enclosure rules; Baltimore County and the surrounding metro apply the baseline competently. The Eastern Shore and Western Maryland have smaller building departments with lower pool-permit volume — allow more scheduling time and follow up proactively.

Two practical notes. Salt air along the Chesapeake and coastal bays corrodes standard gate and anchor hardware, so marine-grade components are worth specifying within a few miles of the water. And the permit pipeline peaks April through June ahead of summer openings — submit by early spring if you want to swim by Memorial Day.

Find Pool Fence Installers in Maryland

Get free, no-obligation quotes from licensed MD installers who know your local code requirements.

 Get Free Quotes Now

 Your information is private. No obligation.