Does Pennsylvania require a permit for a fence?
The answer depends on which permit you mean. A building permit addresses applicable construction-code requirements; a zoning permit concerns how a structure is used and located on the property. For a typical residential yard fence no more than six feet high, the state UCC residential permit rule lists an exception, but the exception applies only when the work does not violate another law or ordinance.
This distinction is important in practice. A four-foot picket fence can still require a municipal zoning application. A six-foot privacy fence may be permissible in the back yard but restricted nearer the street. And a fence taller than six feet no longer fits the cited state exception—ask the municipality which construction-code and zoning approvals apply before ordering materials.
Compare real York County fence rules
The table below summarizes published rules for specific communities, not Pennsylvania-wide limits. Some requirements vary further by zoning district, lot orientation or type of fence. Follow each official source for the full text and the latest application instructions.
| Community | Published fence guidance | Permit starting point |
|---|---|---|
| Springettsbury Township | Generally up to 6 ft on rear/side residential property lines; township ordinance generally limits other fence placements to 4 ft, subject to exceptions. Sight-triangle restrictions also apply. | Residential permit application is required. |
| Spring Garden Township | Published permit guidance places fences up to 6 ft under zoning permits and over 6 ft under building permits; its ordinance limits front-yard fences to 4 ft. | Zoning/building permit office. |
| West Manchester Township | In agricultural, open-space and residential zones, the ordinance generally sets 3 ft in front yards and 6 ft in other yards, with exceptions. | Zoning permit (township lists fences as an example). |
| City of York | The city directs fence permitting to its Planning and Zoning bureau. This guide does not claim a citywide height limit. | Bureau of Planning and Zoning / OpenGov. |
A crucial pattern: rear-yard, side-yard and front-yard limits differ, even inside one municipality. Treat the numbers above as starting points for checking your property’s exact zoning district, frontage, approved site plan and recorded restrictions.
Four local examples and what they mean
Springettsbury Township: rear/side allowances do not erase sight-line rules
The township’s community development FAQ says a permit is required and generally allows fences up to six feet along rear or side property lines on most residential parcels. Its zoning ordinance, § 325-121, explains the underlying four-foot general limit and listed exceptions. The ordinance also says fencing over two feet may not be placed in a regulated sight triangle, and it restricts fencing within public rights-of-way and easements.
Imagine a homeowner who wants six feet of privacy fencing around the back yard and along a corner side facing the street. The back-yard segment might fit a common exception, while the street-facing segment could raise separate height or sight-line questions. The correct step is to submit a site plan rather than order the entire run based on a backyard rule.
Spring Garden Township: the same height can need a different permit type
Spring Garden’s published permit guidance separates fences up to six feet, listed under zoning permits, from fences over six feet, listed under building permits. Its zoning ordinance also sets a four-foot maximum for fences and walls within a front-yard area. Those are two distinct questions: which permit category applies, and whether the location and height are allowed.
The township states that permit drawings must depict property boundaries, project placement and dimensions. It also prohibits placement in rights-of-way and easements. A plan for a six-foot backyard fence should therefore still identify the property lines rather than merely say “six-foot fence permitted.”
West Manchester Township: three feet in front, six feet elsewhere in certain zones
West Manchester lists fences among work generally requiring a zoning permit. Its supplementary zoning regulations limit ordinary fences and walls to three feet in front yards and six feet in other yards within agricultural, open-space and residential zones, subject to exceptions in the ordinance.
This is a useful reminder that “my neighbor built a six-foot fence” is not proof that a six-foot fence is permitted in your front yard. West Manchester also asks for a site plan showing the lot, the proposed work and its relationship to property lines. Check the zoning district and front-yard definition before choosing the layout.
City of York: find the correct department, not a guessed height limit
The City of York’s Bureau of Permits and Inspections expressly directs fence permits to the Bureau of Planning and Zoning and provides an online permitting route. The city-specific allowable height and placement were not independently established in this guide, so do not copy the township limits above into a City of York application.
Front yards, corner lots and street visibility
Why a corner lot is not simply “two backyards”
Many zoning ordinances treat lot lines along streets differently from interior side and rear property lines. A side yard along a second street may fall under special frontage or sight-distance rules. In Springettsbury, this is especially important because both the general height limits and explicit sight-triangle language may affect a corner property.
Before installing a fence on or near a street corner, ask the zoning officer to identify front-yard boundaries, regulated sight triangles, rights-of-way and any corner-lot-specific restrictions on your survey or drawing. The point is not only keeping a structure on your land; it is avoiding an obstruction to drivers and pedestrians.
Property lines and easements are not interchangeable
Even when a municipality allows a fence at the property line, a utility or drainage easement may restrict that placement. A sidewalk, hedge, old fence or mowing edge does not establish ownership. Check a survey or recorded plat where available; request clarification before digging if the line is uncertain. Also ask about underground utilities and use the appropriate utility-location process before post-hole excavation.
What if the fence surrounds a swimming pool?
A pool enclosure is a separate safety question, not merely a privacy fence. Spring Garden’s permit guidance, for example, identifies swimming pools over 24 inches deep as building-permit projects and notes that they also require a minimum four-foot fence with a zoning application. The actual barrier must meet all applicable pool enclosure details, which can address access gates, openings and climbability.
Do not rely only on the general six-foot UCC fence exception when building a pool barrier. Give your municipality the pool specifications and proposed barrier/gate design so the correct rules can be identified. The same caution applies when a fence sits on a retaining wall or forms part of another regulated structure.
What should your fence permit site plan include?
A simple, clear drawing is often more useful than a long verbal description. Ask the municipal office whether its application requires a survey or a specific scale. Prepare the following information:
- Correct jurisdiction: street address, municipality and zoning district—not just a mailing city or ZIP code.
- Property outline: lot boundaries, street frontages and approximate measurements backed by a suitable source.
- Existing features: home, garage, driveway, sidewalk and any other structures near the fence line.
- Fence location: trace the complete proposed fence, gates and openings, showing distances from property lines where requested.
- Fence specifications: height, materials, solid/open style and any differences between front, side and rear portions.
- Special conditions: corner-lot sight lines, easements, retaining walls, pools and known underground utilities.
- Supporting documents: contractor details, estimated project costs and other forms if required by the township or city.
For instance, “six-foot privacy fence in back yard” is too vague if the property is a corner lot. A better drawing marks a 6-foot rear section, identifies the side adjoining the street and labels any proposed height change near the front. See our site-plan checklist for general drawing tips.
A practical order of operations
- Identify the municipality. A York mailing address might be in a township rather than the City of York.
- Identify the yard areas. Front, corner side, interior side and rear may have different treatment.
- Confirm the proposed height. Review the state's UCC exception separately from local zoning limits and permits.
- Check property lines and easements. Do not use a neighbor's existing fence as the only boundary evidence.
- Gather a site plan and product details. Include gates, materials, lengths and any pool barrier or retaining-wall element.
- Obtain required written approvals. Verify inspection requirements and keep copies of the response before ordering materials or digging.
Our York County permit finder can locate official starting sources for six covered municipalities, but it does not submit applications or guarantee approvals. You should still confirm what applies to the actual parcel.
Frequently asked questions
Can I build a six-foot privacy fence without a permit in Pennsylvania?
Not necessarily. The state residential UCC rule generally excludes fences no more than six feet from its building-permit requirement if the project does not violate other laws, but municipalities may still require zoning permits. Springettsbury and Spring Garden both publish permit procedures for residential fences.
Can I put a four-foot fence in my front yard?
It depends on the municipality and site. Spring Garden's ordinance caps front-yard fences at four feet, while West Manchester's general limit in agricultural, open-space and residential zones is three feet. Check the local rule before copying a neighbor’s fence height.
Does replacing an existing fence require a new permit?
Do not assume that replacing an old fence is exempt. The original fence may predate today's restrictions, and a change in height, location, materials or extent can trigger review. Ask the municipality whether maintenance, like-for-like replacement and relocation are treated differently.
Can I install a fence directly on the property line?
Possibly, but only after confirming the legal boundary and checking municipal rules, rights-of-way and easements. Local permission to place a fence on a property line does not settle a private property dispute or authorize construction in a public utility easement.
Are fence rules different for pool fences?
Yes. Pools can trigger independent barrier requirements, including minimum barrier heights and gate rules. Review pool rules specifically rather than assuming an ordinary yard fence qualifies as a compliant pool enclosure.
How much does a fence permit cost in Pennsylvania?
There is no single statewide fence-zoning permit price. Costs depend on the municipality, permit type and often the project value. Use the township's current fee schedule or contact its permit office for the fee that actually applies to your project.
Official government sources
The following primary sources support the statewide UCC distinction and the four location-specific examples. These are public sources, not permit approvals; rules and fees can change and exceptions may apply to your property.
- Pennsylvania Code § 403.62 — residential UCC permit exceptions ↗
- Springettsbury Township — fence permit FAQ ↗
- Springettsbury Township — zoning ordinance § 325-121 (fences) ↗
- Spring Garden Township — building and zoning permit requirements ↗
- Spring Garden Township — zoning ordinance and front-yard fence limits ↗
- West Manchester Township — zoning permits and site-plan guidance ↗
- West Manchester Township — supplementary fence regulations ↗
- City of York — fence permits administered by Planning and Zoning ↗