"Pittsburgh" is a mailing address far more often than it is a jurisdiction. Allegheny County contains 130 municipalities and no unincorporated land — every square foot belongs to a city, borough or township, and the county itself does not issue building permits. Roughly three-quarters of the county's residents live outside the city limits, in places like Mt. Lebanon, Bethel Park, Ross, Penn Hills, Moon and Upper St. Clair, each with its own code office and its own answer.

So the first question is not what the barrier rules are. It is who your code official is. Get that wrong and everything downstream — the application, the fee schedule, the inspection sequence, sometimes the requirements themselves — is wrong with it. This guide covers the City of Pittsburgh's requirements in detail, because they are documented and specific, then explains how to run the same process in a borough.

Three Agencies, One Pool

A single residential pool in Allegheny County is typically reviewed by three different bodies operating on separate tracks. They do not coordinate for you.

WhatWhoNotes
Building & zoning Your municipality In the city, that is the Department of Permits, Licenses and Inspections — PLI, as it is universally called in Pittsburgh — filed through its OneStopPGH portal. In a borough or township, it is the local code office — many of which contract the work out to certified third-party agencies. Barrier compliance is reviewed here, as part of the pool application.
Plumbing Allegheny County Health Department Unusual, and easy to miss: the Health Department's Plumbing Program permits and inspects residential plumbing across the whole county under Article XV, independent of which municipality you are in. Plan approval comes before work starts.
Electrical Municipality or third-party agency PLI's residential pool form is unambiguous that every pool and spa requires an electrical permit for grounding and bonding. This is not optional and not folded into the building permit.
The county is not a shortcut

Homeowners regularly call Allegheny County looking for a pool permit and are redirected. Except for plumbing, the county has no role. There is also no unincorporated territory in Allegheny County, so "I'm not in any municipality" is never the answer.

The City of Pittsburgh Barrier Spec Sheet

PLI publishes a residential pool form that spells out the barrier requirements line by line. This is more specific than most municipal guidance in the region, and it is what a city inspector will be working from. Every figure below comes from that form.

Height

48 inches above grade for the entire perimeter — and for all areas within 3 feet outside the barrier. That second clause is the one people miss: a raised bed, wall or slope three feet out can defeat an otherwise-compliant fence.

Openings

No opening may pass a 4-inch sphere. For chain link and barriers with diagonal members, the maximum opening drops to 1¾ inches.

Base clearance

Maximum 2 inches above grass, gravel or similar material.

Clear space outside

36 inches clear between the exterior of the barrier and any permanent structure.

Clear space inside

20 inches between the barrier and the water's edge.

Horizontal members

If the spacing between horizontals is under 45 inches, they must sit on the pool side, and vertical openings drop to a 1¾-inch maximum. At 45 inches or more, the general opening rules apply.

Gates

Self-closing, self-latching, and equipped to accept a locking device.

Ladders & steps

Ladders: minimum 2-inch tread, 17–24 inches between handrails or handholds. Steps: minimum 5-inch tread, 12-inch minimum width. Tread spacing 7–12 inches on both.

Drawings

A Pennsylvania-licensed architect or engineer must prepare drawings for any custom-built pool or spa, and for any in-ground pool deeper than 4 feet.

Site plan

Required, showing barrier location and type relative to the pool and the property lines.

City of Pittsburgh PLI Residential Pool Form (PDF)

The Code Edition Changed This Year

Anyone researching Pittsburgh barrier requirements right now is reading across a code transition, and a lot of guidance published during it is wrong about the dates.

Scheduled for July 13, 2025 — then postponed

Pennsylvania had expected to move to the 2021 ICC code series on that date, but the Department of Labor and Industry had not completed the required regulatory review, and the date was withdrawn. Guidance published in early 2025 citing a July effective date is out of date.

January 1, 2026 — statewide effective date

The Independent Regulatory Review Commission approved the update in October 2025 and it was published in the Pennsylvania Bulletin the following month, adopting nearly all of the 2021 International Codes — including the 2021 International Swimming Pool and Spa Code — with Pennsylvania amendments. This applies across the commonwealth, not just in Pittsburgh.

The transition window closes June 30, 2026

