York County, PA Fence Regulations: Material Restrictions (2026)
Key Facts
- Regulated by
- Municipality, not county
- Barbed wire
- Banned except industrial/farm
- Electric fence
- Banned except farm animals
- Pet containment
- Allowed all districts
- Industrial barbed wire
- 6+ feet above ground
Summary
Material limits come from your municipality, not York County. York Township prohibits barbed and razor wire except for industrial uses or to confine farm animals, and bans electrically charged fences except for farm animals.
The use of barbed wire, including concertina wire, razor wire, or similar type wire is prohibited, except for industrial uses or when used to confine farm animals. Electrically charged fences are prohibited except when used to confine farm animals.
Full Breakdown
York County does not restrict fence materials; each borough and township does through its zoning ordinance. York Township's rules are typical of restrictive suburban codes: barbed wire, concertina wire, razor wire, or similar wire is prohibited except for industrial uses or to confine farm animals, and where allowed for industrial use it must be at least 6 feet above ground. Electrically charged fences are prohibited except to confine farm animals, though commercial pet-containment (invisible) systems are allowed in all districts. Rural agricultural municipalities are generally more permissive. Because prohibited materials differ widely across York County's boroughs and townships, verify with your local zoning office before choosing barbed wire, electric fencing, or other regulated materials.
Violations & Fines
Installing a prohibited material draws a municipal enforcement notice from the Zoning Officer; unresolved zoning violations carry fines up to $500 per day under 53 P.S. §10617.2.
Frequently Asked Questions
Is barbed wire legal on a residential fence in York County?
Are electric fences allowed?
Sources & Official References
Other rules in York County
Compare York County to another location·View the Pennsylvania fence regulations overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.