Most cities treat a pool barrier as a construction requirement: build the pool, build the fence, pass the inspection, done. Philadelphia does something different. The barrier rule lives in Title 4.2, the Philadelphia Property Maintenance Code, at Section PM-303.2 — the same body of law that governs peeling paint and broken handrails. That placement is not a filing quirk. It means the requirement attaches to the pool for as long as the pool exists, applies to homeowners who never pulled a permit and never will, and can be cited by Licenses and Inspections on a neighbor's complaint years after the water first went in.

It also means the rule reaches further down than most people expect. The trigger is not "in-ground pool" or "permitted pool." It is more than 24 inches of water — a threshold that captures a great many inflatable and soft-sided pools sold at big-box stores every summer.

What PM-303.2 Actually Requires

Here is the operative language, condensed. The full section is short — unusually short for a barrier provision — and every clause in it carries weight.

Philadelphia Code — Title 4.2, Section PM-303.2 (Enclosures)

Pools, hot tubs and spas containing more than 24 inches of water must be completely surrounded by a fence or barrier of at least 48 inches, measured from finished ground level on the side of the barrier facing away from the pool.

  • 1The 24-inch trigger. Depth of water, not type of pool. A soft-sided pool filled to 26 inches is regulated; the same pool filled to 20 inches is not. Nothing in the section carves out temporary, seasonal, or inexpensive pools.
  • 2Forty-eight inches, measured outward. Height is taken on the exterior face — the side a child would approach from. A retaining wall, planter, or raised patio on the outside of the fence reduces the effective height and can put an otherwise-compliant barrier out of compliance.
  • 3Gates and doors must self-close and self-latch. The section names both. If a door from the house opens into the enclosed pool area, that door falls under the same requirement as a garden gate.
  • 4The 54-inch latch pivot. Where the release mechanism sits less than 54 inches above the bottom of the gate, it must be relocated to the pool side. This is the detail that most often turns a hardware-store gate kit into a failed installation.
  • 5The six-inch close test. A gate has to positively close and latch when released from six inches open. Inspectors test it exactly that way, and a gate that only latches from a hard swing does not pass.
  • 6No downgrading an existing barrier. An existing enclosure cannot be removed, replaced, or altered in a way that reduces its effectiveness. Swapping a compliant fence for a lower decorative one is itself a violation, independent of any permit.
One exception, narrowly written

A spa or hot tub with a safety cover meeting ASTM F1346 is exempt from PM-303.2. Note what the exception does not say: it applies to spas and hot tubs, not to swimming pools, and it requires a cover certified to that specific standard — not a vinyl tarp or a winter cover.

Philadelphia Code § PM-303 (American Legal Publishing)

The Permit Question Has Three Separate Answers

This is where Philadelphia homeowners most often get bad information, including from contractors. "Do I need a permit?" is not one question in this city — it is three, they are governed by different subsections of Section A-301, and they do not resolve the same way.

Permit typeFor the barrier itselfWhy
Building permit Usually not Non-masonry fences up to six feet are listed among the activities exempt from a building permit. A standard four-foot pool barrier clears that comfortably. Masonry fence walls, however, are only exempt up to two feet — so a brick or block enclosure is a different conversation entirely.
Zoning permit Usually not Fences at or below the height the Zoning Code allows are exempt, and so — separately — are swimming pools accessory to one- and two-family dwellings. Note that this exemption is about zoning only. People routinely read it as blanket permission and are wrong.
Building permit — for the pool Yes, over 24" The exemption for prefabricated pools is written narrowly: under 24 inches deep, no more than 5,000 gallons, and installed entirely above ground. Miss any one of those three and a building permit is required. In-ground pools are never exempt.
Historical Commission review If designated If the property is on the Philadelphia Register of Historic Places or sits in a designated historic district, a building permit is required for fence work regardless of height, and L&I will refuse the application without Historical Commission approval first. Same rule applies within the 100-year floodplain.
Electrical permit Yes Separate permits are required for the electrical and plumbing work that accompanies a pool. Bonding and grounding of metal components — including, in some configurations, a metal fence within the required distance of the water — is inspected on its own.
The trap in the middle row

"Swimming pools accessory to one- and two-family dwellings" appears on the list of things that do not need a zoning permit. It reads like a green light. It is not one — the building permit requirement for pools deeper than 24 inches lives in an entirely different subsection and is unaffected by it. Two exemptions in the same code section, pointing opposite directions.

