Skip to main content
CityRuleLookup

York County, PA Fence Regulations: Material Restrictions (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified July 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.

These county ordinances apply to unincorporated areas of York County. Incorporated cities within the county may have their own rules that take precedence over county-level regulations.

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?
In York Township, barbed and razor wire are prohibited except for industrial uses or to confine farm animals. Rules vary by municipality, so check your borough or township code.
Are electric fences allowed?
York Township bans electrically charged fences except to confine farm animals. Commercially available pet-containment (invisible fence) systems are allowed in all districts.

Sources & Official References

Other rules in York County

All York County rules

Compare York County to another location·View the Pennsylvania fence regulations overview

Get notified when Material Restrictions in York County, PA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.