Iowa has some of the most detailed and historically rooted fence laws in the country, and understanding them can save you from costly disputes, unexpected liability, and damaged neighbor relationships. Iowa fencing statutes date from the earliest times in the state’s history, even predating the Iowa Code of 1851, and the current laws are found in Iowa Code Chapter 359A.
Whether you raise cattle, own cropland, or simply share a boundary with a neighboring farm, these rules apply to you. The laws apply to every landowner in Iowa, with the exception of railroads. Knowing exactly what qualifies as a lawful fence, who pays for it, and what happens when livestock escape will help you protect your land and your operation.
Pro Tip: Any fence agreement you reach with a neighbor should be put in writing and recorded with the county recorder. Oral agreements are not enforceable under Iowa fence law.
What Qualifies as a Lawful Fence in Iowa
Iowa Code Chapter 359A defines the minimum standards a fence must meet to be considered “lawful.” Meeting this threshold matters because your rights and liabilities in livestock trespass disputes depend on whether a lawful fence was in place.
According to Iowa State University Extension, the following options exist for building a lawful fence under the Iowa Fence Code: three rails of good substantial material fastened to good substantial posts not more than 10 feet apart; or three boards not less than 6 inches wide and three-quarters of an inch thick, fastened to good substantial posts not more than 8 feet apart.
Wire fences must be firmly fastened to plastic, metal, or wooden posts securely planted in the earth. Posts shall not be more than two rods apart, and the top wire must be at least 40 inches in height. For barbed wire fences used primarily for land division, the bottom wire should be between 16 and 20 inches from the ground, and the top wire between 48 and 54 inches.
Any other kind of fence that the fence viewers consider to be equivalent to a lawful fence, or that meets standards established by the Iowa Department of Agriculture and Land Stewardship by rule, also qualifies as a lawful fence. Trees or hedges can serve as a partition fence as well. If the fence is a hedge, it must be trimmed in June and September to within 5 feet of the ground unless the owners agree otherwise.
Key Insight: The “lawful fence” standard in Iowa Code sets a floor, not a ceiling. Fence viewers can order a higher standard when circumstances warrant, and they have done so in court-affirmed cases.
Fence-In vs. Fence-Out: Which Rule Applies in Iowa
Iowa uses a hybrid approach that surprises many landowners, especially those new to the state. Iowa follows a fence-in theory and a conditional fence-out theory. Livestock owners generally have a duty to fence in their livestock, but neighboring landowners sometimes have a duty to fence the livestock out, stemming from their statutory obligation to build a partition fence.
Iowa is a common-law fence-in jurisdiction, which means a farmer has a responsibility to fence in their own livestock. This duty survived the repeal of the formal fence-in statute in 1994. A common law duty exists to prevent animals from entering a public roadway despite the fact that the formal fence-in statute was repealed in 1994.
The conditional fence-out rule adds a layer of shared responsibility. Iowa follows a conditional fence-out theory, meaning that if an animal escapes as a consequence of negligent fence maintenance by adjacent landowners, the neighboring landowner cannot recover damages for the trespassing animal. In plain terms, if you fail to maintain your portion of a partition fence and livestock get through, you may bear some of the blame.
For a deeper look at how Iowa regulates animals on and around your property, see our articles on goat ownership laws in Iowa and backyard chicken laws in Iowa.
Division Fence Responsibilities Between Neighboring Landowners in Iowa
One of the most commonly misunderstood aspects of Iowa fence law is who bears the duty to build or pay for a partition fence. The short answer: neither party is required to act until one of them makes a written request.
Iowa landowners have no common law duty to fence their property. Instead, Iowa Code § 359A.1A imposes a conditional statutory duty: respective owners of adjoining tracts of land shall, upon written request of either owner, be compelled to erect and maintain partition fences, or contribute thereto, and keep the same in good repair throughout the year.
This obligation does not flow from livestock ownership. A landowner owning no livestock can require an adjacent landowner to erect and maintain a partition fence. Likewise, a landowner owning livestock can require a non-livestock-owning neighbor to contribute to erecting and maintaining the partition fence.
Once the written request is made and the parties cannot agree, the dispute moves to fence viewers — Iowa’s official tribunal for fence controversies. The Iowa Code authorizes township trustees to act as fence viewers and decide partition fence controversies. The decision of the fence viewers is binding on current and future owners.
Once the fence viewers have rendered a ruling, landowners have 30 days by law to construct or repair the fence. If the landowner fails to do so, the fence viewers can arrange to have the fence built. The costs are charged to the responsible landowner and collected in the same way as property taxes under § 359A.6.
The “right-hand rule” is a well-known informal method for dividing fence responsibilities. The Iowa Supreme Court has stated that Iowa Code Chapter 359A applies equally to all adjoining landowners without regard to the use of the land. The right-hand rule is a common way to divide responsibility for the fence; however, it is not a legal requirement. When terrain makes one section costlier to build than another, the right-hand rule generally will not work, and the Iowa Supreme Court has directed that costs must be allocated so as to “equalize the burden.”
Written and recorded fence agreements carry significant legal weight. The Iowa fence statute allows adjoining owners to enter into a written agreement determining the portion of partition fences each will erect and maintain. The agreement must describe the lands and the parts of the fences so assigned, and if signed, acknowledged, and filed with the county recorder, it will be binding on the makers, heirs, and subsequent owners.
Important Note: A fence that has served as the practical boundary for 10 years may legally become the property line regardless of survey results — a doctrine known as boundary by acquiescence under Iowa Code Chapter 650.
Fence Height, Material, and Construction Standards in Iowa
Iowa’s lawful fence standards address materials, post spacing, wire height, and special requirements for certain livestock. Choosing the right fence type from the start saves you from costly upgrades later.
The table below summarizes the main fence types recognized under Iowa Code Chapter 359A and their key construction requirements:
| Fence Type | Post Spacing | Key Specification | Best Use |
|---|---|---|---|
| Three-rail (substantial material) | Max 10 feet | Rails of good substantial material | General boundary |
| Three-board plank | Max 8 feet | Boards ≥ 6 in. wide, ¾ in. thick | Boundary near structures |
| Wire (barbed or woven) | Max 2 rods (33 ft) | Top wire ≥ 40 in. high | Cattle pasture |
| Tight fence (woven + barbed) | Max 2 rods | Woven wire bottom, barbed top | Sheep and swine |
| Hedge or trees | N/A | Trimmed June & Sept., ≤ 5 ft. high | Natural boundary |
When sheep or swine are pastured on the property, a standard three-wire fence is not enough. Iowa law provides for a “tight” fence under § 359A.20, meaning a fence that will hold livestock, such as requiring woven wire on the bottom and barbed wire on top. If one landowner makes their portion of the fence “tight,” the fence viewing process can be used to require the neighboring landowner to also upgrade their own portion to meet the tight standard.
Construction standards also affect ownership. If one party built and paid for the fence, they are considered the owner of that portion under § 359A.16, and that law gives the owner the right to remove the fence as if it were entirely on their land. However, owning the fence and being obligated to maintain it are two separate legal questions — do not confuse the right to remove with the duty to repair.
Electric Fence Rules in Iowa
Electric fencing is widely used across Iowa’s agricultural landscape, and state law accommodates it as a lawful fence option provided the installation meets applicable standards. Iowa Code Chapter 359A allows electric fences to qualify as lawful fences when they are functionally equivalent to the minimum standards established by the Department of Agriculture and Land Stewardship.
At the local level, municipalities may impose additional restrictions. For example, electric fences are not permitted in any district except for the enclosure of livestock operations in Agricultural Districts (A-1), and no electric fence shall carry a charge greater than 25 milliamperes or a pulsating current longer than one-tenth of a second in a one-second cycle. All electric fence chargers must carry the seal of an approved testing laboratory.
Some municipalities go further. A town is free to adopt its own fencing ordinances as long as they do not conflict with Chapter 359A. For example, some towns have adopted ordinances banning the use of barbed wire entirely. Before installing any electric or barbed wire fence near a municipal boundary, check with your local zoning office to confirm what is permitted in your specific district.
Electric fencing is especially common for rotational grazing systems. Iowa farmers use temporary electric wire to move cattle between pasture paddocks without constructing permanent infrastructure, a practice that is legally permissible provided the fence meets the equivalent-fence standard recognized by fence viewers.
For related animal containment questions in Iowa, see our guide on leash laws in Iowa and pit bull laws in Iowa.
Road and Highway Fencing Requirements in Iowa
Iowa places specific fencing obligations on landowners and certain entities when property borders public roads, highways, or railways. These rules exist to protect motorists and prevent livestock from straying onto travel lanes.
Livestock owners bear a common law duty to keep animals off public roads even without a statutory fence-in requirement. A livestock owner has a duty of ordinary care to prevent injuries and is liable to the extent that injuries were reasonably foreseeable. In a 2004 Iowa Supreme Court opinion, a ranch failed to inspect the fence and take precautions necessary to protect motorists from stray horses. The ranch argued the 1994 repeal of the fence-in statute eliminated its responsibility, but the court disagreed and upheld the common law duty of reasonable care.
When it comes to highway construction, the government bears the cost of fence relocation. If land is condemned for a highway and a fence is located on that land, the government is responsible for erecting a new fence and for all costs of replacing or moving any existing fence. Neither the Iowa Code nor Iowa DOT rules place any obligation on the DOT or any other government entity to maintain partition fences beyond the regular duty stated in Iowa Code: respective owners of adjoining tracts of land are jointly responsible for the maintenance of a partition fence.
Railway right-of-way fencing follows a distinct set of rules. Iowa Code § 327G.3 provides that all railway corporations owning or operating a line of railway within the state shall construct, maintain, and keep in repair a fence on each side of the right-of-way to prevent livestock from getting upon the tracks. These fences may be made hog tight upon a written request of a landowner.
Important Note: If your livestock habitually stray onto a public road, a non-adjacent neighbor may trigger the fence viewer process after documenting three or more trespass incidents within a 12-month period — even without a shared boundary fence.
County-Level Fence Ordinances and Local Exceptions in Iowa
Iowa’s state fence law under Chapter 359A sets the baseline, but local governments retain authority to layer additional requirements on top of it — as long as those local rules do not contradict state statute.
The Iowa Supreme Court has stated that under the doctrine of “home rule,” a city or county ordinance cannot conflict with a state statute. A town is free to adopt its own fencing ordinances as long as they do not conflict with Chapter 359A. This means local rules can be stricter than state law, but they cannot undercut the rights and obligations Chapter 359A establishes.
Local ordinances vary considerably across Iowa’s 99 counties. Some municipalities restrict fence height in residential zones, regulate materials like barbed wire, or require permits before construction begins. In agriculture and conservation districts in some Iowa cities, barbed wire, woven wire, and electrical fencing are permitted subject to a minimum setback of 10 feet, and only when used to contain livestock or to protect crops and plantings in areas containing 10 acres or more.
Urban and suburban landowners face the most variation. A fence that is perfectly legal in a rural agricultural zone may require a permit, a material change, or a setback variance in a city or township with its own zoning code. Always contact your county zoning office or township clerk before building or modifying a fence near a municipal boundary.
Fence viewers — the township trustees authorized to resolve partition fence disputes — also have some discretion at the local level. The law allows fence viewers to make any allocation of responsibility they feel is equitable and fair. Their decisions carry binding authority over both current and future property owners, which is why getting any agreed allocation recorded in writing matters so much.
Iowa landowners dealing with other local animal regulations may also find our articles on kennel zoning laws in Iowa, beekeeping laws in Iowa, and rooster laws in Iowa useful for understanding how local ordinances interact with state rules.
Liability When Livestock Escape Through a Defective Fence in Iowa
When animals get out, the question of who pays for the damage depends heavily on which fence failed and whether that fence was legally required to be maintained by the party whose livestock escaped — or by the neighbor whose portion was defective.
Iowa Code § 169C.4, enacted in 1997, makes livestock owners liable for damages caused by trespassing livestock, except where livestock trespass through a partition fence not maintained as required under Iowa Code Chapter 359A. This exception is significant: it means a livestock owner can avoid liability if the escape happened through a section of fence their neighbor was legally obligated to maintain but neglected.
In other words, livestock owners are relieved from liability if the trespass was through a neighbor’s fence not maintained as required by Iowa Code § 359A. In addition to statutory liability, livestock owners are subject to standard tort liability for escaping livestock, as are neighboring landowners required to maintain a partition fence.
The 2004 Iowa Supreme Court case involving stray horses on a road illustrates how far this liability can extend. A livestock owner has a duty of ordinary care to prevent injuries and is liable to the extent that injuries were reasonably foreseeable. Failing to inspect fences regularly is enough to expose you to liability — even if the formal fence-in statute no longer exists.
Habitual trespass triggers its own liability chain. If livestock habitually trespass onto neighboring land or onto a public road, habitual trespass is established when a non-adjacent neighbor notifies law enforcement of livestock straying onto their property on three or more separate occasions in a 12-month period. Once properly documented, the non-adjacent neighbor may demand that the landowner erect or maintain a fence.
If the livestock owner refuses to act after that demand, the non-adjacent neighbor may enlist the fence viewers to settle the dispute, and the county supervisors will step in to build the fence and then assess a tax if the livestock owner refuses to build and pay for it.
- Document every trespass incident with dates, photos, and a law enforcement report.
- Send all fence requests in writing and retain copies.
- Record any fence agreement with the county recorder to bind future owners.
- Inspect your fence sections at least seasonally and after major storms.
- Carry property liability insurance as a backstop against unforeseen escapes.
For context on how Iowa handles other livestock-related legal issues, see our guides on transporting livestock in neighboring states such as Kentucky, Arkansas, and Wyoming, as well as Iowa-specific animal rules like neighbor’s cat in your yard and roadkill laws in Iowa.
Iowa fence law rewards landowners who plan ahead. In Iowa, fencing responsibilities must be shared if requested by an adjoining landowner unless there is a written agreement stating otherwise. Getting that agreement in writing, recording it, and maintaining your assigned section consistently is the most reliable way to avoid disputes — and to protect yourself if one arises anyway. When in doubt, consult an agricultural attorney familiar with Iowa Code Chapter 359A before making any major fencing decisions.