The Rowhouse Geometry Problem

Philadelphia's housing stock is the constraint nobody mentions until the site visit. The typical rowhouse lot is roughly sixteen feet wide with a rear yard running ten to twenty feet deep, and RSA-5 — the zoning district that covers most rowhouse blocks — has no side setback at all because the party walls are shared.

L&I's simplified permit standards for pools accessory to an existing one-family dwelling impose conditions that interact badly with that footprint:

Conditions in L&I's pool and spa standards

Pool, structure and equipment must be out of the front and side yardRear yard only
Minimum clearance from any property line or structure on the lot2 feet
In-ground pools: setback from each property line= depth of pool
Above-ground access platform included in the permitup to 50 sq ft
Guardrail around that platform36" min, 4" max opening
Pools on decks or roofsNot permitted

Run the arithmetic on a standard lot. A six-foot-deep in-ground pool needs six feet of clearance from each side property line. On a sixteen-foot-wide lot that leaves four feet of pool — before accounting for the two-foot minimum from any structure, or for the 48-inch barrier that then has to go somewhere between the water and the fence line. For a large share of Philadelphia rowhouses, the honest answer is that an in-ground pool does not fit under the simplified path, and anything that deviates from those standards requires full plan submission to L&I rather than the streamlined route.

This is why above-ground and soft-sided pools dominate the city's residential market in a way they do not in the collar counties — and why the barrier question in Philadelphia is so often a question about an above-ground pool rather than an in-ground one.

Three Barrier Configurations L&I Recognizes

The department's pool and spa standards illustrate three acceptable arrangements. Any pool, spa or hot tub needs to match one of them.

Option 1

Fence encloses the pool alone

A 48-inch barrier rings the pool within the rear yard, with a self-closing, self-latching gate swinging away from the water. The house sits outside the enclosure entirely.

Option 2

The pool wall is the barrier

Above-ground only. The pool structure itself stands 48 inches, and the barrier obligation shifts to the stair or ladder, which must be secured against unsupervised access.

Option 3

Yard enclosed, house as one side

A 48-inch barrier closes the rear yard with the dwelling forming part of the enclosure. Any door from the house into that area needs approved hardware or an alarm.

Option 3 is the common rowhouse answer

Philadelphia rear yards are typically already walled or fenced on all three non-house sides. Where that existing enclosure reaches 48 inches and the openings comply, the remaining work is often just the back door hardware and the yard gate — a far smaller job than building a new ring fence in a space that has none to spare.

Fence permit requirements, City of Philadelphia (phila.gov)

Get Quotes From Philadelphia-Area Installers

Contractors who have pulled permits through eCLIPSE and worked Philadelphia rear yards.

 Find Installers

Historic Designation Changes Everything

Philadelphia has one of the largest inventories of historically designated residential property in the country, and designation is not confined to Society Hill and Old City. Sections of Germantown, Chestnut Hill, Rittenhouse, Spring Garden, Powelton Village, Overbrook Farms and others fall within districts or carry individual designations.

The consequence for fence work is procedural, and it is strict. Where a property is designated, the ordinary "non-masonry fence under six feet" exemption stops applying: a building permit becomes mandatory, and L&I will refuse the permit application outright without stamped Historical Commission approval attached. Approval is sought through eCLIPSE, with the Commission reviewing electronically and reporting its determination to L&I directly.

Practically, that means design review enters a project that would otherwise have none. Material, profile, height and visibility from the street all become reviewable, and a mesh barrier that would pass without comment on an undesignated block may need rethinking on a designated one. Build the review window into the schedule; it is the single most common cause of a stalled Philadelphia fence project.

Check before you buy materials

Designation status is searchable on the city's Atlas property tool by address. It takes under a minute and it is worth doing before a contractor orders panels, not after.

What Barriers Cost in Philadelphia

Philadelphia runs above the national median on labor and below it on linear footage — small yards mean short fence runs, which compresses total project cost while raising the effective per-foot rate. Access is the other local factor: many rowhouse rear yards are reachable only through the house or a shared alley, and crews price that in.

MaterialTypical Philadelphia projectPer linear foot
Removable mesh (ASTM F2286)$900–$2,400$15–$26
Aluminum, powder-coated$2,100–$5,400$24–$52
Vinyl / PVC$1,700–$4,300$20–$40
Wrought iron / custom steel$3,400–$8,600$40–$85
Gate hardware retrofit only$250–$700

