Quick Answer
Farm fence regulations vary by state and county. Most agricultural zones have minimal restrictions beyond setback requirements (typically 0–5 feet from property lines) and height limits (usually not applicable in agricultural zones). Electric fence near public roads requires signage. Some states have "fence laws" defining neighbor responsibilities for shared boundary fences. Always check local ordinances before building near roads, waterways, or property lines.
Setback Requirements
Most rural counties have minimal fence setback requirements for agricultural fencing — often 0 feet from property lines on agricultural land. Suburban and mixed-use zones typically require 2–5 feet setback from property lines. Always verify with your county planning department before installing fence within 10 feet of a property line — requirements vary widely and violations can result in required removal at your cost.
Fence Height Regulations
Agricultural zones typically have no maximum height restriction for farm fencing. Residential zones may limit fence height to 4–6 feet in front yards and 6–8 feet in rear/side yards. Fences along public roads may require state highway department approval for anything above 4 feet in some states — primarily to prevent sight-line obstruction at intersections.
Fence Law — Shared Boundary Responsibility
Many states have "fence laws" (also called "lawful fence" statutes) that define responsibilities for fences on shared property lines. Common provisions:
- Both landowners share equal cost of boundary fence maintenance
- Each owner is responsible for one-half of the fence length (typically the right half when facing the fence)
- Disputes resolved by fence viewer (an appointed official in many rural counties)
- Landowner may demand fence construction from neighbor if livestock are kept
Electric Fence Regulations
Electric fence energizers must be certified to IEC 60335-2-76 (UL or ETL listed in the US). Warning signs required at regular intervals (typically 100–300 feet) along fence lines adjacent to public roads or shared paths. Maximum voltage is set by the standard (10,000V peak) — non-certified high-voltage security systems may violate local codes even on private property.
Waterway and Wetland Restrictions
Fences within 50–100 feet of waterways (streams, rivers, wetlands) may require permits under Clean Water Act Section 404 or state equivalents. Fences that block stream access for fish migration are prohibited in many states. Install livestock exclusion fencing along stream banks with water gap crossings to provide livestock water access while protecting riparian vegetation.
Our Recommendation
Contact your county Extension agent and planning department before installing any fence near roads, waterways, or property lines. Most agricultural fence projects proceed without permits, but the exceptions (waterways, roads, shared boundaries) carry significant legal and cost risk if not addressed proactively. A 30-minute check prevents costly removal and rebuild orders.