Advertisement

Bill Gallagher senior, the Waikato horse called Joe and the fence that changed farming

Electric fence

The family story has been told so many times, by so many family members, in so many different rooms, that you can probably reconstruct it without anyone present. There is a small dairy farm at Horsham Downs, near Horotiu, fifteen minutes north of Hamilton. There is a shed where two brothers, Bill and Henry Gallagher, are working on a motorbike. There is a horse, an old gelding called Joe, with an itch on his rump and the conviction that the family Essex makes a perfectly good scratching post. Each time Joe leans on the car, the suspension rocks, and the paint comes off another fraction. It is somewhere between 1936 and 1937. Bill Gallagher, twenty-five years old and well past the limit of his patience, takes the magneto off Henry’s motorcycle, wires it to a triggering device, and connects the device to the car.

The next time Old Joe leans on the Essex, the Essex bites him. He does not lean on it again. The car is, very briefly, the safest piece of machinery in the Waikato.

Advertisement

Most New Zealanders, told that story, smile at it and forget it. Bill Gallagher did neither. He looked at the Essex, looked at the horse standing a respectful distance away, and asked the question that practical men ask when something works. If it does that to a horse, he reasoned, in essence, it could do that to a fence. Within a year he had built the country’s first electric fence. Within two he had sold the first ones to local farmers. Within fifty he had founded a company that would, by the time his grandchildren were running it, ship more permanent electric fence systems than any other manufacturer on earth.

The electric fence is one of those quiet inventions whose effect on the country was so deep, and so gradual, that nobody really notices it any more. Drive any rural road in New Zealand and the fences are everywhere — thin lines of bright wire, slack on light standards, separating one paddock from another with no apparent fortification at all. The shorthand history says they came from a Hamilton man with a horse and a Model T. The actual history is more interesting, and the man at the centre of it deserves the longer telling.

The Waikato childhood, and a brother called Henry

Alfred William Gallagher was born in Hamilton on 17 May 1911, the eldest of the six children of Alfred John Gallagher, a dairy farmer, and his wife Sarah Matilda Clow. The family farmed first at Horotiu, on the Waikato River north of Hamilton, and then in 1920 moved to a larger property at Papāmoa, on the Bay of Plenty coast. Bill went to the local primary school, did the standard country-boy education of his generation, and went to work full-time on the home farm in 1926, at the age of fifteen.

Advertisement

He was, by every account anyone ever set down, no good at being a dairy farmer. He found the work tedious. He found the routine intolerable. He was the kind of teenager who would rather take a flat-iron apart at the kitchen table than milk twenty cows in the dark. His son Bill, sixty years later, would put it as bluntly as a son was ever going to. Father believed milking cows was the last job the good lord made, Sir William Gallagher told the New Zealand Herald, and he wasn’t that enthusiastic about it.

The thing he was good at — and the thing his closest brother Henry was also good at — was making things. Through the late 1920s and into the 1930s the two of them built farm gear. They built a top-dresser. They built fertiliser spreaders. They worked on engines, on tools, on whatever was broken in the shed that morning. They had the kind of older-brother / younger-brother engineering partnership in which one of them always had the next idea and the other one always had the patience to make it work.

Advertisement

In 1936, when his father sold the Papāmoa property, Bill took his share of the proceeds and used it as a deposit on 98 acres at Horsham Downs, near Horotiu. He had met a Te Puke woman called Millicent May Murray through church, and he married her at Te Puke on 29 April that same year. Before long there were children — eventually five of them, the eldest a son called William who would arrive in 1941 and inherit, in time, both the company and his father’s first name.

The shed at Horsham Downs

The story of how Bill Gallagher came to electrify a horse begins, depending on which version you read, with a motorcycle or with the car itself. The most carefully recorded version, in the family’s own telling, has the brothers working on Henry’s motorcycle in the shed when the horse wandered in, made for the car, and started his daily flank-rub. Bill, momentarily diverted from the motorcycle, took its magneto — the small device that generates the high-voltage spark for an internal-combustion engine — wired it through a triggering mechanism to the bodywork of the Essex, and waited.