Where a design or construction contract was signed before January 1, 2026, a permit may still be issued under the 2018 code provided the application is made within six months of the effective date. Contracts signed on or after January 1, or applications filed from July 1, 2026 onward, fall under the 2021 code.

An honest caveat about the spec sheet above

PLI's residential pool form carries a 2019 revision date, which places it before the 2021 code adoption. The figures on it track the barrier provisions closely and the substance of those provisions changed little between editions, but a form is not the code. Confirm current requirements with PLI, and and check which code edition your application will be reviewed under, before ordering materials or finalizing a design.

Grade Is the Local Difficulty

Pittsburgh is built on ridges and hollows, and a great many residential lots in the city and the river boroughs pitch noticeably across the rear yard. Three requirements interact badly with that, and together they account for most failed barrier inspections in the region.

What slope does to a compliant fence

  • Height is measured at every point, not on average. A fence that reads 48 inches at the high end can fall short at the low end of the same run. Stepped panels or taller stock in the low sections are the usual remedy.
  • The 2-inch base clearance is measured at the worst spot. Follow the grade too loosely and the gap under a panel opens past 2 inches in the dips. Retaining boards or a graded trench close it.
  • The 3-foot exterior zone follows the terrain. The barrier must hold 48 inches for all areas within 3 feet outside it. On an uphill exterior, the ground rises toward the fence and the effective height drops — the fence may need to be taller than 48 inches to comply.

The practical consequence is that Pittsburgh barrier quotes vary far more by lot than by pool. Two identical pools four blocks apart can differ by thousands of dollars purely on grade work, and a quote produced without a site visit is close to meaningless here.

Frost depth is the other terrain factor. Post footings in southwestern Pennsylvania generally need to reach below the frost line, and skimping there produces a fence that heaves out of plumb within a few winters — at which point the base clearance and the gate alignment both fall out of compliance.

Get Quotes From Pittsburgh-Area Installers

Contractors who work Allegheny County grade and know which code office covers your borough.

 Find Installers

Choosing a Barrier Type

PLI's form asks applicants to declare a barrier type, and each carries its own conditions. Picking before you understand the conditions is how projects get sent back.

TypeConditions attached
FenceThe general spec sheet applies in full — height, openings, base clearance, horizontal member placement, gate hardware.
Chain linkMaximum opening tightens to 1¾ inches. The same limit applies to any barrier with diagonal members.
Solid barrierA wall or solid fence, subject to the height and clearance rules. Watch the 36-inch clear zone against existing structures.
Structure wallUsing the house as a barrier side triggers alarm requirements: doors and operable windows with sills below 48 inches need an alarm listed to UL 2017 that sounds on opening. Alternatively, a safety cover listed to ASTM F1346.
Mesh (removable)Bottom no more than 1 inch above grade — tighter than the 2 inches allowed for rigid fencing. Attachments between sections must sit at least 45 inches above grade and function like a gate lock. Not permitted for above-ground pools.
Above-ground poolThe pool, or the pool plus a barrier mounted on it, must reach 48 inches above grade. Ladders and steps must be securable, lockable or removable unless separately enclosed, and openings must comply when secured.
Spa or hot tubA lockable safety cover listed to ASTM F1346 satisfies the requirement in place of a barrier.
The mesh restriction catches people out

Removable mesh is the most common budget-compliant choice nationally, and it is fine around an in-ground pool here. But it cannot serve as the barrier for an above-ground pool — for those, the answer is the pool wall itself plus secured access, or a separate rigid fence.

What Barriers Cost Around Pittsburgh

Pittsburgh sits below the national median on materials and labor, which pulls base pricing down. Grade work pushes it back up, and on a steep lot it can be the largest single line on the quote.

MaterialTypical project, level lotPer linear foot
Removable mesh (in-ground only)$1,000–$2,600$13–$23
Chain link$1,100–$2,900$12–$25
Aluminum, powder-coated$2,200–$5,500$21–$47
Vinyl / PVC$1,800–$4,400$18–$38
Wrought iron / custom steel$3,300–$8,200$38–$80
Add: stepped panels & grade work$400–$2,500

