Electric fence
An electric fence is a barrier that keeps animals in or out by giving them a short, painful electric shock when they touch it. A device called an energizer sends brief pulses of high voltage along a bare wire held up on insulated posts. When an animal touches the wire, current flows through its body into the soil and back to the energizer, and the animal feels a shock.[1]
Animals learn to stay away from the wire, so an electric fence works as a learned, psychological barrier rather than a strong physical one.[1] This makes it cheaper and lighter to build than a traditional fence. It is widely used in agriculture to hold livestock and divide pastures,[2] and to keep wild animals away from crops, beehives, and farm animals.[3][4]
How it works
An electric fence is an open electrical circuit that an animal closes. The energizer has two terminals. One connects to the fence wire, called the hot wire, and the other connects to metal ground rods driven into the soil.[1][5]
- The energizer sends a pulse from its output terminal onto the hot wire.
- An animal touches the wire and becomes a bridge between the wire and the soil.
- Current flows through the animal into the soil.
- The soil carries the current to the ground rods, which lead back to the energizer's ground terminal.
- The circuit is complete, and the animal feels a shock.[1]
Pulses, not steady current
The energizer gives the shock in short pulses, not as a steady current. Sources give these typical values:
| Property | Typical value |
|---|---|
| Voltage on the fence | Over 5,000 V[1]; usually 2,000 to 6,000 V[5] |
| Current | Virginia Tech gives less than 300 mA.[1] Peak current within a pulse can reach several amperes; one energizer model measured 12 A into a 500 Ω test load.[6] |
| Length of one pulse | 1/300 of a second or less[1]; under 3/10,000 of a second for most modern units[5] |
| Time between pulses | 1 to 2 seconds[5] |
The short pulse gives a strong shock while keeping the fence safe.[1] Pulses this brief and this far apart leave too little "on" time for heat to build, so they almost never start a fire near dry plants.[5]
Parts of an electric fence
- Energizer (also called a charger or controller). It turns power from a wall outlet (mains power), a battery, or a battery charged by a solar panel into high-voltage pulses.[5][2]
- Lead-out cable. It carries pulses from the energizer to the fence. Insulated cable made for the purpose is needed where it runs through buildings or under gates.[1]
- Conductors. These are the wires, tapes, or nets that carry the pulse along the fence.[1][5]
- Posts and insulators. They hold the wire so it cannot touch anything that leads to the ground. Wood and metal posts need insulators, while fiberglass and plastic posts can hold the wire directly.[3]
- Ground system. Ground rods in the soil connect to the energizer's ground terminal.[1]
- Accessories. These include a voltage tester, a surge protector against lightning, insulated gate handles, and warning signs.[3]
Conductors
The choice of conductor trades strength and conductivity against ease of moving.
| Conductor | Typical use | Notes |
|---|---|---|
| 12½ gauge high-tensile smooth steel wire, galvanized | Permanent fences | Low resistance; rust or flaking coating makes it a poor conductor[1] |
| Polywire and polytape | Temporary fences | Plastic with thin metal strands; more resistance than a single steel wire, so voltage drops with distance[1][5] |
| Electric netting | Poultry, predators | Smaller gaps than wire, tape, or rope; costs more[3] |
| Aluminum-coated lead-out cable | From energizer to fence | About three times as conductive as galvanized steel wire[1] |
Grounding
Michigan State University Extension says an energizer is only as effective as the grounding system installed with it.[7] Dry, sandy, or rocky soil raises resistance and weakens the shock.[5]
A common rule ties the amount of ground rod to the energizer's output in joules.[7]
- Install at least 3 feet of ground rod per joule of output. A 15-joule energizer needs at least 45 feet of rod.
- Space the rods at least 10 feet apart.
- Match the connecting wire to the rod metal, usually galvanized steel or copper.
Mixing metals, such as steel wire on copper, causes corrosion that weakens the fence.[7][3]
Three ground layouts
Where the soil is often dry, the soil alone may not carry enough current back to the energizer. Fence builders then add a ground wire to the fence itself. Virginia Tech Extension describes three layouts.[1]
| Layout | How the current returns | Where it helps |
|---|---|---|
| Ground-rod system | Through the soil to a set of ground rods at the energizer | Moist soils, such as much of the eastern US |
| Continuous ground | Through a non-electrified ground wire on the fence, wired to the energizer's ground terminal; the animal must touch the hot and ground wires together | Dry soils |
| Earth return | Through a ground wire on the fence that has its own ground rods, which send current through the soil to the energizer's ground rods | Dry soils; still works through the soil alone when it is moist |
Training animals and placing wires
An electric fence works because animals learn to avoid it. Farmers train livestock by giving them a first, memorable shock in a calm setting, such as a small pen near feed or water where they are sure to touch the wire. The fence should read at least 5,000 volts during training.[1]
Well-trained animals usually keep respecting the fence. Many producers report that if they keep fences at 3,000 to 5,000 volts for cattle or 7,000 volts for sheep, the animals respect the fence even when the power is off for a while.[1]
Wire height
Wires should sit where the animal will be shocked on the face. On fences with several wires, wires are usually no more than 10 inches apart. Wider gaps let an animal put its head through and get shocked on the chest or neck, which makes it lunge forward through the fence.[1]
How animals differ
Species differ in how strongly they feel the shock. One fence supplier ranks them from most to least affected as pigs, horses, cattle, dogs, raccoons, sheep, goats, deer, geese, chickens, and rabbits.[5] Dry hair and wool conduct poorly, and heavy animals tend to feel more because their weight presses the topsoil and lowers its resistance.[5]
Uses
Livestock and grazing
Electric fences have changed how livestock are grazed. Light, movable fences make it easy to give animals one strip of a field at a time, which reduces trampling and waste.[2] New Zealand farmers call this break-feeding, and it is part of intensive and rotational grazing.[2][8]
Farmers also run a single electric wire alongside many conventional fences. This offset wire protects the main fence.[8]
Wildlife
Electric fences protect crops, beehives, and animals from wild animals, a common source of human-wildlife conflict.
- Deer. Fences, some with a single strand, are meant to teach deer to avoid the fence and the food behind it. Some designs coat the wire with peanut butter to lure deer into touching it.[4]
- Bears. Vermont Fish and Wildlife says an electric fence is not effective against bears unless baited with food such as peanut butter or bacon grease. It recommends at least four strands and an energizer of at least 0.7 joules.[3]
Electric fences also cut collisions between vehicles and livestock, which has saved lives, according to a 2015 paper by Kroll and colleagues.[9]
Security
Electric fences are also used to guard property against crime.[6] The main safety standard has separate rules for energizers used in security fences.[10]
Advantages and drawbacks
Electric fences cost less to build because they do not need to be a heavy physical barrier. They need fewer posts and wires and less labor to put up.[2] A 1988 history by V. Jones of the Gallagher Group estimated that one electrified wire could control dairy cows at a sixth of the cost per kilometer of a five-wire fence without power.[8]
The main drawback is upkeep. Any loss of voltage weakens control of the animals, faults can be hard to find, and fences need regular checks, so they take more maintenance labor than traditional fences.[2]
Resistance and leakage
The strength of the shock depends on the resistance of every part of the circuit. Each part resists the flow of current: the lead-out cable, the fence wire, the animal, the soil, and the ground rods.[1]
A simple model treats these parts as resistors in series. In series, resistances add, and Ohm's law gives the current.[11]
Here is the voltage the energizer puts on the wire, is the current through the animal, and each is the resistance of one part, in ohms.
Where resistance builds up
The model shows why a weak link anywhere weakens the shock.[1]
- Wire. Thin polywire and rusty wire add resistance, so voltage falls farther from the energizer. Joining all hot wires at the start and end of each run gives the pulse more paths.
- Animal. An animal's resistance is generally low.
- Soil. Resistance depends on soil moisture and minerals, so a fence that works in spring may fail in a drought.
- Ground rods. A poor ground system can be a large resistance. Adding and properly installing rods is a main way to improve a fence.
Leakage
Leakage is current that escapes to the soil before it reaches an animal. Wet weeds touching the wire and poor insulators are the usual causes. Low wires lose much more to weeds than wires set high off the ground.[5]
Leakage can matter more than fence length. A fence supplier notes that even small energizers can power long fences that have no leaks. A quarter mile of weed-covered fence 6 inches above wet soil may drain more energy than a 3-joule energizer can supply.[5]
Inside the energizer
Storing and releasing energy
A traditional energizer charges a capacitor and then dumps its energy into a step-up transformer. The transformer's output winding delivers the pulse to the fence wires.[6]
The energy stored in the capacitor before each pulse is
where is the energy in joules, is the capacitance in farads, and is the voltage across the capacitor in volts.[12] Not all of it reaches the animal. Sparks to plants or between wires can greatly reduce the charge delivered to the fence.[6]
Joule ratings
Energizers are sized by output energy per pulse, in joules. This rating sets how many ground rods are needed[7] and whether the fence will stop a given animal.[3] A supplier warns that "miles of fence" ratings can mislead, because they often assume a single wire high off the ground with no weeds touching it.[5]
Output has grown over time. Jones described Doug Phillips's Waikato energizer as giving 2,500 volts and about 2 joules, compared with 6,000-volt, 20-joule energizers in 1988.[8]
Output impedance
Output impedance is the energizer's own opposition to current, and it decides how well the fence voltage holds up when the fence draws a lot of current. Early American chargers had high output impedance on purpose, to limit current for safety.[8]
A real fence under a fast pulse is not a simple resistor. It has capacitance, inductance, and the behavior of a transmission line. On a straight fence longer than 1 km, the impedance the energizer sees approaches that of free space, about 377 Ω.[6]
This pulse behavior explains how fence length and leakage affect each energizer type.
- High-impedance energizers. On a short, well-insulated fence, the pulse reflects back along the wire, and the voltage can build up to the energizer's open-circuit voltage. On a long fence, or one with normal farm leakage, the voltage is usually too low to control even quiet dairy cows.[8]
- Low-impedance energizers. They keep delivering high energy on a long fence or one with many leaks. With modern capacitors and electronic switches, they can power hundreds of kilometers of fence.[8]
Continuous-output chargers
Some chargers give a continuous output instead of separate pulses. Because of fire risk, a supplier warns against using them with netting, rope, twine, or tape that contains plastic.[5]
Safety and standards
A fence shock is meant to be painful but well below the level that causes ventricular fibrillation, a deadly heart rhythm.[6] Deaths linked to farm electric fences are very rare.[13]
Output limits
The main international standard is IEC 60335-2-76; in the United States the standard is UL 69.[9] The European version measures energy and peak current in a "standard load" whose resistor is set anywhere from 50 Ω to 500 Ω, whichever gives the worst result. The routine factory test uses a 500 Ω load.[10]
| Limit (EN IEC 60335-2-76/A11) | Value | Measured in |
|---|---|---|
| Pulse rate | No more than 1 per second | 500 Ω load (routine test) |
| Pulse length | No more than 10 ms | 500 Ω load (routine test) |
| Energy per pulse | No more than 5 J | Standard load, 50 Ω to 500 Ω; also the 500 Ω routine test |
| Peak current | Above 20 A for no more than 200 µs per pulse in total | Standard load, 50 Ω to 500 Ω |
The values are from EN IEC 60335-2-76:2021/A11:2021, which also limits security energizers to 1 pulse per second, 10 ms, and 5 J in a 500 Ω load.[10] The same document allows time-delayed energizers. When they sense a very low load for a set delay time, such as a heavily shorted fence, their output may rise above 5 J.[10]
Kroll and colleagues used test loads from 400 Ω, for a barefoot child touching the fence with the chest, up to 2,000 Ω, for an adult merely touching it.[6]
Charge versus energy
Some researchers argue that the limits measure the wrong quantity. Mark Kroll and colleagues write that charge is what stimulates nerves, while energy is what causes burns.[6] Early limits were set in charge, but the IEC standard dropped its charge-based limit in 1989 in favor of a pure energy limit.[6]
- About 0.2 millicoulombs (mC) per pulse is known to be unpleasant to adults.[6]
- A proposed level for "low risk of fibrillation" is 4 mC per pulse.[6]
- A 2015 analysis found the normal-rate IEC and UL limits stricter than human laboratory data require.[9]
Injuries and deaths
Several deaths have involved fences that broke safety rules, including children's deaths.[6] Home-made fences fed with continuous mains power caused fatal accidents in the 1930s.[8]
A correctly installed fence can still be dangerous to small children. A fence supplier reports that in 1991 a young child died after the child's head touched a working fence with a UL-approved energizer while crawling on wet grass. It advises keeping toddlers away from electric fences and says contact with the head and neck may be the most dangerous.[5]
History
Early attempts
Electric fencing was tried on Texas ranches in the 1880s. In 1888, D. H. Wilson of the United States Electric Fence Company contracted to fence a pasture on the XIT Ranch, with a water-powered generator charging the top two wires of a four-wire fence. Cowboys doubted it, and the venture proved impractical.[14]
Pulsed fence chargers took off in the United States in the 1930s. Jones dates their sale there to the early 1930s and gives an estimate of seventy thousand in use by 1938.[8] Deaths from fences carrying continuous mains power helped make pulse energizers popular.[6]
First safety limits
Regulators soon set limits in terms of charge per pulse. In 1939, Whittaker of Underwriters Laboratories proposed 4 mC. The Industrial Commission of Wisconsin and the US National Bureau of Standards adopted 3 mC, as did most countries.[6]
New Zealand and low-impedance energizers
The electric fence was not a New Zealand invention, but New Zealand farmers and inventors led its development.[2] Jones writes that in 1936 Bill Gallagher Sr. read about American energizers and built one for the dairy cows on his farm, then began making them for sale in 1938.[8] Te Ara credits Gallagher and Herbert Christie, working separately, with building energizers about 1938, while William Riddet studied the idea at Massey Agricultural College.[2]
Permanent electric fencing came later. Massey ran trials of permanent electrified fences in 1958.[2] Around the same time, Doug Phillips at the Ruakura Agricultural Research Centre developed a safe, high-energy, low-impedance energizer. He showed it working on fences without insulators, and he patented it in 1963.[8]
References
- Electric Fencing: How Does an Electric Fence Work? (SPES-688P), Matt Booher, Virginia Cooperative Extension, Virginia Tech, 2025.
- Farm fencing: High-tensile and electric fencing, Robert Peden, Te Ara: The Encyclopedia of New Zealand, 2009.
- Protect Your Property with a Zap, Vermont Fish and Wildlife Department.
- Electric Fences for Preventing Browse Damage by White-tailed Deer (FNR-136), Purdue Extension.
- Electric Fence Energizers: The Basics, Premier1Supplies.
- Safety of a High-Efficiency Electrical Fence Energizer, Kroll et al., IEEE Engineering in Medicine and Biology Conference, 2020.
- Grounding the electric fence, Kable Thurlow, Michigan State University Extension, 2013.
- 50 Years of Power Fencing, V. Jones, Proceedings of the New Zealand Grassland Association 49:145-149, 1988.
- Electric fence standards comport with human data and AC limits, Mark W. Kroll, Peter E. Perkins, Dorin Panescu, IEEE Engineering in Medicine and Biology Conference, 2015.
- EN IEC 60335-2-76:2021/A11:2021, Particular requirements for electric fence energizers (preview), CENELEC, 2021.
- Resistors in Series and Parallel, University Physics Volume 2, OpenStax, 2016.
- Energy Stored in a Capacitor, University Physics Volume 2, OpenStax, 2016.
- Electric fences and accidental death, Burke et al., Forensic Science, Medicine and Pathology, 2017.
- Electric Fence, Handbook of Texas Online, Texas State Historical Association, 1995.