The trigger was crude but elegant. Whenever Joe leaned hard enough on the car to rock its springs, a contact closed and the magneto pulsed. The pulse was high voltage and very short, of the order of a fraction of a second, and the current was tiny — small enough to be unpleasant rather than dangerous. The horse received exactly one lesson and learned it for life.

Bill saw at once that the same idea could be applied to a wire instead of a car body. The trick was simply to put a high-voltage, short-duration pulse onto a single strand and connect a return path through the ground. An animal completing the circuit — touching the wire while standing on damp earth — would receive a brief shock that would startle it without harming it. The wire would do nothing the rest of the time. There would be no wooden post, no batten, no eight-wire post-and-batten fence at all. Just one strand on light insulators, a battery in a box, and a steel earth peg in the ground.

The first prototypes were built in 1937 on the Horsham Downs farm. The technical heart of the original Gallagher fence was very close to the heart of a 1930s motor car — an automotive ignition coil, the same component that fires a spark plug, used to step the battery’s voltage up into the kilovolts. Around the coil was a timing mechanism that made the pulse come on for only a few hundred microseconds at a time, several times a second, with long quiet gaps in between. Some of his earliest energisers used a mercury switch on a small motor: a horizontal glass tube of mercury, rocked side to side, made and broke contact each time the metal liquid sloshed from one end of the tube to the other. It was the kind of solution that worked for years and looked, when you opened the casing, almost ridiculous. The principle, though — high voltage, low energy, very short pulse, well-earthed return — is the principle of every electric fence on every farm in the world today.

His first instinct, naturally enough for a man with the mains coming into his shed, was to wire about a mile of fence on the Horsham Downs farm directly to the wall socket. The local electrical inspector, equally naturally, came to see him and ordered the connection broken. The Electrical Wiring Regulations of the day did not allow private citizens to send mains voltage out into the paddocks where children and dogs and other people’s stock might wander into it, and would not allow them to do so for the next quarter-century. Bill rebuilt his energiser around a six-volt car battery, which solved the legal problem and introduced a new mechanical one — the original coil tended to short out under heavy duty — which he in turn solved by re-winding the coil with heavier wire. By the end of 1937 he had a battery-powered, weather-proof, farm-ready electric fence. By 1938 he was selling them.

The early sales method was, in keeping with the man and the era, conducted at the back door. He would drive out to a Waikato farm, talk to the farmer, set up a demonstration in the home paddock with a length of wire and a couple of insulators, and let the farmer’s own stock teach the farmer the lesson. Most farmers bought one. The price was something like a fifth of the cost of a conventional eight-wire fence, and the saving in posts and battens and labour, on a country where every hour of farm work was being done by hand, was decisive. For about a quarter of the price of conventional fencing, Sir William Gallagher would later tell the Herald, you could now manage grass, with new grass each day.

What Bill had stumbled into, although he probably did not phrase it this way at the time, was a transformation of how New Zealand pastoral farming actually worked. Once a farmer could subdivide a paddock cheaply and quickly, the farmer could rotate stock across small temporary breaks of grass, give each break a few hours, and move them on. Animals ate fresh feed; the grass had time to recover behind them; production per hectare went up. Two generations later this technique would be the standard way New Zealand dairy farms were run, the basis for an entire export industry, and a model studied around the world. It started in a Horotiu paddock in 1937.

An American idea, done properly

It is honest to say, and Bill always did say, that the very general idea of an electrified wire was not his. He had read, in a farming magazine, that American farmers were experimenting with putting alternating current straight onto a strand. The American approach worked under particular conditions and not under others. The American approach was to chuck AC on to the fence, Sir William explained later. In wet weather the result was dangerous; in dry weather, he said, it was pretty useless.

The Gallagher fence was the first design that solved both problems at once. By using a short pulse rather than a continuous current, the fence could carry enough voltage to penetrate the dry hair of an animal in summer without delivering the kind of sustained current that could harm a child or kill a sheep in winter. By driving the system from a battery and a coil rather than the mains, it sidestepped the wet-weather hazard. By keeping the pulse very short — three hundred microseconds or less — it consumed almost no energy, which meant a single battery could run a fence for weeks. The Gallagher’s elegance was not in any one component. It was in the combination.