Ranges reflect typical residential work in the city proper. Designated historic properties, restricted-access yards, and masonry work sit above these figures. Use the cost calculator for a figure based on your own perimeter.

The cheapest compliant fix is often hardware

Where a Philadelphia rear yard is already enclosed to 48 inches, the gap between compliant and non-compliant is frequently a gate that will not latch from six inches open and a back door with no self-closing hardware. That is a few hundred dollars of work, not a few thousand — and it is worth having an installer assess before assuming a full fence is needed.

How Enforcement Actually Reaches You

Because the requirement is a maintenance-code obligation rather than a one-time construction gate, there is no single moment at which a Philadelphia homeowner is checked and then left alone. Three routes tend to bring L&I to the door:

  • A neighbor's complaint. Rowhouse yards are visible from adjacent upper floors, and pool complaints filed through 311 are routine in July and August. This is the most common route by a wide margin, and it does not require the pool to be new.
  • An unrelated inspection. An inspector on site for a different permit who observes a non-compliant pool barrier is not obliged to ignore it.
  • Sale or insurance. Barrier compliance surfaces at resale and in homeowners policy underwriting, where an uninspected or non-compliant pool can complicate both. Our insurance requirements guide covers how carriers treat this.

The more consequential exposure is not the citation. Pennsylvania premises liability does not require a code violation for a homeowner to be found negligent after an incident involving a child — but a documented violation makes the plaintiff's case substantially easier. That gap between "cited" and "liable" is where the real cost sits.

Frequently Asked Questions

Does Philadelphia require a fence around a pool?

Yes. Section PM-303.2 of the Property Maintenance Code requires any pool, hot tub or spa holding more than 24 inches of water to be completely surrounded by a barrier of at least 48 inches, measured on the side facing away from the pool. The rule reaches inflatable and portable pools once they are filled past that depth.

Do I need a permit for an inflatable pool?

A prefabricated above-ground pool escapes the building permit requirement only if it is under 24 inches deep, holds no more than 5,000 gallons, and sits entirely above ground. Fill past 24 inches and both the permit and the 48-inch barrier apply — the price of the pool is irrelevant to the code.

Do I need a separate fence permit for the barrier?

Usually not. Non-masonry fences up to six feet are exempt from the building permit requirement, and fences within the zoning height allowance are exempt from the zoning permit requirement — a four-foot pool barrier falls under both. The exceptions are masonry walls, anything over six feet, and any fence on a designated historic property.

How high does the gate latch have to be?

There is no single mandated height — placement is what the code governs. If the release mechanism sits less than 54 inches above the bottom of the gate, it has to be on the pool side. The gate must also positively close and latch when released from six inches open, which is how an inspector will test it.

Can I put an in-ground pool in a rowhouse yard?

Frequently not, at least not under the simplified permit path. L&I's standards require an in-ground pool to sit back from each property line by a distance equal to its depth, plus a two-foot minimum from any property line or structure. On a sixteen-foot-wide lot, a six-foot-deep pool cannot satisfy that geometry. Deviations require full plan submission rather than the streamlined route.

Who enforces the barrier rule?

The Department of Licenses and Inspections. Because the requirement sits in the Property Maintenance Code rather than only the construction code, it is a continuing obligation on an existing pool and can be cited on complaint — commonly through 311 — rather than only at installation.

Before You Fill the Pool

A short sequence that avoids nearly every Philadelphia-specific problem described above:

  1. Look up the address on the city's Atlas tool and confirm whether the property is historically designated or in the floodplain. This determines whether the fence needs a permit at all.
  2. Measure the rear yard against the setback conditions before choosing a pool type. The pool that fits is usually not the pool that was wanted.
  3. Measure existing enclosure height on the outside face, at the lowest point of grade. Philadelphia yards slope more than people assume.
  4. Test every gate and every door into the yard from six inches open. If it does not latch, that is the first repair, and often the cheapest.
  5. Confirm who is pulling the pool permit and the separate electrical permit, and get the permit numbers.

Requirements described here reflect the Philadelphia Code as published and L&I's posted pool and spa standards. Departmental standards documents are revised periodically and the version of the barrier illustration currently posted carries an older revision date, so confirm current requirements with L&I before ordering materials.

Statewide context: Pennsylvania Pool Fence Requirements — how the rest of the commonwealth's 2,500+ municipalities handle barriers, and why Philadelphia sits apart.