Livestock Fence Laws in North Dakota: What Every Landowner and Rancher Must Know
June 25, 2026
If you own livestock or farmland in North Dakota, fence law is not a background detail — it is one of the most consequential areas of property and agricultural law you will encounter. A fence that fails to meet the state’s legal definition can expose you to damage claims, strip you of enforcement rights against a trespassing neighbor, and leave you personally liable when animals escape onto a public road.
North Dakota’s fence statutes span several chapters of the North Dakota Century Code (NDCC), primarily Chapter 47-26 on partition fences, Chapter 36-11 on livestock trespass, and Chapter 24-10 on cattle guards and highway gateways. Understanding how these chapters work together — and where county-level rules add another layer — is essential before you build, repair, or dispute a single fence post.
Important Note: This article is for general informational purposes only and does not constitute legal advice. Fence law in North Dakota involves a mix of state statutes, township enforcement, and local ordinances. Consult a licensed North Dakota attorney or your county extension office for guidance specific to your situation.
What Qualifies as a Lawful Fence in North Dakota
North Dakota law is unusually specific about what qualifies as a lawful fence, because fence status directly affects cost-sharing, enforcement, and livestock liability. Chapter 47-26 recognizes several fence types as lawful if they are built and maintained to restrain livestock effectively. These include wood or board fences, wire fences, electric fences, and any structure fence viewers deem equivalent in strength and function.
For wire fencing, the statute outlines minimum strand counts and spacing. A typical lawful barbed-wire fence consists of multiple tightly stretched strands securely fastened to posts set at reasonable intervals. The USDA-NRCS conservation fence specification used in North Dakota describes standard-weight barbed wire as double-strand galvanized wire of 12.5 gauge with two-point 14-gauge wire barbs at a spacing of approximately 4 to 6 inches.
Electric fences are also lawful when properly installed and maintained. The key issue in most disputes is not the fence style itself, but whether the fence is in usable condition at the time a dispute arises. A fence that was once lawful but has fallen into disrepair — broken wires, rotted posts, sagging strands — may lose its legal status at the moment it matters most.
North Dakota’s climate creates real engineering challenges for fence construction. The state’s frost depth is at least 48 inches across most of the state, and in the northern counties near the Canadian border, it can exceed that during severe winters. This is among the deepest frost lines in the continental United States. What this means practically: fence posts must be set significantly deeper than in warmer states.
Pro Tip: Before relying on an existing fence in a legal dispute, walk the entire line and document its condition with dated photographs. A fence that looks adequate from a distance may have gaps or downed sections that disqualify it as “lawful” under NDCC Chapter 47-26.
Fence-In vs. Fence-Out: Which Rule Applies in North Dakota
The general rule under North Dakota law is that livestock may not be permitted to run at large. Further, certain male animals — such as stallions, boars, rams, and bulls — and “any animal known to be vicious” are also not permitted to run at large under any circumstance. This places North Dakota firmly in the “fence-in” camp: you, as the livestock owner, bear the duty to contain your animals.
A fence-in statute requires livestock owners and managers to contain their animals to prevent trespassing. In a fence-out state, landowners are responsible for putting up a fence if they want to prevent wandering or free-roaming animals from entering their property. North Dakota follows the former rule as its default.
However, the state preserves a notable exception rooted in its open-range history. In a nod to the open range doctrine, North Dakota law allows counties to designate lands as “grazing areas” in which livestock are allowed to roam freely. To qualify as a “grazing area,” an area must be designated as such by a majority of the county’s board of commissioners. Livestock owners have no liability to owners of crops or other property damaged by livestock within a grazing area.
It is incumbent on North Dakota livestock owners to determine whether their herds are located within a grazing area. If livestock stray outside a grazing area, the owner of those animals will be held liable for any damages they may cause. The lack of public maps of county-designated grazing areas, combined with a patchwork of federal and state lands that may be available for grazing, is confusing. Farmers and ranchers should consult counsel before setting their livestock loose on the open range.
If you keep animals in North Dakota, you may also want to review the state’s livestock transport rules and pet and animal import laws to understand the broader regulatory picture for animal movement across property lines and state borders.
Division Fence Responsibilities Between Neighboring Landowners in North Dakota
North Dakota has one of the most detailed sets of boundary fence laws in the country, codified in Chapter 47-26 of the North Dakota Century Code. The core principle: owners or occupants of adjoining lands, where both sides are occupied, must make and maintain equal portions of the division fence between their properties. This shared responsibility is not optional.
Under North Dakota law, adjoining owners or occupants are “mutually and equally bound” to build and maintain these fences unless one party chooses to let their land lie open. This shared duty exists even if only one neighbor owns livestock. If one neighbor demands a fence that exceeds the legal minimum — such as decorative upgrades or additional height — that neighbor is typically responsible for the added cost unless both parties agree otherwise.
If one neighbor refuses to maintain their portion, the other neighbor can make the repair and recover the cost through a formal process. The law also covers situations where one parcel is unoccupied, where the dividing line runs through water, and where neighbors can’t agree on where the fence should be built.
In organized townships, fence disputes are handled through a formal process involving township supervisors acting as fence viewers. If you believe your neighbor is failing to maintain their share of a partition fence, the statute provides a step-by-step remedy rather than self-help. The process generally works as follows: a complaint is made to the fence viewers, notice is given to the other landowner, the fence is inspected, and a written determination is issued with a deadline for repairs.
Fence viewers are designated officials, often appointed by the township or city, who inspect disputed fences, determine whether repairs are needed, assign responsibility, and put their determination in writing. Their decision is binding. It’s an older system with roots in agricultural law, but it remains on the books and is still used, particularly in rural areas and smaller communities.
If a party decides to stop fencing their land, they must give six months’ notice of that determination to all adjoining occupants of the lands, and that person shall not be required to maintain any part of the fence during the time that person’s lands are open.
Key Insight: Before filing a fence-viewer complaint, confirm whether your land sits in an organized township. In areas without organized township governance, landowners must rely on private agreements, mediation, or district court to resolve fence disputes. This distinction is critical and often overlooked, as it determines whether the statutory enforcement pathway is available at all.
Fence Height, Material, and Construction Standards in North Dakota
North Dakota’s state statutes do not prescribe a single universal height for all livestock fences, but they do require that any fence meet the functional standard of restraining the animals it is meant to contain. Material specifications are tied to the type of fence and the livestock involved.
For standard wire fencing used in agricultural settings, the USDA-NRCS fence conservation practice specification applicable in North Dakota describes woven wire as 26 to 34 inches high netting with 11-gauge top and bottom wires, 14.5-gauge intermediate and stay wires, all galvanized. For post spacing, line posts for barbed and woven wire are typically set at 16-foot intervals, with wood posts at least every third post.
For nontraditional livestock such as farmed elk, cervids, and nondomestic sheep or goats, the administrative rules under NDAC Chapter 48.1-09-01 impose stricter standards. Perimeter fences for cervids, nondomestic sheep and goats, and nondomestic hybrid sheep and goats must meet specific height requirements. The bottom of the fence must be at or below ground level, and the fence must be a mesh of a size to prevent escape and not spaced more than six inches apart. All gates in the perimeter fence must be locked and there must not be more than six inches below or between gates. Posts must be of sufficient strength to keep nontraditional livestock securely contained, extending to the upper limits of the height requirement and spaced no more than twenty-four feet apart.
For residential and urban settings, height limits vary by municipality. The average maximum fence height allowed in North Dakota is 7 feet based on fence building codes from across the state. However, you should refer to local building ordinances for the correct fence height, as most cities and townships have specific fence requirements based on zoning districts. As one example, residents of Williston are not allowed to erect fences taller than 7 feet in rear and side yards and 4 feet in front yards according to local fence building guidelines.
Electric Fence Rules in North Dakota
Electric fences are lawful under North Dakota law when properly installed and maintained. Chapter 47-26 lists electric fences among the recognized lawful fence types for standard livestock enclosures, and they can satisfy the partition fence obligation when they meet the functional containment standard.
The rules tighten considerably for nontraditional livestock operations. Under NDAC 48.1-07-01-05, which governs farmed elk, electric fencing materials may be used on perimeter fences only as a supplement to conventional fencing materials. The same restriction applies under NDAC 48.1-09-01-06 for other nontraditional livestock: electric fencing materials may be used on perimeter fences only as a supplement to conventional fencing materials. This means a stand-alone electric fence does not satisfy the perimeter enclosure requirement for these species — it must be paired with a physical mesh or woven wire structure.
For general agricultural electric fences, the USDA-NRCS power fence specification used in North Dakota provides practical construction guidance. Power fences erected in areas of potential high public use should be properly signed. A single hot wire may be used in situations where the earth will provide an adequate ground to complete the circuit back to the energizer, and that wire should be located 26 to 32 inches above the ground line. Two-wire power fences should have the top wire at least 26 inches above ground and the bottom wire 8 to 12 inches below the top wire, with the bottom wire connected to the negative side of the energizer or to the grounding rod.
Animals may be subject to additional fencing requirements at the discretion of the state veterinarian, so if you raise exotic or nontraditional species, check with the North Dakota Department of Agriculture before finalizing your fence design. You can also review North Dakota beekeeping laws and hedgehog ownership rules for examples of how the state regulates enclosure requirements for non-standard animals.
Road and Highway Fencing Requirements in North Dakota
Where your fence meets a public road or section line, a separate set of rules applies — and the consequences of getting it wrong can include forced removal at your own expense.
Unless closed by board action, congressional section lines outside platted subdivisions are public roads, open to a width of thirty-three feet on each side. The general rule prohibits fences from being constructed within 33 feet of or across section lines. Obstruction of a public highway without written permission is prohibited and may result in criminal liability.
North Dakota law also specifically addresses barbed wire near traveled routes. No person may build or place a barbed wire fence across any well-traveled trail which has been the usual and common route of travel for not less than one year without placing on the outside of the top tier of barbed wire a board, pole, or other suitable protection, to be at least sixteen feet in length.
Cattle guards offer a limited exception. A cattle guard must be constructed to permit the passage of motor vehicles through and over it. No cattle guard may be erected upon any section line unless there is also provided adjacent to it an ample gateway with a gate that may be opened easily and closed by the public. Warning signs must be placed approximately three hundred feet from and plainly visible to persons approaching the cattle guard upon the section line.
When a public highway is opened along any section line, the board of county commissioners or township supervisors must notify the owner of adjacent property to remove any fences within thirty-three feet of the section line. If the owner fails to remove the fences within thirty days after notice, the board shall remove the fences. The cost of removal is entered the same as taxes against the adjacent property and paid in the same manner as taxes.
For related road and animal interaction rules in North Dakota, see the state’s roadkill laws and leash laws, which address other points where animals and public roads intersect.
County-Level Fence Ordinances and Local Exceptions in North Dakota
North Dakota fence laws are enforceable but often misunderstood because they combine state statutes, township enforcement, and boundary doctrines. Whether a fence is lawful, whether costs must be shared, and who has authority depends on land use, township status, and the fence’s condition and location.
Like many states, North Dakota has a series of codes and laws regarding fencing. Municipal entities like cities, towns, and counties may enforce their specific rules about fencing that need to be followed. Within city limits, municipal ordinances typically control height, materials, setbacks, and permits. Even if the fence would be “lawful” under state standards, local code can still restrict it.
The county commissioners play a direct role in two important areas. First, as discussed above, they vote on whether to designate grazing areas that modify the default fence-in rule. Second, they have authority over section-line access and can order the removal of fences that obstruct public roads. Local government — the board of county commissioners or township supervisors — can take action to close a section line.
HOAs are increasingly common in newer subdivisions around Fargo, Bismarck, and West Fargo. Unlike Texas, North Dakota does not have a specific state law limiting HOA authority over fences. If your property is in an HOA-governed community, the HOA’s covenants, conditions, and restrictions may regulate fence height, materials, color, and design.
For other examples of how local North Dakota rules layer on top of state law for animal-related matters, see the state’s kennel zoning laws and rooster crowing ordinances, where municipal authority often overrides or supplements state-level defaults.
Pro Tip: Always check with your county auditor’s office or township board to confirm whether your land sits within a designated grazing area and to identify any local fence ordinances that apply to your parcel before you build or modify a fence line.
Liability When Livestock Escape Through a Defective Fence in North Dakota
The legal consequences of an escape depend heavily on whether your fence qualifies as “lawful” at the time the animals got out — and whether the area is a designated grazing zone.
Any person owning or having charge of any livestock that goes through, over, or under any lawful fence is liable for all resulting damages. Any livestock that goes through, over, or under a lawful fence is deemed trespassing livestock for the purposes of this chapter. This means that if your neighbor’s animals breach your lawful fence, your neighbor bears the liability — not you.
The reverse is equally important. No livestock may be permitted to run at large. Any owner or possessor of livestock who willfully permits the livestock to run at large through failure to maintain a lawful fence, except in a designated grazing area, is guilty of a violation. Willful failure to maintain a lawful fence is not just a civil matter — it carries a criminal penalty.
The owner or person in charge of any stallion, jack, boar, ram, bull, or any animal known to be vicious who negligently permits such animal to run at large is liable in a civil action to any person harmed. These animals carry no grazing-area exception — they must be confined regardless of county designation.
When livestock cause damage on a public highway, the liability picture shifts based on signage and location. The owner or possessor of any livestock that inflicts damage or injury to motor vehicles or their occupants upon a public highway within a grazing area in which proper signs, approved by the director of the Department of Transportation, indicating limited liability are posted at a point adjacent to the highway not less than two hundred feet away may have reduced exposure — but only if those signs are in place.
Should an owner’s livestock damage another’s crops or property, the offended landowner may retain the livestock as security pending a determination of liability and damages. This right to distrain — essentially hold the animals — gives the damaged party leverage in pursuing a claim without going to court first.
Understanding livestock liability connects directly to other animal-related legal questions in the state. If you raise animals near roads or populated areas, also review North Dakota’s pit bull regulations, neighbor cat trespass rules, and pet vaccination requirements to understand the full scope of animal owner responsibility under state law.
Putting It All Together
North Dakota’s livestock fence laws form an interlocking system: the definition of a lawful fence in Chapter 47-26 determines whether you can enforce rights against a trespassing neighbor; the fence-in rule in Chapter 36-11 makes you responsible for containing your animals; and county-level grazing designations can shift the entire calculus. Road and highway rules add a third dimension that catches many rural landowners off guard.
The most common mistakes are assuming a fence is “good enough” without checking whether it meets the statutory definition, ignoring the township’s fence-viewer process in favor of informal confrontation, and failing to confirm grazing-area status before moving animals to new pasture. Each of those errors can result in liability that a properly maintained, documented fence would have prevented.
For a broader view of how North Dakota regulates animals across different contexts, explore the state’s hunting laws, duck hunting regulations, and wildlife guides covering venomous animals in North Dakota and bat species found across the state.