Other people noticed. By 1938 he had sold enough that the family quietly accepted there was a business there. By 1940 he had moved his wife and small children from Horsham Downs into a workshop he had set up in Hamilton East. The workshop was modest. The team, in those first years, was in single figures.

The war, the Colonial Ammunition Company and the gas producer

The Second World War interrupted the Gallagher business as it interrupted most things. Bill, ineligible for active service for reasons of age and family responsibility, was directed by the manpower authorities to work for the Colonial Ammunition Company, which had relocated some of its operations from Auckland to Hamilton East and which needed engineers. He spent the war years there and, in his spare time, repairing farm machinery for the local district under a wartime essential-service exemption.

One of the war’s secondary effects was a chronic petrol shortage. Bill, like other New Zealand engineers of his generation, designed and built a gas producer — a small charcoal-burning unit that bolted to the side of a car or tractor and fed it with the producer gas of a slow-burning fire instead of liquid fuel. The Gallagher gas producer kept Waikato farmers moving through the rationing years. After the war he kept the line in production for a while at a property on Seddon Road in Hamilton, with about half a dozen employees. The shed could now make almost anything — fertiliser spreaders, cow gear, a spinning top-dresser he and Henry had developed in the late 1940s with a third brother, Vivian. By the early 1950s he had even moved sideways into commercial fishing, running boats out of Raglan and at one point overseeing the building of an 88-foot vessel. None of it was the main game. The main game, even when nothing was happening on it, remained the fence.

The post-war years — everything except making it big

The picture of Bill Gallagher in the late 1940s and through the 1950s is not the picture of a man building a future global business. It is the picture of a working country engineer trying half a dozen things at once. The Hamilton East workshop on Seddon Road was, on any given day, a small contract engineering shop — building gas producers if there was a market for gas producers, repairing a neighbour’s tractor if a neighbour had broken one, turning out the latest generation of fertiliser spreader, fixing whatever lay on the bench. The fence stayed in production but did not, through those years, dominate. The market for it was real but small. There were perhaps a few hundred Gallagher fences in operation across the country at the end of the war, perhaps a few thousand by 1955.

The 1950s diversification went in unexpected directions. With Henry and a third brother, Vivian, he refined the spinning top-dresser into a piece of equipment any sheep farmer in the Waikato or the King Country could afford. Through a separate venture he financed and oversaw the construction of an 88-foot fishing boat at Raglan, on the West Coast, with the idea of running it commercially out of the Manukau and the Tasman. He held shares in the operation. The boat was built. The commercial fishing did not, in the end, suit him — he was an inland man and a workshop man and the smell of the fish house was a long way from the smell of grease and welding wire — but it taught him something about scale, and about how a small Hamilton family enterprise could occasionally fund, manage and complete a project larger than itself. The lesson would be useful when his sons came along.

What he was waiting for, in those years, was the law. The 1937 prohibition on mains-powered fences was still in force, and every Gallagher unit in the field was running off a battery that had to be carried out, charged up, carried back, and bolted in. A farmer with a six-paddock subdivision needed half a day a fortnight just on battery maintenance. The cost ceiling on the technology was effectively the cost ceiling on the battery. Until the law allowed the mains to do the work, the Gallagher fence was always going to be a useful but limited tool.

1961, and the long-awaited mains

The single regulatory change that mattered most to the Gallagher business came in 1961, when the Electrical Wiring Regulations were finally rewritten to allow mains-powered electric fences, provided the energiser was built to a particular safety standard. Bill had been waiting for that moment for the better part of a quarter-century. A mains-powered energiser could run thousands of metres of fence at a time. A battery-powered one was always going to be limited by what a 6-volt or 12-volt battery could push out for a week. The 1961 change effectively unlocked the modern industry.

By 1963 the Gallagher operation had grown enough that he formally incorporated it as Gallagher Engineering Limited, with himself as managing director and his sons increasingly involved in the day-to-day. By 1964 the company was building more than 20,000 fence units a year. By the late 1960s it was the largest electric-fence manufacturer in the country, with a near-monopoly of the New Zealand market and the beginnings of an export trade across the Tasman.

