Livestock Fence Laws in Virginia: What Every Property Owner Needs to Know
July 15, 2026
If you own livestock in Virginia, the fence surrounding your pasture is more than a physical barrier — it is a legal boundary that determines who pays when animals escape, who owes a neighbor for repairs, and whether you can recover damages at all. Virginia’s livestock fence laws, codified primarily in Title 55.1, Chapter 28 of the Code of Virginia, cover everything from minimum post spacing on barbed wire to the criminal penalties for a non-compliant electric fence charger.
The rules are layered. State statutes set baseline standards, but the county you live in may operate under a completely different liability framework than the county next door. Understanding both levels — and how they interact — is the foundation of staying compliant and protecting your property.
Important Note: This article provides a general educational overview of Virginia fence statutes. It is not legal advice. For guidance on your specific situation, consult a licensed Virginia attorney or your local Virginia Cooperative Extension office.
What Qualifies as a Lawful Fence in Virginia
Under Virginia law, every fence is deemed a lawful fence as to any domesticated livestock that could not creep through it, provided it meets at least one of the statutory physical standards — the first of which is a fence at least five feet high, including any mound on which it sits measured down to the bottom of the adjacent ditch. The five-foot general height standard is the broadest qualifying option, and it applies regardless of material as long as animals cannot pass through.
Beyond the general height rule, Virginia law recognizes several material-specific configurations. A barbed wire fence qualifies if it stands at least 42 inches high, consists of at least four strands of barbed wire firmly fixed to posts, trees, or other supports substantially set in the ground, with supports spaced no farther than 12 feet apart — unless a substantial stay or brace is installed halfway between supports. A fence made of boards, planks, or rails qualifies if it is at least 42 inches high and consists of at least three boards firmly attached to posts or supports set in the ground.
The “other fencing materials” category gives you flexibility to use modern options like woven wire, high-tensile polymer, or mesh systems, as long as they meet the 42-inch height requirement and actually contain livestock. The material must be constructed from products sold for fencing or consisting of systems based on technology generally accepted for the confinement of domesticated livestock, installed so that livestock cannot creep through — and a cattle guard reasonably sufficient to turn all kinds of livestock also qualifies as a lawful fence.
Inside certain towns whose charters neither prescribe nor grant the town council power to prescribe fence standards, a fence only three feet high can qualify as lawful. The Virginia Board of Agriculture and Consumer Services may adopt regulations providing greater specificity on lawful fencing requirements, but the absence of such regulations does not affect the validity of the statutory standards already in place.
Pro Tip: The “lawful fence” designation is the trigger for the rest of the code. If your fence does not meet these standards, you may lose your right to recover damages when a neighbor’s livestock crosses onto your land.
Fence-In vs. Fence-Out: Which Rule Applies in Virginia
Virginia’s fence law history dates back to shortly after the first English settlement in 1607, and the law has shifted over the centuries — from requiring livestock owners to fence in their animals starting in 1631, to requiring landowners to fence out unwanted livestock starting in 1643, to the modern-day rule granting localities the authority to return to a fence-in framework. That history matters because it explains why two neighboring counties can operate under opposite liability rules today.
Under the older “fence-out” general law, a livestock owner was no longer responsible for keeping animals on their own land or for damages from roaming livestock. This rule placed the responsibility of property protection on the landowner rather than the livestock owner, meaning recovery of damages could only be sought if the person wanting to exclude livestock had erected a sufficient fence around their own land.
The so-called “no-fence law” — which many counties have adopted — creates an absolute duty for animal owners to contain their animals within their own boundary lines. The terms “fence-in” and “no-fence law” are often used interchangeably. In fence-in jurisdictions, property boundary lines are considered the lawful fence between landowners, meaning a property owner who does not keep livestock is not required to build or pay for a physical barrier to recover damages.
It is important to note that livestock owners may not permit their animals to run at large on public or private lands, even in a fence-out jurisdiction, under Va. Code Ann. § 55.1-2820. That section mandates that livestock owners prevent their animals from roaming beyond their land. However, in a fence-out jurisdiction, damages may not be awarded to a property owner who does not have a lawful fence around their property.
To find out which rule applies to your land, contact your county’s board of supervisors or local Virginia Cooperative Extension office. You can also review Virginia Tech’s overview of Virginia fence law, which maps the historical adoption patterns across the state.
Division Fence Responsibilities Between Neighboring Landowners in Virginia
Under Va. Code Ann. § 55.1-2821, adjoining landowners must build and maintain, at their joint and equal expense, division fences between their lands — unless one of them chooses to let their land lie open or unless they agree otherwise. This equal-cost rule is the default, and it applies whether or not both neighbors keep livestock.
If no division fence has been built and you want one, you may give written notice to the adjoining landowner — or their agent — stating your desire and intention to build the fence and requiring them to build their half. The landowner who receives that notice then has 10 days to respond in writing with their decision to let their land lie open.
If your neighbor chooses to leave their land open, you can build the entire fence yourself. But if that neighbor — or a future owner of the property — later encloses their land, they owe you (or your successors) half the value of the fence at the time they enclosed. That reimbursement right runs with the land, so it survives even if one of the properties changes hands.
When a division fence falls below the lawful fence standard, either neighbor can give the other written notice demanding repairs. If the notified neighbor does not complete their half of the repairs within 30 days, the neighbor who gave notice can fix the entire fence and recover half the repair cost from the other party. Notice must be filed at the county clerk’s office and left on record for 30 days before any cost-recovery obligation attaches to the non-responding neighbor.
Pro Tip: Put every division fence agreement in writing and record it in the deed book at your county clerk’s office. Under Va. Code Ann. § 55.1-2826, a cost-sharing agreement only binds successors in title if it is in writing, recorded in the deed book, and properly indexed.
For additional context on how Virginia handles livestock-related property obligations, see our guide on goat ownership laws in Virginia, which covers fencing expectations specific to small ruminants.
Fence Height, Material, and Construction Standards in Virginia
Virginia’s lawful fence standards create a practical checklist you can apply before construction begins. The table below summarizes the main configurations recognized under Va. Code Ann. § 55.1-2804.
| Fence Type | Minimum Height | Additional Requirements |
|---|---|---|
| General (any material) | 5 feet | Animals must not be able to creep through |
| Barbed wire | 42 inches | At least 4 strands; posts no more than 12 ft apart (or brace halfway between) |
| Boards, planks, or rails | 42 inches | At least 3 boards firmly attached to posts set in the ground |
| Other accepted materials (woven wire, mesh, polymer) | 42 inches | Materials sold for fencing; installed per accepted livestock-confinement standards |
| Town fence (charter towns without own standards) | 3 feet | Applies only inside qualifying incorporated towns |
| Cattle guard | N/A | Must be reasonably sufficient to turn all kinds of livestock |
For barbed wire specifically, posts must be set firmly in the ground no more than 12 feet apart. If posts are farther apart, a brace or stay must be installed halfway between them to maintain wire tension and structural integrity. Skipping that intermediate brace is one of the most common construction errors that can strip a fence of its lawful status.
Under the Virginia Uniform Statewide Building Code, fences of any height are generally exempt from building permit requirements — with exceptions for pedestrian safety barriers at construction sites and pool barriers. This statewide exemption surprises many property owners who assume a permit is always required for fence installation. However, some localities impose their own zoning requirements for fences, including height limits, setback distances, and material restrictions, even when no building permit is required. Always check your local zoning ordinance before building.
Electric Fence Rules in Virginia
Virginia regulates electric fences on agricultural land through a series of requirements aimed at preventing injury to people and animals. The core rule is that any electric fence controlling device must meet safety standards set by Underwriters Laboratories (UL) or the International Electrotechnical Commission (IEC).
It is unlawful for any person to sell, distribute, construct, install, maintain, or use any electric fence energized with an electric charge on agricultural land unless the charge is regulated by a controlling device. That device must display the approved label of and conform to UL publication number UL69 (“Standard for Safety for Electric-Fence Controllers”) or meet the IEC standard in publication IEC 60335-2-76, second edition.
For controlling devices that do not meet those certifications, the law permits use only if the device delivers a maximum intermittent current output not exceeding four milliampere-seconds for a maximum “on” period of two-tenths of a second and a minimum “off” period of nine-tenths of a second. No electric fence controlling device may permit an uninterrupted electric current for longer than one second with an effective value exceeding five milliamperes when the load is between 450 and 550 ohms.
No metallically continuous fence or set of electrically connected fences shall be connected to the ground in a manner that could create a hazard, and any controlling device must be suitably grounded when placed in service.
Violating any provision in the electric fence article is a Class 1 misdemeanor, which carries up to 12 months in jail and a fine of up to $2,500, or both, under Va. Code Ann. § 55.1-2803. That penalty covers selling, installing, or maintaining a noncompliant device. If you are buying an electric fence charger for your farm, verifying UL or IEC certification on the unit is the simplest way to stay within the law.
Pro Tip: An electric fence alone does not automatically qualify as a “lawful fence” under § 55.1-2804 unless it also meets the height and containment standards for one of the recognized fence types. Use electric wire as a supplement to, or in combination with, a qualifying fence structure when liability protection matters.
Road and Highway Fencing Requirements in Virginia
Fencing along public roads and highways involves a separate set of obligations that apply to both private landowners and railroad companies. The rules differ depending on whether the road is public or private and whether a railroad right-of-way is involved.
Under Va. Code Ann. § 55.1-2808, any owner of property on which there is a road or way — not a public road, a highway, a street, or an alley — over which an easement exists for ingress and egress of others may place cattle guards or gates across such way when required for the protection of livestock. A cattle guard installed in this context is deemed a lawful gate and does not constitute an interference with the easement.
Railroad companies operating in Virginia are required to fence their roadbeds where adjacent landowners request it. In erecting such fences, the railroad must construct cattle guards across its roadbed at the termini of fenced sections and on each side of all public and private crossings. Cattle guards at private crossings may be dispensed with if the company erects sufficient gates and maintains them in good order.
Such fences must be constructed on the written request of the landowner, sent by certified mail to the registered agent of the railroad. If the company refuses or fails for 180 days after such a request to construct or maintain the fences at the place designated, the landowner has legal recourse.
Leaving a gate open without the permission of the gate or land owner is a Class 1 misdemeanor under Virginia law. This rule applies to private gates on agricultural land and is a practical reminder to post clear signage and secure latches on any gate that crosses a shared access road.
If your livestock operation involves transporting animals to and from your property, review our companion article on transporting livestock laws in Virginia for the road-related obligations that apply once animals leave your fence line.
County-Level Fence Ordinances and Local Exceptions in Virginia
Under Va. Code Ann. § 55.1-2814, the board of supervisors or other governing body of any county — after publishing the notice required by subsection F of § 15.2-1427 — may by ordinance declare the boundary line of each lot or tract of land or any stream in the county, any magisterial district, or any selected portion of the county to be a lawful fence as to any or all domesticated livestock, or may declare any other kind of fence for that area to be lawful.
A declaration made under § 55.1-2814 does not relieve adjoining landowners from making and maintaining their division fences as defined by § 55.1-2804; Article 6 of Chapter 28 continues to govern those division fence obligations. In other words, a county adopting the no-fence law changes who bears liability for roaming livestock, but it does not eliminate the cost-sharing duty between neighbors for boundary fences.
Nothing in § 55.1-2814 authorizes or requires county governing bodies to declare a more stringent fence as a lawful fence than what is already prescribed by § 55.1-2804. Counties can declare property lines to be lawful fences, but they cannot raise the physical construction bar above the state standard.
For unincorporated communities, the circuit court of any county in which there is a village or unincorporated community with a population of 300 or more has jurisdiction to fix the boundaries of that community for the purpose of preventing domesticated livestock from running at large within those boundaries.
Virginia’s state fence laws focus on livestock containment and neighbor cost-sharing, but local governments and homeowners associations add a separate layer of rules that often affects residential fences more directly. If you live in an HOA community that borders agricultural land, review your CC&Rs alongside the county zoning ordinance — both can restrict fence materials, colors, and placement independent of the livestock statutes.
For a broader look at how local animal regulations operate in Virginia, see our articles on dog leash laws in Virginia and backyard chicken laws in West Virginia for comparison across neighboring jurisdictions.
Liability When Livestock Escape Through a Defective Fence in Virginia
When livestock escapes and causes damage, the key question Virginia law asks is whether the property the animals entered was enclosed by a lawful fence. The answer determines not just whether damages are available, but how much you can recover — and whether the liability doubles on repeat offenses.
Under Va. Code Ann. § 55.1-2810, if any domesticated livestock enters into any grounds enclosed by a lawful fence, the owner or manager of the animal is liable for the actual damages sustained. Punitive damages may be awarded, but they are capped at $20 per case. For every second and subsequent trespass by the same animal, the owner or manager is liable for double damages, both actual and punitive.
Whenever an animal is found trespassing on grounds enclosed by a lawful fence, the owner or tenant of those grounds has the right to take up and impound the animal until damages are paid or the animal is taken under execution by an officer. The costs of taking up and impounding the animal are estimated as part of the actual damage.
If the court enters judgment for the landowner under § 55.1-2810, that landowner holds a lien on the animal. The court issues a writ of fieri facias, and the animal found to have trespassed is levied upon by the officer to whom the execution was issued and sold as provided by law.
There is an exception for adjoining counties where only one county’s boundaries constitute a lawful fence. If livestock escapes across a county line, the owner is not liable for trespass on lands immediately adjacent to the county boundary unless those lands are enclosed by a lawful fence. Rural landowners near county borders should pay close attention to whether their own property meets the lawful fence definition, since that determines whether they can recover damages from a neighbor’s roaming cattle or horses.
The failure to ensure livestock are enclosed by a lawful fence may make the livestock owner subject to liability for property damage, personal injury, and trespass, among other things. That exposure extends beyond crop or fence damage — if an animal escapes onto a public road and causes a vehicle accident, the owner may face civil liability for personal injury as well.
- Confirm your fence meets the § 55.1-2804 lawful fence standard before liability questions arise
- Document any neighbor notification about a defective division fence in writing and file it with the county clerk
- Act promptly when animals escape — repeated trespass triggers double damages under state law
- Check whether your county operates under a fence-in or fence-out rule, as that determines your baseline liability exposure
- Verify that your electric fence charger carries UL or IEC certification to avoid criminal exposure
For related animal law topics in Virginia, you may also find our guides on dog bite laws in Virginia, roadkill laws in Virginia, and hunting laws in Virginia useful when navigating the broader landscape of animal-related legal obligations in the Commonwealth. Landowners near the state line may also want to compare with roadkill laws in West Virginia and goat ownership laws in West Virginia to understand how neighboring state rules differ.
Virginia’s livestock fence framework rewards preparation. Knowing your county’s fence rule, building to the lawful fence standard, and following the written-notice procedures for division fences puts you in the strongest possible legal position — whether you are the livestock owner trying to contain animals or the neighboring landowner trying to recover for damages they caused.