Shelter and WorkshopLesson 4 of 6
Fencing and gates
What you’ll learn
- How to choose a fence type for each animal and what it costs per foot
- How deep, how big and how far apart to set posts, and how to brace a corner
- How to hang a gate that does not sag
- Fence-in and fence-out law, who pays for a line fence and what happens if animals get out
- Why to call 811 before you dig and how to stay safe stretching wire
The short version
Know the law first. Is your state fence-in or fence-out, who pays for a line fence, and does your county zoning limit fence height?
Match the fence to the animal. Cattle at least 54 inches, horses at least 5 feet, sheep and goats woven wire with 2-by-4-inch openings, pigs 35 inches plus a bottom wire, deer 8 feet.
Posts and braces decide how long it lasts. Set corner and gate posts at least 3 1/2 feet deep, as big as you can set, and brace every corner.
Use treated posts for ground contact. Georgia says 0.4 pound per cubic foot or more; builder's-store 0.25 lumber and landscape timbers are not acceptable.
A gate opening is 14 feet. Wider strains the hanging post; use two gates.
Use Class 3 galvanized wire. It lasts 5 to 10 years longer in humid climates.
Budget $2 to $4 a foot for permanent wire fence. Missouri April 2026: $3.03 to $3.94; Iowa December 2024: $1.99 to $2.34.
Electric fence is the cheapest fence per foot. Missouri priced a five-wire electrified high-tensile fence at $2.51 a foot against $3.94 for woven wire (April 2026), and Iowa put electrified at $1.21 against $2.34 for woven (December 2024).
Fence law is local. Confirm with your county before you build on a line.
Choose the fence by animal
| Animal | What the sources say (inches unless noted) |
|---|---|
| Cattle | Perimeter at least 54 in (Tennessee); NRCS Maryland: 48 in woven wire plus a top wire, or barbed wire with at least 3 strands |
| Horses | Perimeter at least 5 ft, dividing fences 4.5 ft, bottom 6 to 8 in off the ground (Georgia); no barbed wire; 2-by-4-inch welded wire is not recommended because the joints fail; mesh 12.5 gauge or better |
| Sheep and goats | Woven-wire openings no larger than 2 by 4 in so heads and horns don't stick; NRCS Maryland: at least 40 in with 5 horizontal woven wires plus one more; NRCS Alabama: 32 in woven plus 2 strands; barbed wire is a poor fit (wool clogs, they slip through) |
| Pigs | NRCS Maryland: woven wire at least 35 in with an extra bottom wire; hog and cattle panels (3 to 4 ft tall, 16 ft long) suit pigs, posts 10 to 12 ft apart, panel clipped on the inside of the post, T-posts capped |
| Llamas and alpacas | 60 in with 2-by-4-inch no-climb mesh (Washington State) |
| Chickens and turkeys | NRCS Maryland: woven wire 72 in tall with 2-by-4-inch openings plus a top wire; Maine: daytime pen fully enclosed in 1-inch chicken wire over a frame |
| Rabbits and garden pests | Georgia: rabbits 2 ft of 1-inch hex wire with a 12-inch outward apron buried a few inches; dogs and cats 3 ft with a 24-inch apron; raccoons and opossums 60 to 72 in with a 24-inch buried apron and the top 18 in left unattached to flop over |
| Deer | 8-foot woven wire built as two 4-ft widths on 12-ft posts (Penn State); 7 to 8 ft (Montana FWP); 6 to 8 ft (Maine); 8 ft (Arizona); keep any gap under a gate at 6 in or less |
| Coyotes and diggers | Maine: 5-ft woven wire with outward extenders and either 8 in buried or a galvanized apron at least 15 in wide; NRCS Maryland: put the bottom wire at ground level |
| Javelina | At least 4 ft tall (over 6 ft best) and buried 8 in (University of Arizona) |
Fence types
Woven wire (field fence). Line wires run from about 1.5 inches apart at the bottom to 9 inches at the top. Stay wires are 6 inches apart for small animals and 12 inches for large animals. Most rolls are 26 to 48 inches tall. "949-12-11" means 9 wires, 49 inches tall, 12-inch stays, 11 gauge.
High-tensile smooth wire. 12.5 gauge, tensioned to about 200 pounds with an in-line strainer; see the Livestock fencing and predator protection lesson for hot designs.
Barbed wire. Cheap for cattle; avoid for horses and small stock.
Board fence. Posts no more than 8 feet apart, boards at least nominal 1 by 6 inches with two 12d galvanized nails or two 3-inch screws, 3 to 4 boards. It is the dearest and lasts 10 to 20 years.
Chain link. At least 5 feet, 9 gauge with 2-inch mesh, line posts 2-inch pipe set 12 inches deep in concrete and no more than 10 feet apart.
Hog and cattle panels. Cheap, quick and strong; not for sheep or goats.
Cost and life compared (UGA). Electric about 25 years, barbed or woven about 33, boards 10 to 20, movable fence 1 to 3 years.
Sources: Cornell University, Code of Federal Regulations (eCFR) and 15 more
- Cornell University. 49 U.S.C. 60114 One-call notification systems
- Code of Federal Regulations (eCFR). 49 CFR 198.55 (Criteria for evaluating State damage prevention enforcement programs)
- Iowa Legislature. Iowa Code Chapter 480, Underground Facilities Information
- Washington State Legislature. Revised Code of Washington chapter 19.122 (Underground Utilities)
- University of California Agriculture and Natural Resources. Safety Note #40: Fence Safety (October 2004)
- University of Tennessee Agricultural Extension Service. Planning and Building Fences on the Farm (PB1541)
- CDC. Farmer Killed in Tractor Rollover While Setting a Fence Post (NIOSH, Aug 30 2004)
- USDA Forest Service MTDC. Manual Post Drivers for 8- to 10-Foot-Long Metal Posts (MTDC 0324-2340, Dec 2003)
- USDA NRCS Maryland. Conservation Practice Specifications: Fence, Code 382 (NRCS Maryland, June 2016)
- University of Georgia Extension. Fences for Horses (Bulletin 1192, full review 31 May 2024)
- Washington State University Extension. Fencing Considerations for Livestock Owners (FS265E, June 2017)
- Ohio State University Extension. Construction Specifications: Fence, Woven Wire (NRCS Alabama CS-382, July 2007), OSU Guernsey County copy
- Washington State University Extension. Farm Fencing Systems for Livestock (Keeping Animals Without Breaking the Bank or Your Back)
- Maine Department of Inland Fisheries and Wildlife. Fencing: How to Avoid or Resolve a Wildlife Conflict
- University of Georgia Extension. Garden Fencing (Circular 1027-09, reviewed November 2022)
- Penn State Extension. White-tailed Deer in Home Fruit Plantings (updated June 29, 2026)
- Montana Fish, Wildlife and Parks. How to Build Fence with Wildlife in Mind / A Landowner's Guide to Wildlife Friendly Fences (2nd ed. 2012)
- University of Arizona Extension. Fencing for Wildlife (AZ1481h, October 2009)
- Minnesota DNR Wildlife Damage Management Program. Fencing Handbook for 10 ft Woven Wire Deer Exclusion Fence
- University of Georgia Extension. Fences for the Farm (Circular 774, J. W. Worley, full review 12 Mar 2024)
Plan the line
Check the law and zoning (see Fence law, boundaries and liability below).
Call 811 and have utilities marked.
Use as few corners and gates as you can. A straight, continuous stretch is the cheapest, fastest and easiest; each extra corner, end, gate and water gap adds time and cost.
Stay at least 10 feet from streams and avoid woven wire in flood zones; use single-strand high-tensile with flexible posts and hanging flood gates.
Slopes raise the effective jump height: a 30 percent slope raises the effective height of a 42-inch fence to 62 inches, and Montana FWP's figure shows 48.6 inches for a gentler slope.
Put gates in corners, not mid-line, and keep the number small.
Sources: Iowa Legislature, Washington State Legislature and 6 more
- Iowa Legislature. Iowa Code Chapter 480, Underground Facilities Information
- Washington State Legislature. Revised Code of Washington chapter 19.122 (Underground Utilities)
- University of Missouri Extension. Pasture Fence Construction Budget (G1193, revised April 2026)
- Penn State Extension. Stream Bank Fencing: Green Banks, Clean Streams
- USDA NRCS Maryland. Conservation Practice Specifications: Fence, Code 382 (NRCS Maryland, June 2016)
- Montana Fish, Wildlife and Parks. How to Build Fence with Wildlife in Mind / A Landowner's Guide to Wildlife Friendly Fences (2nd ed. 2012)
- University of Kentucky Extension. Farm Gates: Design Considerations (AEN-137, revised April 2024)
- University of Tennessee Agricultural Extension Service. Planning and Building Fences on the Farm (PB1541)
Build it, step by step
1. Posts
Wood species and life. Untreated black locust and Osage orange last 20 to 25 years (Georgia); Tennessee gives Osage 25 to 35 years and black locust and red cedar 15 to 25; untreated pine lasts 3 to 7 years and treated pine 25 to 30. In western Oregon no Osage-orange post had failed after 37 years. In a 30-year South Dakota test treated ponderosa pine posts showed no failures at the best treatments; untreated posts had a probable life of 11 to 13 years and wetter sites decayed treated posts faster.
Treatment. Georgia advises posts treated at 0.4 pound per cubic foot or more for ground contact; builder's-store lumber treated at 0.25 pound will not protect against termites or rot in soil. NRCS Maryland and Georgia say landscape timbers are not acceptable. NRCS Maryland says not to use red pine, while Minnesota and Georgia accept treated pine.
Sizes. Corner and gate posts at least 8 inches in diameter (Georgia, Tennessee), at least 6 inches (NRCS Maryland) or about 5 inches (NRCS Nebraska and Arkansas); brace posts about 5 inches; line posts 2.5 to 4 inches.
Depths. Line posts at least 2 to 2.5 feet and corner and gate posts at least 3 to 3.5 feet (NRCS Maryland: 2 1/2 and 3 1/2 feet); Penn State: 36 inches for line posts and 48 for corner posts; tension assemblies at least 4 feet (Washington State).
Spacing. Woven wire at most 10 feet (NRCS Maryland), 14 to 16 feet (Tennessee) or 16 feet (NRCS Alabama); barbed 12 to 16 feet; electric high-tensile 40 to 75 feet. Narrow to 12, 10 and 8 feet on curves.
Steel T-posts. Drive until the anchor plate is below the surface; NRCS wants at least 1.3 pounds per foot and 5 feet long, with a wood post every third or fourth post, or every 50 to 75 feet. Cap them so animals aren't impaled.
Frost. Set posts below the frost line; no zone-by-zone depth was found, so look up your local frost depth. Sandy or wet soil needs deeper posts, perhaps a concrete collar.
Rocky ground. Probe for solid spots, use steel pipe in rock cracks, drill with rock bits, or bury posts in 5-gallon concrete buckets.
Concrete is disputed. Georgia says do not put wood posts in concrete when they can be tamped; NRCS requires concrete where the specified depth cannot be reached (hole at least 3 times the post diameter and 24 inches deep; wire only after 5 days).
2. Corners and braces
Why. Stretching wire puts about 3,000 pounds of pull on a corner, rising to 4,500 pounds in winter cold.
H-brace. A horizontal member between two posts, 6 to 10 feet long (NRCS Arkansas), at least 7 feet (NRCS Maryland) or 2 to 2.5 times the fence height (Georgia), set between the top two wires, with brace wire in two loops of 12.5-gauge wire, tightened by a twitch stick, running from the top of one post to the base of the other; pins 3/8 inch.
When. A corner assembly is needed where the line turns 20 degrees or more (NRCS Arkansas), 15 degrees (Minnesota) or more than 40 degrees (NRCS Maryland). Woven or barbed runs under 300 feet take a single span; 300 to 700 feet a double span; add a line brace at least every 700 feet (every 1,300 feet for non-electric high-tensile). Keep pulls under about 1,320 feet.
Alternative. A diagonal strainer in a 4-foot hole was 8 percent stronger than an H-brace on clay in a University of Maine test (author claim).
3. Wire
Tension. 12.5-gauge high-tensile at about 200 pounds, with in-line strainers. Re-tighten once or twice a year, especially in spring after winter contraction. On a 10-foot deer fence loosen the top wires in fall and tighten in spring.
Staples. 1.75 to 2 inch, 8 to 9 gauge, hot-dip galvanized; NRCS Maryland minimums are 1 1/4 inch for softwood and 1 inch for hardwood. Never staple woven-wire stays, and don't drive staples tight; the wire must slide.
Galvanizing. Class 3 wire lasts 5 to 10 years longer than lighter coatings in humid climates. Years to rust for 12.5-gauge: about 11 years (Class 1) against 30 (Class 3) in dry climates, and about 6 against 13 in humid ones.
4. Gates
Opening. The modern standard is 14 feet; wider strains the hanging post, so use two gates that meet in the middle. Equipment gates need 12 to 16 feet; walk-through gates at least 4 feet, with 5 preferred.
Posts. At least 8 feet long with one third in the ground (8 to 10 inches in diameter if wood). Don't drive a square wood post because it may twist.
Build order. Drive the hanging post, hang the gate, then drive the latching post.
Hinges. Through-bolt or adjustable hardware; plumb the hangers; offset to make a gate swing closed or stay open.
Economy gates last about 3 to 5 years; sag is the common failure.
Don't open or close a gate with a vehicle or climb over it; install a stile where only people need to pass.
5. Wildlife-friendly fence (cattle and sheep in deer and pronghorn country)
Top wire at most 40 to 42 inches, at least 12 inches between the top two wires, smooth bottom wire 16 to 18 inches above the ground, no vertical stays. For sheep, top wire 32 inches and bottom smooth wire at least 10 inches. NRCS uses 14 inches for pronghorn, and Arizona says under 12 inches to exclude javelina. Fences over 40 inches accounted for 70 percent of mortalities in a Utah State study of 600 miles. These designs do not exclude predators, so they are not for small stock.
Sources: University of Georgia Extension, University of Tennessee Agricultural Extension Service and 16 more
- University of Georgia Extension. Fences for the Farm (Circular 774, J. W. Worley, full review 12 Mar 2024)
- University of Tennessee Agricultural Extension Service. Planning and Building Fences on the Farm (PB1541)
- Oregon State University Extension. Service Life of Treated and Untreated Fence Posts, 1971 Progress Report on the Post Farm
- USDA Forest Service Rocky Mountain Research Station. Service Life of Treated and Untreated Black Hills Ponderosa Pine Fenceposts (RM-300, 1992)
- University of Georgia Extension. Fences for Horses (Bulletin 1192, full review 31 May 2024)
- USDA NRCS Maryland. Conservation Practice Specifications: Fence, Code 382 (NRCS Maryland, June 2016)
- Minnesota DNR Wildlife Damage Management Program. Fencing Handbook for 10 ft Woven Wire Deer Exclusion Fence
- USDA NRCS Nebraska. Practice Specification Fence (382) Standard Post and Wire Fence (NRCS Nebraska, April 2014)
- USDA NRCS Arkansas. Fence: Constructing an H-Brace, 382 Conservation Practice Fact Sheet (Arkansas, March 2009)
- Penn State Extension. Fence Planning for Horses (updated May 23, 2016)
- Washington State University Extension. Fencing Considerations for Livestock Owners (FS265E, June 2017)
- Ohio State University Extension. Construction Specifications: Fence, Woven Wire (NRCS Alabama CS-382, July 2007), OSU Guernsey County copy
- University of Maine Extension. Lesson 3 Fencing Systems, Appendix B: A Stronger Brace (Diagonal Strainer)
- University of Kentucky Extension. Farm Gates: Design Considerations (AEN-137, revised April 2024)
- Montana Fish, Wildlife and Parks. How to Build Fence with Wildlife in Mind / A Landowner's Guide to Wildlife Friendly Fences (2nd ed. 2012)
- Utah State University Extension. Fencing Guidelines for Wildlife (Habitat Extension Bulletin No. 53, Wyoming)
- Colorado State University Extension. Fencing with Wildlife in Mind
- USDA NRCS. E382A Incorporating wildlife friendly fencing for connectivity of wildlife food resources (July 2019)
- University of Arizona Extension. Fencing for Wildlife (AZ1481h, October 2009)
Maintenance
After storms: inspect and repair loose wire, weak assemblies, tree limbs and erosion (NRCS).
Each spring: re-tension wire; keep vegetation off wires.
Electric deer fence: check every 2 days for the first 3 weeks, then every 2 weeks.
Sources: USDA NRCS, University of Georgia Extension and 2 more
- USDA NRCS. Conservation Practice Standard: Fence, Code 382 (NHCP, July 2021)
- University of Georgia Extension. Fences for the Farm (Circular 774, J. W. Worley, full review 12 Mar 2024)
- University of Tennessee Agricultural Extension Service. Planning and Building Fences on the Farm (PB1541)
- Maine Department of Inland Fisheries and Wildlife. Fencing: How to Avoid or Resolve a Wildlife Conflict
Costs
| Item | Cost |
|---|---|
| Woven wire plus one barbed strand | $3.94 per foot adjusted (Missouri, April 2026); $2.34 (Iowa, December 2024) |
| Five-strand barbed wire | $3.03 (Missouri 2026); $1.99 (Iowa 2024); $2.83 installed (NC 2011) and $2.90 for 6-strand (NC 2015) |
| Electrified high-tensile | $2.51 (Missouri 2026; summary table prints $2.86); $1.21 (Iowa 2024) |
| Portable two-strand polywire | $1.05 (Missouri 2026); $0.25 interior (Iowa 2024) |
| Labor, 1,320 ft | 22.5 hours woven, 20.5 barbed, 19.5 electrified, 3.8 portable: about 1.5 to 1.7 hours per 100 feet permanent (derived) |
| NRCS EQIP Fence 382, Montana FY2025 per foot | Barbed $2.76, woven $3.24, 5-wire electric $2.40, 96-inch woven $6.43, chain link $12.37 |
| North Carolina cost share | Up to 75 percent of stream-exclusion fencing (confirm locally) |
Each extra corner, gate and water gap adds time and money. Clearing and removing old fence is not included. Costs are for a straight, gently rolling line. We found no current per-foot cost for deer fence, chain link, panels or welded-wire poultry and rabbit fence.
Sources: University of Missouri Extension, Iowa State University Extension and 2 more
- University of Missouri Extension. Pasture Fence Construction Budget (G1193, revised April 2026)
- Iowa State University Extension. Estimated Costs for Livestock Fencing (Ag Decision Maker File B1-75, FM 1855, revised December 2024)
- NC State Extension. Livestock Exclusion Fencing: Lessons Learned
- USDA NRCS. EQIP Fiscal Year 2025 Montana payment schedule (practice 382 Fence rows)
Fence law, boundaries and liability
First, find out which kind of state or county you are in
Closed range (fence-in): the animal owner must keep animals in. Ohio (including poultry) and North Carolina make it a crime to let livestock run at large; Maryland is closed range by court decision. A 2021 compilation reports the same for Georgia, Tennessee, Missouri, Oklahoma and Minnesota.
Open range (fence-out): a neighbor must fence your animals out, or cannot recover damages. Texas, Arizona, Colorado and Washington outside restricted areas; a 2021 compilation reports New Mexico, Oregon, Idaho and (cattle only) Montana. Arizona's statute says no recovery for animal trespass unless the land is enclosed within a lawful fence, except in no-fence districts.
Virginia is fence-out by default but a county may adopt a no-fence law.
County stock laws exist in Texas, Utah and Virginia; there is no central list.
Assume you must keep your animals in wherever your land is not open range, and that you must pay for any damage or road accident if they get out.
Lawful fence specs read in statute
| State | Lawful fence |
|---|---|
| Idaho | Wire fence at least 47 inches, three barbed wires or four coiled spring wires, bottom wire not over 21 inches, posts not over 24 feet apart with three stays between |
| Missouri | Posts and wire or boards at least 4 feet high, posts not over 12 feet apart |
| Washington | Four barbed wires, top wire 48 inches plus or minus 4, other wires 12, 22 and 32 inches below, posts not over 24 feet apart |
| Iowa | Three rails or boards, three barbed wires, or four coated high-tensile wires with top wire at least 40 inches and posts 2 rods apart; "tight fence" for sheep or swine is woven wire plus barbed |
| Ohio | "Preferred partition fence": 48-inch woven wire plus one or two barbed strands, or non-electric 7-strand high-tensile to NRCS standard |
| 2021 compilation | Arizona four barbed wires, top 50 inches; Colorado three barbed wires; Florida at least 3 feet and three strands; Maine 4 feet; New York four strands, posts 14 feet; Oklahoma 54 inches; Virginia 5 feet or 4-strand barbed 42 inches; Wisconsin 50 inches |
Who pays for a line fence
Ohio: a builder of a new fence where none existed pays alone; for existing or removed fences, shares are equitable under six factors (a 30/70 split is an example). The builder can bill a neighbor who later uses it to hold livestock within 30 years. A neighbor or contractor may enter 10 feet onto adjoining land to build or maintain it, and 28 days' notice is required before removing a line fence.
Iowa: on written request adjoining owners must build or contribute; township trustees act as fence viewers; unpaid costs become a lien.
Minnesota: where both lands are used for livestock and one owner wants a fence, equal shares.
Washington: a neighbor who encloses against your boundary fence owes half its value.
2021 compilation: equal shares in Pennsylvania (no work compelled December through March) and Maine; New York equitable with a 5-year animal-use rule; Wisconsin equal.
No statute: Texas (the payer owns the fence; removal of an attached fence needs consent or six months' written notice) and Maryland.
Tennessee lets a non-agricultural neighbor with a residence and no livestock disclaim responsibility by registered mail (2021 compilation).
If your animals get out
Damage to the neighbor's land and animals. Iowa makes the owner liable for trespass damage and custody costs unless the animals came through a fence the neighbor had to maintain; three trespasses in 12 months is "habitual trespass". Washington frees an owner whose animals escaped through a lawful fence damaged by wildlife, but owners of known fence-breakers are liable.
Roads. Ohio bars livestock at large on roads. A 2021 compilation reports: Florida owners are liable if they negligently permit livestock on a road; Missouri owners are not liable if the animal was out through no fault of theirs; Idaho open-range owners have no duty to keep animals off the highway; Montana limits liability to gross negligence outside interstates; Texas makes knowingly permitting livestock on a US or state highway right-of-way a Class C misdemeanor.
Impounding. North Carolina lets any person impound livestock at large and recover costs and damages.
Boundaries, spite fences and zoning
Fence viewers decide fence disputes, not boundaries. A fence's location does not by itself set the boundary. Iowa recognizes a boundary by acquiescence after 10 years of mutual recognition. Wisconsin requires a misplaced fence to be relocated within 30 days of written notice, not during an annual crop. For a real boundary question, hire a licensed surveyor.
Spite fences. Maine treats a fence unnecessarily exceeding 6 feet, kept maliciously to annoy a neighbor, as a private nuisance. A Vermont supreme court case ordered a 6-foot stockade fence cut down.
Zoning. Ohio townships may not regulate agriculture on lots over 5 acres or require a zoning certificate for agricultural buildings, but can regulate inside platted subdivisions on smaller lots. Jefferson County, Colorado, caps fences at 7 feet in agricultural zones and bars electric fence as a perimeter on lot lines against residential zones. Santa Cruz County, California, caps most front-yard fences at 3 feet but allows agricultural fencing to 6 feet in agricultural zones. Only two county codes were read; call your county zoning office.
Deer. Ohio and Florida issue deer damage permits on application; they are not guaranteed.
Dog liability for guardian dogs. See the predator sections of the Livestock fencing and predator protection lesson.
Sources: Ohio Legislature, North Carolina General Assembly and 20 more
- Ohio Legislature. Ohio Revised Code 951.02 Animals running at large on public roads, grazing on another's land
- North Carolina General Assembly. North Carolina General Statutes Chapter 68 (Fences and Stock Law), Articles 1-3
- University of Maryland Extension. Understanding Agricultural Liability: Maryland Fencing Law (EB-419)
- National Agricultural Law Center. States' Fence Statutes: Georgia (O.C.G.A. 4-3-1 to 4-3-12; 50-16-103), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Tennessee (T.C.A. 44-8-101 to 44-8-407; 44-21-103; 65-6-301 to 303), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Missouri (RSMo 267.430, 270.010-270.260, 272.010-272.370, 537.350 and others), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Oklahoma (4 O.S. 85.1-99, 132-156; 66 O.S. 141-147; 21 O.S. 1791), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Minnesota (Minn. Stat. 344.01-344.20, 346.01-346.18, 561.07-561.09 and others), National Agricultural Law Center
- Tiffany Dowell Lashmet, Texas A&M AgriLife Extension. Overview of Texas Fencing Laws (State Bar of Texas 13th Annual John Huffaker Agricultural Law Course, Chapter 3, May 2019)
- Arizona Legislature. Arizona Revised Statutes 3-1427 (Recovery for damage to unfenced lands; exception)
- Colorado Department of Agriculture, Brands. Open Range and Fencing
- Washington State Legislature. Revised Code of Washington chapters 16.60 (Fences), 16.04 (Trespass of Animals) and 16.24.010 (Stock restricted areas)
- National Agricultural Law Center. States' Fence Statutes: New Mexico (NMSA 66-7-363; 77-12-1 to 77-12-12; 77-13; 77-14; 77-16), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Oregon (ORS 96.010-96.060; 607.005-607.992; 608.015-608.990), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Idaho (Idaho Code 25-2101 to 25-2409; 35-101 to 35-305; 40-2310 to 40-2317; 62-405 to 62-1207), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Montana (MCA 27-1-724; 60-7-201 to 205; 70-16-201 to 210; 81-4-101 to 81-4-620 and others), National Agricultural Law Center
- Virginia Cooperative Extension. An Overview of Virginia Fence Law (Augusta County handout)
- National Agricultural Law Center. States' Fence Statutes: Virginia (Va. Code 33.2-110 to 112; 55.1-2800 to 55.1-2834; 56-429 to 56-440), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Utah (U.C.A. 4-25-101 to 4-25-401; 4-26-101 to 4-26-104; 41-6a-407 to 408; 56-1-12 to 13; 56-2-6 to 12), National Agricultural Law Center
- Idaho State Legislature. Idaho Statutes 35-102 (Lawful fences described)
- Missouri Revisor of Statutes. Missouri Revised Statutes 272.020 (Fencing requirements)
- Iowa Legislature. Iowa Code chapter 359A (Fences), Iowa Code 2026
- Ohio Legislature. Ohio Revised Code Chapter 971 (Fences) and section 971.02 preferred partition fence
- Ohio State University Extension. Ohio Line Fence Law (OSU Agricultural and Resource Law Program fact sheet, April 2009)
- National Agricultural Law Center. States' Fence Statutes: Arizona (A.R.S. 3-1401 to 3-1429; 3-1701 to 3-1704), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Colorado (C.R.S. 35-43-125; 35-44-101 to 114; 35-46-101 to 114; 35-47; 40-27), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Florida (Fla. Stat. 588.01-588.25, 707.18-707.21, 768.12, 810.115), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Maine (23 MRSA 6009 and 6021-23; 30-A MRSA 2951-66; 7 MRSA 4015, 4020, 4041, 4042), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: New York (N.Y. Town Law 300-327 and Railroad Law 52), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Wisconsin (Wis. Stat. 90.01-90.21, 101.18, 172.01-172.57 and others), National Agricultural Law Center
- Minnesota Pollution Control Agency. Minnesota Statutes 344.03 (Expense; equal shares, partition fences)
- National Agricultural Law Center. States' Fence Statutes: Pennsylvania (3 P.S. 581-585; 29 P.S. 31-32, 41-42; 35 P.S. 691.702), National Agricultural Law Center
- Iowa Legislature. Iowa Code chapter 169C (Trespassing or Stray Livestock), Iowa Code 2026
- National Agricultural Law Center. States' Fence Statutes: Texas (Agriculture Code ch. 143; Natural Resources Code 11.072-11.076; Transportation Code 251.009-251.010), National Agricultural Law Center
- University of Wisconsin Extension. Fences in Agricultural Areas, Fact Sheet No. 13 (UW-Extension Local Government Center, Dec 2011)
- Iowa State University Extension. Iowa Court Rejects Claim of Boundary by Acquiescence (Behnke v. Fitzpatrick, Iowa Ct. App. Nov. 4, 2020)
- Maine Legislature, Office of the Revisor of Statutes. Maine Revised Statutes Title 17, section 2801 (Spite fences)
- Iowa State University Extension. Boundary Dispute Turns Ugly and Bizarre - Standard for 'Spite Fence' Established (Obolensky v. Trombley, Vt. Sup. Ct.)
- Ohio Legislature. Ohio Revised Code 519.21 (Powers not conferred on township zoning commission - agricultural exemption)
- Jefferson County, Colorado Planning and Zoning. Jefferson County (Colorado) Zoning Resolution Section 33 - Agricultural District (A-1, A-2, A-35), amended 7-17-18, fence provisions
- County of Santa Cruz. Fences and Retaining Walls (Santa Cruz County Code 13.10.525 summary), including agricultural fencing
- Ohio Department of Natural Resources, Division of Wildlife. Deer Damage Complaint Procedure (Ohio Deer Damage Control Permit, OAC 1501:31-15-08)
- Florida Fish and Wildlife Conservation Commission. Deer Depredation Permits (Florida Fish and Wildlife Conservation Commission)
- Washington State Legislature. Revised Code of Washington chapter 16.08 (Dogs) - liability for dog bites and injury to stock
- Florida Legislature. Florida Statutes chapter 767 (Damage by Dogs; Dangerous Dogs), 2025 Florida Statutes
Electric fence rules
Only a few states regulate electric-fence controllers, and no state livestock-fence statute read requires warning signs (read 2026-10-05).
| State | Rule |
|---|---|
| Virginia | Agricultural electric fence only with a UL 69 or IEC 60335-2-76 controller, one controller per connected fence, grounded; Class 1 misdemeanor |
| California | Controller must meet NEC, IEC or UL standards; cities and counties may require permits |
| Maine | UL-approved controller; fine up to $100 or 90 days |
| Wisconsin | Install per manufacturer's instructions; a 2-strand electric fence is a legal fence only by written agreement of the neighbors, top wire 34 to 36 inches |
| Montana | Legal electric fence: 3 strands of 12.5-gauge high-tensile steel, posts averaging 50 feet apart, charger at least 0.5 joule |
| Kansas | One 14-gauge wire at or under 48 inches if fence viewers agree; not in contact with utility lines |
| Florida | Battens up to 150 feet apart for electric fence |
Signs are advised: every 200 feet or closer near roads (Oregon, Washington and Idaho extension), and signs that warn children and visitors (Montana FWP). A Colorado county bars electric fence as a perimeter fence on lot lines next to residential zones. Bees: a bee-yard bear fence needs at least 4,000 volts, 3 ground rods of 6 feet at 10 feet apart and hives 3 feet inside the wires (Minnesota DNR).
Sources: Virginia General Assembly / Virginia Law, California Legislative Counsel and 11 more
- Virginia General Assembly / Virginia Law. Code of Virginia, Title 55.1, Chapter 28, Article 1: Electric Fences (sections 55.1-2800 to 55.1-2803)
- California Legislative Counsel. California Food and Agricultural Code, Division 9, Part 1, Chapter 8: Electrified Fences (sections 17150-17153)
- Maine Legislature, Office of the Revisor of Statutes. Maine Revised Statutes, Title 17, section 3956: Electric fences
- Wisconsin Legislature. Wisconsin electric fence law: Wis. Stat. 101.18, Wis. Admin. Code SPS 316.023, and Wis. Stat. 90.02(1m)(i)
- Montana Legislature. Montana Code Annotated 81-4-101: Legal fences defined (electric fence specification)
- Kansas Office of the Revisor of Statutes. Kansas Statutes 29-109: Electric fence deemed legal fence; construction and composition
- Florida Legislature. Florida Statutes 588.011: Legal fence; requirements
- Oregon State University Extension. Building an Electric Antipredator Fence (PNW 225, revised July 2002)
- Montana Fish, Wildlife and Parks. Deterring Bears with Electrified Fencing: A Beginner's Guide (version 5.0, April 2025)
- Michigan State University Extension. Considerations for Selecting and Installing an Electric Fence Charger (MSU Extension Bulletin E3470, May 2022)
- Jefferson County, Colorado Planning and Zoning. Jefferson County (Colorado) Zoning Resolution Section 33 - Agricultural District (A-1, A-2, A-35), amended 7-17-18, fence provisions
- Minnesota Department of Natural Resources. Prevent Damage to Beehives with an Energized Fence: A beekeeper's guide to developing a cost-effective, energized fence to protect beehives from black bears
- Published research. Electric fence standards comport with human data and AC limits (Kroll, Perkins, Panescu; EMBC 2015)
- Published research. Safety of a High-Efficiency Electrical Fence Energizer (Kroll et al., EMBC 2020)
- Published research. Electric fences and accidental death (Burke, Odell, Bouwer, Murdoch; Forensic Science, Medicine, and Pathology 2017)
Common mistakes
Skipping 811. A post hole can hit a gas line.
Undersized corner posts and no braces. Wire pulls 3,000 pounds, 4,500 in cold.
Landscape timbers or 0.25 treated lumber in the ground.
Stapling woven-wire stays or driving staples tight.
Barbed wire for goats, sheep or horses.
Gates wider than 14 feet on one post.
Using a tractor to stretch wire.
Assuming your neighbor will pay half. Cost-sharing rules differ and Texas has none.
Building on a line without a survey.
Forgetting to re-tension in spring.
Sources: Iowa Legislature, Washington State Legislature and 8 more
- Iowa Legislature. Iowa Code Chapter 480, Underground Facilities Information
- Washington State Legislature. Revised Code of Washington chapter 19.122 (Underground Utilities)
- University of Georgia Extension. Fences for Horses (Bulletin 1192, full review 31 May 2024)
- University of Georgia Extension. Fences for the Farm (Circular 774, J. W. Worley, full review 12 Mar 2024)
- USDA NRCS Maryland. Conservation Practice Specifications: Fence, Code 382 (NRCS Maryland, June 2016)
- University of Tennessee Agricultural Extension Service. Planning and Building Fences on the Farm (PB1541)
- University of Kentucky Extension. Farm Gates: Design Considerations (AEN-137, revised April 2024)
- University of California Agriculture and Natural Resources. Safety Note #40: Fence Safety (October 2004)
- Tiffany Dowell Lashmet, Texas A&M AgriLife Extension. Overview of Texas Fencing Laws (State Bar of Texas 13th Annual John Huffaker Agricultural Law Course, Chapter 3, May 2019)
- Ohio State University Extension. Ohio Line Fence Law (OSU Agricultural and Resource Law Program fact sheet, April 2009)
- University of Wisconsin Extension. Fences in Agricultural Areas, Fact Sheet No. 13 (UW-Extension Local Government Center, Dec 2011)
Troubleshooting
| Problem | What to try |
|---|---|
| Posts heave in spring | Set deeper below frost, use a collar in wet or sandy soil |
| Gate sags | Bigger, deeper hanging post; through-bolt hinges; brace the gate frame; replace an economy gate (3 to 5 years) |
| Wire sags or snaps | Re-tension each spring; check for corner-brace slip; replace Class 1 wire |
| Fence floods out | Single-strand high-tensile and hanging flood gates in flood zones |
| Rocky ground | Drill, set steel pipe in cracks or use concrete buckets |
| Livestock escaped onto a road | Notify authorities, fix the fence, check your state's liability rule |
| Deer jump the fence | Eight feet, or electric with a baited training period |
| Neighbor disputes the line | Hire a surveyor; fence viewers do not decide boundaries |
| Dog digs under | Buried apron 8 in or a galvanized apron at least 15 in wide (Maine) |
Sources: Penn State Extension, University of Georgia Extension and 7 more
- Penn State Extension. Fence Planning for Horses (updated May 23, 2016)
- University of Georgia Extension. Fences for the Farm (Circular 774, J. W. Worley, full review 12 Mar 2024)
- University of Kentucky Extension. Farm Gates: Design Considerations (AEN-137, revised April 2024)
- University of Tennessee Agricultural Extension Service. Planning and Building Fences on the Farm (PB1541)
- Penn State Extension. Stream Bank Fencing: Green Banks, Clean Streams
- Ohio State University Extension. Construction Specifications: Fence, Woven Wire (NRCS Alabama CS-382, July 2007), OSU Guernsey County copy
- National Agricultural Law Center. States' Fence Statutes: Florida (Fla. Stat. 588.01-588.25, 707.18-707.21, 768.12, 810.115), National Agricultural Law Center
- National Agricultural Law Center. States' Fence Statutes: Missouri (RSMo 267.430, 270.010-270.260, 272.010-272.370, 537.350 and others), National Agricultural Law Center
- Penn State Extension. White-tailed Deer in Home Fruit Plantings (updated June 29, 2026)
- Montana Fish, Wildlife and Parks. How to Build Fence with Wildlife in Mind / A Landowner's Guide to Wildlife Friendly Fences (2nd ed. 2012)
- University of Wisconsin Extension. Fences in Agricultural Areas, Fact Sheet No. 13 (UW-Extension Local Government Center, Dec 2011)
- Maine Department of Inland Fisheries and Wildlife. Fencing: How to Avoid or Resolve a Wildlife Conflict
Resources
- ResourceFences for the Farm (University of Georgia Extension)Fence types, posts, braces and costs compared.
- ResourcePasture Fence Construction Budget (University of Missouri Extension)Per-foot costs and labor hours for woven, barbed, electric and portable fence.
- ResourceFarm Gates: Design Considerations (University of Kentucky)Gate openings, posts and hinges.
- Related guideLivestock fencing and predator protectionElectric fence, grounding, training and predator-proofing.
By zone
Frost depth sets how deep posts go in the cold zones, and humid climates rust wire faster than dry ones. Fence law changes by state and often by county.
- 3–4
- Frost heave and snow; deeper posts, retension each spring, winter contraction raises corner pull to 4,500 lb
- 5–6
- Frost heave in wet soils; same spring routine
- 7–8
- Less heave; humid regions rust wire faster (Class 1 about 6 years, Class 3 about 13)
- 9–10
- Dry-climate wire lasts about 11 years (Class 1) to 30 (Class 3)
- Northeast
- Maine and New York fence law (2021 compilation), Pennsylvania equal shares with December to March pause; Maryland closed range
- Southeast
- Closed range in North Carolina; Virginia county no-fence option; Florida lawful fence 3 feet; Georgia and Tennessee compilation
- Midwest
- Ohio, Iowa, Minnesota and Missouri statutes read; Wisconsin neighbor-agreement electric fence
- Southwest
- Open range; Arizona lawful fence; University of Arizona 8-foot deer fence and javelina barrier; rocky ground methods
- Pacific Northwest
- Washington lawful fence and half-value rule; wet ground shortens post life (Oregon posts); Oregon open range (2021 compilation)
- Mountain West
- Idaho 47-inch wire fence; Colorado open range and county rules; Montana legal electric fence; Wyoming and Montana wildlife-friendly fence heights; NRCS Montana payments
Where this comes from
Every fact in this lesson was checked against 96 published sources: 75 from extension services, the USDA and research journals and 21 from experienced growers and practitioners. Each section lists its own at the bottom.
See all 96 sources
- National Agricultural Law Center
- States' Fence Statutes: Georgia (O.C.G.A. 4-3-1 to 4-3-12; 50-16-103), National Agricultural Law Center
- States' Fence Statutes: Tennessee (T.C.A. 44-8-101 to 44-8-407; 44-21-103; 65-6-301 to 303), National Agricultural Law Center
- States' Fence Statutes: Missouri (RSMo 267.430, 270.010-270.260, 272.010-272.370, 537.350 and others), National Agricultural Law Center
- States' Fence Statutes: Oklahoma (4 O.S. 85.1-99, 132-156; 66 O.S. 141-147; 21 O.S. 1791), National Agricultural Law Center
- States' Fence Statutes: Minnesota (Minn. Stat. 344.01-344.20, 346.01-346.18, 561.07-561.09 and others), National Agricultural Law Center
- States' Fence Statutes: New Mexico (NMSA 66-7-363; 77-12-1 to 77-12-12; 77-13; 77-14; 77-16), National Agricultural Law Center
- States' Fence Statutes: Oregon (ORS 96.010-96.060; 607.005-607.992; 608.015-608.990), National Agricultural Law Center
- States' Fence Statutes: Idaho (Idaho Code 25-2101 to 25-2409; 35-101 to 35-305; 40-2310 to 40-2317; 62-405 to 62-1207), National Agricultural Law Center
- States' Fence Statutes: Montana (MCA 27-1-724; 60-7-201 to 205; 70-16-201 to 210; 81-4-101 to 81-4-620 and others), National Agricultural Law Center
- States' Fence Statutes: Virginia (Va. Code 33.2-110 to 112; 55.1-2800 to 55.1-2834; 56-429 to 56-440), National Agricultural Law Center
- States' Fence Statutes: Utah (U.C.A. 4-25-101 to 4-25-401; 4-26-101 to 4-26-104; 41-6a-407 to 408; 56-1-12 to 13; 56-2-6 to 12), National Agricultural Law Center
- States' Fence Statutes: Arizona (A.R.S. 3-1401 to 3-1429; 3-1701 to 3-1704), National Agricultural Law Center
- States' Fence Statutes: Colorado (C.R.S. 35-43-125; 35-44-101 to 114; 35-46-101 to 114; 35-47; 40-27), National Agricultural Law Center
- States' Fence Statutes: Florida (Fla. Stat. 588.01-588.25, 707.18-707.21, 768.12, 810.115), National Agricultural Law Center
- States' Fence Statutes: Maine (23 MRSA 6009 and 6021-23; 30-A MRSA 2951-66; 7 MRSA 4015, 4020, 4041, 4042), National Agricultural Law Center
- States' Fence Statutes: New York (N.Y. Town Law 300-327 and Railroad Law 52), National Agricultural Law Center
- States' Fence Statutes: Wisconsin (Wis. Stat. 90.01-90.21, 101.18, 172.01-172.57 and others), National Agricultural Law Center
- States' Fence Statutes: Pennsylvania (3 P.S. 581-585; 29 P.S. 31-32, 41-42; 35 P.S. 691.702), National Agricultural Law Center
- States' Fence Statutes: Texas (Agriculture Code ch. 143; Natural Resources Code 11.072-11.076; Transportation Code 251.009-251.010), National Agricultural Law Center
- Iowa Legislature
- Iowa State University Extension
- Estimated Costs for Livestock Fencing (Ag Decision Maker File B1-75, FM 1855, revised December 2024)
- Iowa Court Rejects Claim of Boundary by Acquiescence (Behnke v. Fitzpatrick, Iowa Ct. App. Nov. 4, 2020)
- Boundary Dispute Turns Ugly and Bizarre - Standard for 'Spite Fence' Established (Obolensky v. Trombley, Vt. Sup. Ct.)
- Ohio Legislature
- Penn State Extension
- Published research
- University of Georgia Extension
- USDA NRCS
- Washington State Legislature
- Florida Legislature
- Maine Legislature, Office of the Revisor of Statutes
- Montana Fish, Wildlife and Parks
- Ohio State University Extension
- Oregon State University Extension
- Washington State University Extension
- Arizona Legislature
- California Legislative Counsel
- Code of Federal Regulations (eCFR)
- Colorado Department of Agriculture, Brands
- Colorado State University Extension
- Cornell University
- County of Santa Cruz
- Florida Fish and Wildlife Conservation Commission
- Idaho State Legislature
- Jefferson County, Colorado Planning and Zoning
- Kansas Office of the Revisor of Statutes
- Maine Department of Inland Fisheries and Wildlife
- Michigan State University Extension
- Minnesota Department of Natural Resources
- Minnesota DNR Wildlife Damage Management Program
- Minnesota Pollution Control Agency
- Missouri Revisor of Statutes
- Montana Legislature
- NC State Extension
- North Carolina General Assembly
- Ohio Department of Natural Resources, Division of Wildlife
- Tiffany Dowell Lashmet, Texas A&M AgriLife Extension
- University of Arizona Extension
- University of California Agriculture and Natural Resources
- University of Kentucky Extension
- University of Maine Extension
- University of Maryland Extension
- University of Missouri Extension
- University of Tennessee Agricultural Extension Service
- University of Wisconsin Extension
- USDA Forest Service MTDC
- USDA Forest Service Rocky Mountain Research Station
- USDA NRCS Arkansas
- USDA NRCS Nebraska
- Utah State University Extension
- Virginia Cooperative Extension
- Virginia General Assembly / Virginia Law
- Wisconsin Legislature
- Wyoming Game and Fish Department
Summary
The whole lesson on one page. Print it or come back to it.
Key information
- Call 811 before you dig a post hole. Rules vary, so call and ask.
- Set corner and gate posts at least 3 1/2 feet deep, as big as you can set, and brace every corner. Stretched wire puts about 3,000 pounds of pull on a corner, rising to 4,500 pounds in winter cold.
- Use treated posts for ground contact: 0.4 pound per cubic foot or more. Builder's-store 0.25 lumber and landscape timbers are not acceptable.
- A gate opening is 14 feet. Wider strains the hanging post, so use two gates.
- Budget $2 to $4 a foot for permanent wire fence. Electric is the cheapest per foot and boards the dearest.
- Fence law is local. Find out whether your state is fence-in or fence-out and who pays for a line fence, and hire a surveyor for a real boundary question.
- Never use a vehicle or tractor to tighten wire. Wear long pants, leather gloves and safety glasses.
Step by step
- 1.Check your state and county fence law and zoning.
- 2.Call 811 and have utilities marked.
- 3.Plan a straight line with as few corners and gates as you can.
- 4.Set treated corner and gate posts deep, brace every corner, then stretch the wire.
- 5.Drive the hanging post, hang the gate, then drive the latching post.
Links to products
- Treated fence posts0.4 pound per cubic foot or more for ground contact.
- Steel T-posts with capsCapped so animals aren't impaled; add a wood post every third or fourth one.
- Woven wire, high-tensile wire or boardsChosen by the animal you are keeping in or out.
- Gate with through-bolt hingesA bigger, deeper hanging post is the cure for sag.
- Leather gloves and safety glassesFor handling wire under tension.
Made it to the end? I’ll keep track for you on this device.