Three things had to happen at once for that growth. The technology had to mature, which Bill himself drove in a series of incremental improvements through the 1950s and 1960s. The regulatory environment had to permit it, which the 1961 change finally allowed. And the company had to acquire a generation of younger leaders who could think internationally. The third condition was, at the start of the 1960s, the most uncertain.

The sons arrive

Bill and Millie’s eldest son, William Murray Gallagher, was born on 22 January 1941. He started on the Gallagher Engineering shop floor in 1962, at twenty-one. His younger brother John Gallagher had begun a couple of years earlier as a fitter and turner. Both started at the bottom, in overalls, on machines, and worked their way through every department in the workshop.

It is at this point in the family story that the historical distinction between the father’s invention and the sons’ commercialisation becomes important, and is sometimes blurred in the popular telling. Bill senior was a craftsman-engineer of the old school. He invented the product, refined the product over thirty years, ran the small workshop that made the product, and dealt with an export market consisting essentially of Australia. He was not, by his own admission, a man of business systems, of long-range planning, or of international marketing. When my father Bill senior started this company, Sir William once put it, he probably hadn’t even heard of the word entrepreneur. That, his son added, never stopped him from being one. The line is generous. It is also, between the lines, an honest description of where his father’s reach ended.

What the sons did across the 1960s and 1970s was take a successful workshop business and turn it into a multinational. Bill junior led the export drive, first across the Tasman, then into the United Kingdom, then North America, then Continental Europe and South Africa. John ran the engineering and operations side from the inside. By 1973 Bill junior was chief executive and chairman, his father stepping back into a senior advisory role. By 1980 the company was selling fences into a dozen countries. By 2010, with the founder long gone, it was selling into more than 130 and turning over $160 million a year. By 2026 the figures had grown again, and the Gallagher Group was widely reported as the world’s largest manufacturer of permanent electric fence systems, with operations on every inhabited continent.

The father did not live to see most of that. He stayed close to the company through the 1970s and into the 1980s, watching his sons turn the business he had begun in a Waikato shed into something he could no longer quite picture. He kept tinkering. He kept turning up at the workshop. He kept asking his foreman, who had been with him since the war, whether the new energiser was as well-earthed as the old one.

The MBE, and the last summer

In the New Year Honours of 1990, Bill Gallagher senior was appointed a Member of the Order of the British Empire. The citation was for community service, which in Hamilton meant decades of quiet contribution to schools, to the local Catholic parish, and to the engineering apprenticeship system that had trained successive generations of Waikato workshop hands. He was seventy-eight. He had been ill for some months by then with a cancer that the family had not made public.

He died in Hamilton on 8 August 1990, four months and three weeks after his investiture. The funeral was a Hamilton funeral — dignified, large, restrained, with a long line of farmers and engineers and former apprentices coming through the church door. He was buried at Hamilton Park Cemetery in Newstead, a few kilometres from the workshop on Seddon Road where the company had done much of its growing.

His widow Millicent outlived him by some years. The five children all survived him. The company was already, by then, in the hands of his eldest son. Twenty-two years after the funeral, in 2012, Bill senior was inducted posthumously into the New Zealand Business Hall of Fame. Five years after that, in 2017, he was inducted again, this time into the Waikato Business Hall of Fame, in his home region.

Sir William, who had taken his knighthood in 2018, was photographed for the Waikato ceremony standing beside the original 1937 prototype: a wooden box, the wire windings of the coil visible through the lid, the tube of mercury still intact in its mount. He told the assembled audience that the most important thing his father had done for him was insist, when Bill junior was twenty-one and arriving on the shop floor, that he start at the bottom. Not because he needed to be tested. Because the men he was going to lead, one day, would never trust him otherwise.

The technology, briefly

It is worth pausing here on the actual physics of what Bill Gallagher built, because the principle is so much cleaner than the version most people carry around in their heads.