Ranges reflect typical residential work in Allegheny County. Steep or terraced lots, restricted rear-yard access, and retaining work sit above these figures. The cost calculator will give you a figure based on your own perimeter.

If You're Outside the City Limits

Most people searching for Pittsburgh pool rules are not in Pittsburgh. The state code floor is the same everywhere in the commonwealth, so the barrier specifications above are a sound working baseline — but the process around them is entirely local. Four questions resolve almost everything:

Who reviews my application?

Ask whether the municipality runs its own code office or contracts a third-party agency. It changes who you call, where you file, and how long review takes.

Which code edition are you on?

Municipalities are working through the 2021 transition at different speeds. Ask directly rather than assuming, and ask whether 2018 submissions are still accepted.

Zoning first, or together?

Some municipalities require zoning approval before the building application; others review both at once. Getting the order wrong costs weeks.

Any local amendments?

Setbacks from lot lines, equipment placement, alarm requirements and fence height limits are all set locally and vary meaningfully across the county.

One thing that does not vary: the plumbing permit goes through the Allegheny County Health Department wherever you are in the county, and the pool needs an electrical permit for bonding and grounding no matter which municipality issues the building permit.

Frequently Asked Questions

What are the pool fence requirements in Pittsburgh?

Inside the city, PLI requires 48 inches above grade around the entire perimeter and for all areas within 3 feet outside the barrier. Openings must not pass a 4-inch sphere, the base sits no more than 2 inches above grass or gravel, and the barrier keeps 36 inches clear of permanent structures and 20 inches from the water's edge. Gates self-close, self-latch and accept a locking device.

Does Allegheny County issue pool permits?

No. The county has 130 municipalities and no unincorporated land, and it does not issue building permits. Building and zoning permits come from your city, borough or township. Plumbing is the one exception — the Allegheny County Health Department permits and inspects it countywide.

Which code edition applies now?

Pennsylvania adopted the 2021 ICC series statewide effective January 1, 2026 — a date originally set for July 2025 and postponed. There is a transition window: where a design or construction contract was signed before January 1, 2026, a permit may still be issued under the 2018 code if the application is filed by June 30, 2026. Confirm which edition governs your application before you submit.

Do I need a permit for the fence itself?

PLI's guidance indicates fences six feet and under go through Zoning review rather than PLI review. That does not exempt the barrier from scrutiny — it is reviewed as part of the pool application, and the site plan has to show barrier location and type relative to the pool and property lines.

Can I use a mesh pool fence?

Around an in-ground pool, yes, with conditions: the bottom may sit no more than 1 inch above grade, and attachments between sections must be at least 45 inches above grade and function like a gate lock. Mesh is not permitted as the barrier for an above-ground pool.

Does an above-ground pool need a separate fence?

Not necessarily. The pool — or the pool with a barrier mounted on it — has to reach at least 48 inches above grade. Ladders and steps then need to be securable, lockable or removable unless they are separately surrounded by a compliant barrier, and openings must comply when secured.

Is an electrical permit really required?

Yes. PLI's residential pool form states that all pools and spas require an electrical permit so the pool can be properly grounded and bonded. It applies to every pool type and is separate from the building permit.

The Order of Operations

Pittsburgh-area pool projects stall for procedural reasons far more often than technical ones. This sequence avoids the common ones:

  1. Confirm your municipality by address, not by mailing address or ZIP code. They diverge constantly in Allegheny County.
  2. Call that code office and ask which code edition they are reviewing under and whether zoning comes first.
  3. Have the yard surveyed for grade before choosing a barrier type. On a slope, the barrier type drives the cost more than the material does.
  4. File the building or zoning application with a site plan showing barrier location and type against the pool and property lines.
  5. File the electrical permit, and the county plumbing permit through the Health Department, in parallel — not after.
  6. Walk the finished barrier at the low points before calling for inspection. Height and base clearance are measured at the worst spot, not the best.

Figures in this guide come from the City of Pittsburgh's published residential pool form and PLI's code-adoption notices. Requirements outside the city are set by 129 other municipalities and vary; confirm with your local code official before ordering materials.

Statewide context: Pennsylvania Pool Fence Requirements — how the commonwealth's municipal patchwork works, and why the answer changes at the township line. See also Philadelphia, which handles this very differently.