How to Keep Wild Boar and Feral Hogs Out of Your Garden

Teknopest Engineering Team 5 min read

One thing up front, because unnecessary alarm helps nobody: attacks on people are genuinely rare. Recorded incidents worldwide are remarkably few. The real problem is usually not your safety — it's a lawn destroyed overnight, saplings pulled out and a crop damaged. This guide covers both.

Why they're coming to you

Boar feed by rooting — driving their snout through soil to reach roots, tubers and grubs. A garden or field can offer three things at once: soft ground full of food, easy human-sourced calories, and nearby cover to lie up in during the day.

Once an animal finds a reliable source it commits it to memory and returns on a schedule. They travel in family groups (sounders), which is why damage can cover a wide area in a single night.

1. Remove the food source first

Skip this step and everything else works less well. No deterrent competes with an open food source.

Bins. Lids locked or weighted, the body itself secured so it can't be tipped. Don't leave them out overnight if you can avoid it. A boar that has successfully tipped a bin once will come back for it.

Pet food. No bowls left outside. Store feed sealed and enclosed outside feeding times.

Fallen fruit and vegetables. Collect windfalls regularly. In autumn, the ground under a fruit tree is the single strongest invitation on the property.

Bird feed. Hang feeders out of reach and sweep up spilled seed.

Compost. An open compost heap is a direct invitation. Use an enclosed bin, and never add meat or cooked food waste.

2. Physical barriers: the single most effective measure

Over the long run this is the highest-return investment you can make.

Fencing. A solid fence of adequate height stops most incursions — but the critical detail isn't the height, it's the ground line. Boar don't jump fences; they dig under them. The bottom edge needs either burying 30–40 cm, or supporting with an outward-turned wire skirt. Miss this detail and even an expensive fence is defeated within a few nights.

Boar don't jump fences. They dig under them.

Before you install

Electric fencing is highly effective as a deterrent, usually run as two wires at roughly 20 and 40 cm above ground, since the animal contacts it with its snout. Check local regulations and safety requirements before installing — particularly where neighbouring land, public footpaths or children's access are involved. Rules vary considerably by country and region.

Gates and access points. Make sure gates close fully and the gap beneath them is closed off. The most solid fence is undone by one gate left open.

3. Deterrents, and their honest effectiveness

This section needs to be free of overclaiming, because the category attracts a lot of it.

Motion-activated lights. A light coming on suddenly at night startles boar and often turns them back. Not a permanent solution on its own, but it works as part of a layered setup.

Sound. Sudden loud noise moves animals off in the short term. But to be honest about it: boar habituate to fixed, repeating sounds. The same noise at the same time loses its effect within weeks. This is the category's best-known weakness, and a seller who doesn't mention it is leaving something out.

Scent-based deterrents. Traditional remedies — human hair, ammonia and the like — have limited and short-lived effect, and wash away entirely with rain. Commercial scent products vary enormously by region and by the animal's established habits. Not something to rely on alone.

Ultrasonic and vibration systems. The difference here is two layers working together. An airborne ultrasonic sweep targets the animal on the surface, while low-frequency vibration transmitted from a ground stake makes the soil itself feel wrong. For an animal that feeds by rooting through that soil, the second layer is particularly relevant.

The way past the habituation problem is a frequency that doesn't hold still: a signal sweeping continuously and unpredictably across a band leaves the nervous system no stable pattern to filter out. That's the line to look for on any spec sheet.

Soil type changes the outcome. Moist, clay-rich soil carries vibration well and gives a wide effective radius. Dry, sandy ground absorbs it quickly — on that kind of land, stakes need to be spaced more closely.

4. If you encounter one

The guidance below follows established wildlife-safety advice.

Keep your distance. Never approach, not even for a photograph. A sow with piglets is far more defensive, and this is where the distance rule matters most.

If you have a dog with you, put it on a lead and keep it close. This is the most important item missing from most lists: boar perceive dogs as a threat, and the likelihood of an aggressive response rises noticeably when a dog is present. Walking a dog on rural land carries more risk than walking alone.

Stay calm and don't run. Sudden movement and running can trigger a chase response. Boar generally have no interest in you unless they read you as a threat.

At a distance, making noise is fine. If there's safe space between you, clapping or speaking loudly can make the animal aware of you and move it along.

Up close, stay quiet and back away while facing the animal. Don't turn your back and don't run. The detail matters: retreat slowly and calmly without losing sight of it.

Get to higher ground. Boar can reach high speed over short distances but cannot climb. A tree, a solid fence, a rock or a vehicle are all safe options.

Seek medical attention for any injury. Boar injuries typically affect the legs and carry a real infection risk.

An important distinction

Some of this is the opposite of the advice for an aggressive dog — with a dog, staying quiet and still is correct; with a boar, noise at a distance and higher ground are correct. Don't confuse the two. See our cat and dog deterrent guide.

5. Layered protection, not a single method

The most important sentence in this article: no single method is sufficient on its own.

The approach that works is three layers built together:

  1. Remove the food — bins, pet food, windfalls, compost.
  2. Build the physical barrier — a solid fence with a buried or skirted bottom edge, gates that close.
  3. Add the deterrent — a variable-frequency system with ground vibration, along the boundary line.

Together they go well beyond what any one of them achieves alone. A deterrent on your boundary, backed by fencing and food control, is what makes land genuinely defensible.

If you have a rural property or land, our outdoor protection systems are built for exactly this.

Teknopest Engineering Team

We have designed and manufactured ultrasonic and seismic deterrent systems in Türkiye since 2004. These articles draw on our own test data alongside installation and customer feedback from the field. We do not publish claims we cannot substantiate.