An electric fence is not a continuously live wire. It is a wire that is mostly dead, and that comes briefly alive, on a regular pulse, for a fraction of a second at a time. The pulse is generated by an energiser — a small box, on a Gallagher fence anywhere from biscuit-tin to suitcase size depending on the length of fence it is driving — that takes a low-voltage input, either from a battery or from the mains, and uses a coil to step it up to thousands of volts.

The voltage matters because the pulse has to overcome the resistance of an animal’s hair and skin in dry conditions. The duration matters because the human and animal nervous system can tolerate a very high voltage for a very short time without injury. The low energy matters because that is what makes the fence safe. A long-duration current of even a few hundred volts can stop a heart. A short-duration pulse of several thousand can do nothing more than make a horse, or a sheep, or a dairy cow, or a curious child, jump back and not come near again.

The other essential is the earth. A fence is one half of an electrical circuit; the soil is the other. The pulse goes out along the wire, through the animal, through the animal’s hooves and into the ground, and back to the energiser through one or more steel pegs hammered into the soil at the energiser end. If the earth is good — damp, well-conducted, multiple pegs deep into clay — the fence is sharp. If the earth is poor — bone-dry summer, sandy soil, a single peg banged in twenty minutes ago — the fence is mild, regardless of how good the energiser is. The whole craft of running an electric fence, then and now, is the craft of running a good earth.

The Gallagher contribution was to bring all of this into one robust, weatherproof, farmer-grade package. The original 1937 unit could run for weeks on a six-volt battery. The 1960s mains units could run a circuit of fifty kilometres. The modern descendants, computer-controlled, will run hundreds. The principle has not changed.

What he left, and what they did with it

The conventional way to write up a New Zealand inventor is to dwell on the eureka moment and skim the rest. With Bill Gallagher senior the temptation is real, because the eureka moment really was the horse and the car and the shed, and it really did happen as told, and it really did lead to a global business. But the truer story is the slower one. He spent the next fifty-three years — the rest of his working life, and most of his life full stop — refining what the moment had given him. Not making it big. Just making it work.

It was the next two generations who made it big. His sons Bill and John spent the 1960s and 1970s turning a Hamilton workshop into a national company, and the 1980s and 1990s turning a national company into a multinational. His grandchildren took the multinational and pointed it at the security industry, with electric fences for prisons and embassies and military bases, and at the agritech industry, with stock-weighing crates and animal-management software. The Gallagher Group of 2026 looks very little, in product terms, like the Gallagher Engineering of 1963. It looks even less like the Horsham Downs shed of 1937. But everything in it descends, in a direct line, from a magneto, a triggering device, an old gelding called Joe, and a man who had decided he was not, by inclination or by talent, going to milk twenty cows in the dark for the rest of his life.

His son’s affection for him, fifty years after the shed and twenty after the funeral, was the thing that came through clearest in every interview Sir William ever gave on the subject. His father probably hadn’t even heard of the word entrepreneur, Sir William said again, in different words, more than once. That, he said, never stopped him from being one.

That is, in the end, the most New Zealand sentence that could possibly be written about the most New Zealand kind of inventor: the country boy, untrained, in a Waikato shed, who finds a problem, fixes the problem with whatever happens to be on the bench, and ends up — almost as a byproduct — founding a global industry. Bruce McLaren did it in motorsport. John Britten did it on a motorcycle. Bill Gallagher senior did it on a fenceline. The country could probably do with a few more of all three.

Sources and further reading

Other Great New Zealanders

This profile is part of Newswire’s Great New Zealanders series. You may also enjoy our profiles of Bruce McLaren, the Auckland boy who built one of the most successful Formula One racing teams in the world; Jean Batten, the New Zealand aviator who set records and then deliberately disappeared; and our profile of John Britten and the Christchurch shed where the V1000 was built.

Have your say

Did you grow up on a Waikato farm with a Gallagher fence? Do you remember the day the mains rules changed in 1961, or the first battery unit you ever bought, or the back-paddock demonstration that talked your father into one? Do you have a memory of Bill senior at the workshop, of the early years on Seddon Road, or of the family in Hamilton East? Drop a comment below — we read every one.

This article was written by AI, briefed to report the facts, hopefully without some of the bias people bring to the job 🙂

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *