Fence Regulations in Pennsylvania (2026)
78 rules on the books across Pennsylvania, 23 cities and counties. Select a rule to read the full details.
Severity: Few Restrictions · Light Restrictions · Some Restrictions · Significant Restrictions · Heavy Restrictions
Height Limits
Maximum fence heights for front, side, and back yards, including privacy fences, corner-lot visibility rules, and how height is measured on slopes and retaining walls.
Abington
Some RestrictionsAbington Township caps fences at six feet under Building Code Section 3311.4, with open wire fencing and retaining…
Read full rule →Allentown
Some RestrictionsIn Allentown's neighborhood (residential) zones, fences and walls in a required front setback may not exceed 4 feet…
Read full rule →Bensalem
Some RestrictionsBensalem caps residential fences at six and one-half feet in most yards, but limits them to four feet along the front…
Read full rule →Bethlehem
Some RestrictionsBethlehem allows fences, hedges, and walls up to seven feet above natural grade in front, side, and rear yards without…
Read full rule →Bristol
Some RestrictionsIn Bristol Borough, Pennsylvania, fences and walls in the required side and rear yards cannot exceed six feet in…
Read full rule →Bristol Township
Some RestrictionsBristol Township Code § 205-134 caps residential fences in Bristol Township, Bucks County, at six feet in a rear or…
Read full rule →Erie
Some RestrictionsErie caps fences, hedges and enclosures in required yard space at 6 ft 6 in in Residential Districts and 8 ft 6 in in…
Read full rule →Franklin Township
Some RestrictionsIn Franklin Township, Chester County, Pennsylvania, a fence or freestanding wall in a required front yard tops out at…
Read full rule →Harrisburg
Some RestrictionsIn the City of Harrisburg, Pennsylvania, a fence or wall in the front yard or in front of the dwelling in the RL and RM…
Read full rule →Haverford
Some RestrictionsIn Haverford Township, Delaware County, Pennsylvania, no fence or wall can exceed six feet, except a wall that is part…
Read full rule →Lower Merion
Some RestrictionsLower Merion caps residential fences at 4 feet along the primary frontage and 6 feet on side and rear lines in the LDR…
Read full rule →Lower Paxton
Some RestrictionsIn Lower Paxton Township, Dauphin County, Pennsylvania, residential fences are capped by yard under Township Code §…
Read full rule →Millcreek
Some RestrictionsIn Millcreek Township, Erie County, Pennsylvania, a Solid Fence stops at six feet, or eight feet in Commercial, Mixed…
Read full rule →Montgomery County
Some RestrictionsMontgomery County sets no fence-height rule. Each of the county's 62 boroughs and townships sets its own limits under…
Read full rule →Penn Hills
Some RestrictionsPenn Hills zoning caps front-yard fences at four feet, three feet on corner lots, but allows side and rear yard fences…
Read full rule →Philadelphia
Some RestrictionsOn residentially zoned Philadelphia property, a fence between the street and the building may be no more than 4 feet…
Read full rule →Pittsburgh
Some RestrictionsPittsburgh caps fences at 6 feet in rear and interior side yards, but limits front-yard and street-facing side-yard…
Read full rule →Pottstown
Some RestrictionsPottstown's Zoning Ordinance sets a 4-foot maximum for fences in front yards and in side yards facing a street, rising…
Read full rule →Reading
Some RestrictionsReading caps front-yard fences and walls at four feet and caps everything else at six feet, with an extra foot allowed…
Read full rule →Scranton
Some RestrictionsScranton residential fences top out at four feet in a front yard and six feet in a side or rear yard, dropping to four…
Read full rule →Upper Darby
Some RestrictionsFences in Upper Darby cap out at six feet above grade townshipwide, dropping to four feet for front yards in the R-3…
Read full rule →York County
Some RestrictionsGeneral fence standards are set by your borough or township, not York County. York Township requires the finished side…
Read full rule →Fence Permit Requirements
Whether you need a building permit to install or replace a fence, and what the permit process and fees look like.
Abington
Some RestrictionsAbington Township requires a building permit before erecting any fence, screening, wall or retaining wall on or within…
Read full rule →Allentown
Some RestrictionsAllentown defines a fence as a 'structure,' and Section 1305.02 requires a Zoning Permit from the Zoning Officer before…
Read full rule →Bensalem
Some RestrictionsBensalem Township requires a permit from the Department of Building and Planning before any fence or wall is built…
Read full rule →Erie
Some RestrictionsA fence in Erie needs a City permit before it goes up, filed with the Code Enforcement office in Room 407 of the…
Read full rule →Harrisburg
Some RestrictionsIn the City of Harrisburg, Pennsylvania, fences, walls, and hedges are permitted by right in every zoning district, but…
Read full rule →Haverford
Some RestrictionsIn Haverford Township, Delaware County, Pennsylvania, no fence, wall or retaining wall can be erected until the Zoning…
Read full rule →Lower Merion
Some RestrictionsLower Merion Township exempts fences six feet or less in height from a building permit, except when the fence sits…
Read full rule →Montgomery County
Some RestrictionsThe county issues no fence permits. Whether you need one, and the fee, is decided by your Montgomery County…
Read full rule →Penn Hills
Some RestrictionsIn Penn Hills side and rear yards, fences over 8 feet need a permit from the Department of Planning and Economic…
Read full rule →Philadelphia
Some RestrictionsNo zoning permit is needed for a fence at or below the Zoning Code limits; exceeding them requires a permit and a ZBA…
Read full rule →Pittsburgh
Some RestrictionsBackyard fences up to six feet tall need no permit in Pittsburgh; anything taller requires a building permit from the…
Read full rule →Pottstown
Some RestrictionsPottstown requires a zoning permit before building or installing a fence anywhere in the Borough, under Chapter 27…
Read full rule →Reading
Some RestrictionsReading requires a zoning permit before erecting any fence, wall, or similar structure taller than three feet. Height…
Read full rule →Scranton
Some RestrictionsScranton requires a zoning permit before building or altering a fence worth more than $500 in fair market value, while…
Read full rule →Upper Darby
Some RestrictionsUpper Darby requires a fence permit before erecting or replacing any fence, at a cost of $40 plus $20 per $1,000 of the…
Read full rule →York County
Some RestrictionsThere is no county fence permit. Whether you need a zoning permit depends on your borough or township. In York Township…
Read full rule →Neighbor Fence Rules
Rules about shared boundary fences, including who pays for construction and maintenance, and which side faces the neighbor.
Pennsylvania: statewide
StatewideSome RestrictionsUnder Pennsylvania's 1905 Line Fence Act (29 P.S. § 41), adjoining owners of improved and occupied land must build and…
Read full rule →Haverford
Some RestrictionsIn Haverford Township, Delaware County, Pennsylvania, every fence must have its finished side facing the adjacent…
Read full rule →York County
Some RestrictionsBoundary and finished-side fence rules are set locally, not by York County. In York Township, a fence may be placed on…
Read full rule →Lower Merion
Light RestrictionsLower Merion Township's fence configuration rule at Zoning Code § 155-3.7.C(3) requires the smooth or finished face of…
Read full rule →Upper Darby
Light RestrictionsUpper Darby's zoning code requires the finished side of a fence, the side without posts, to face away from the dwelling…
Read full rule →Retaining Walls
Height limits and permit requirements for retaining walls, including engineering requirements for taller walls on sloped lots.
Abington
Some RestrictionsAbington Township requires a retaining wall wherever an excavation leaves the adjoining grade below legal level, built…
Read full rule →Allegheny County
Some RestrictionsAllegheny County does not issue retaining wall permits: building authority rests with each of the 130 municipalities…
Read full rule →Allentown
Some RestrictionsAllentown requires any retaining wall with an exposed face of four feet or more, or any wall that will bear vehicular…
Read full rule →Bensalem
Some RestrictionsBensalem Township caps a retaining wall abutting a residential district at eight feet of exposed height or the distance…
Read full rule →Bethlehem
Some RestrictionsBethlehem caps terraced retaining walls used on steep slopes at a five-foot maximum vertical drop per terrace under the…
Read full rule →Bristol
Some RestrictionsIn Bristol Borough, Pennsylvania, erecting a retaining wall needs no grading permit when the work does not adversely…
Read full rule →Erie
Some RestrictionsA retaining wall in Erie does not need a building permit if it stands four feet or less, measured from the lowest grade…
Read full rule →Franklin Township
Some RestrictionsIn Franklin Township, Chester County, Pennsylvania, a retaining wall in a required front yard is capped at four feet…
Read full rule →Haverford
Some RestrictionsIn Haverford Township, Delaware County, Pennsylvania, a retaining wall inside a required front yard cannot exceed 30…
Read full rule →Lower Merion
Some RestrictionsLower Merion caps retaining wall height at 6 feet within a required setback and 8 feet beyond the setback, and requires…
Read full rule →Lower Paxton
Some RestrictionsIn Lower Paxton Township, a retaining wall required for grade changes in a subdivision or land development must be…
Read full rule →Montgomery County
Some RestrictionsThe county has no retaining-wall ordinance. Height limits and permits for retaining walls come from your Montgomery…
Read full rule →Penn Hills
Some RestrictionsAny Penn Hills retaining wall supporting an excavation steeper than 1-to-1 must be engineered and sealed by a…
Read full rule →Philadelphia
Some RestrictionsWhere a fence sits on top of a retaining wall in Philadelphia, the combined height of the exposed retaining wall plus…
Read full rule →Pittsburgh
Some RestrictionsPittsburgh exempts retaining walls up to four feet tall, measured from the bottom of the footing to the top of the…
Read full rule →Pottstown
Some RestrictionsPottstown's grading code lets cut and fill slopes go no steeper than 2:1 unless a retaining wall or cribbing holds them…
Read full rule →Scranton
Some RestrictionsScranton's zoning code permits a retaining wall built for the geotechnical needs of a lot, but the City's construction…
Read full rule →Upper Darby
Some RestrictionsRetaining walls under four feet tall in Upper Darby need only a fence permit, while anything over four feet requires a…
Read full rule →York County
Some RestrictionsRetaining walls are governed by your municipality and Pennsylvania's Uniform Construction Code, not by York County. In…
Read full rule →Harrisburg
Light RestrictionsIn the City of Harrisburg, Pennsylvania, engineered retaining walls necessary to hold back slopes are exempt from…
Read full rule →Material Restrictions
Specific materials that are prohibited for fencing, such as barbed wire, razor wire, or electric fencing in residential zones.
Bensalem
Significant RestrictionsBensalem Township limits residential fences to stockade wood, ranch rail wood, open metal mesh or chain link, and other…
Read full rule →Bristol Township
Significant RestrictionsBristol Township Code § 205-134(C) bars electrified, barbed wire and razor wire fences in Bristol Township, Bucks…
Read full rule →Haverford
Significant RestrictionsIn Haverford Township, Delaware County, Pennsylvania, no barbed wire, metal spike or other dangerous fence can be…
Read full rule →Reading
Significant RestrictionsReading bans barbed wire in residential and certain commercial districts, electrically charged fencing, razor wire…
Read full rule →Allentown
Some RestrictionsAllentown prohibits fences and walls made from scrap sheet metal or similar 'junk' anywhere, and bars barbed wire or…
Read full rule →Harrisburg
Some RestrictionsIn the City of Harrisburg, Pennsylvania, no fence can be built from fabric, junk, junk vehicles, rolled wire, sheet…
Read full rule →Lower Merion
Some RestrictionsLower Merion bans electric, barbed wire, razor wire, hog wire, rolled wire, and fence-spike fencing on any property…
Read full rule →Lower Paxton
Some RestrictionsIn Lower Paxton Township, Dauphin County, Pennsylvania, Township Code § 203-511 does not permit barbed wire fences in…
Read full rule →Philadelphia
Some RestrictionsPhiladelphia restricts fences by opacity rather than by listing approved materials: front/street-side fences may be no…
Read full rule →Pittsburgh
Some RestrictionsPittsburgh requires fences and walls to use compatible, durable materials like iron grating, wood, stone, or brick…
Read full rule →Pottstown
Some RestrictionsElectrified fences are barred everywhere in Pottstown, and barbed wire or concertina wire is allowed only in…
Read full rule →Scranton
Some RestrictionsScranton bars any fence with sharp, pointed pickets or barbed wire on property abutting a street, and its zoning code…
Read full rule →Upper Darby
Some RestrictionsUpper Darby bans barbed wire, metal spikes, razor ribbon and electrified fencing on any fence, and limits chain-link to…
Read full rule →York County
Some RestrictionsMaterial limits come from your municipality, not York County. York Township prohibits barbed and razor wire except for…
Read full rule →Erie
Few RestrictionsErie's zoning ordinance does not restrict fence materials by type, but it imposes an opacity rule near corners and…
Read full rule →