In short: badgers get into gardens by digging under a fence or pushing through a weak one, so badger-proof fencing is decided below ground. Official guidance is strong mesh buried 60cm deep, or laid outwards along the surface for 50cm, on a fence at least 125cm high. Foxes climb, so they are a different problem and no ordinary garden fence stops them completely. It is legal to fence both out. It is not legal to harm them or to block a badger sett.
A lawn dug full of small pits overnight, bins tipped over, a hole scraped under the back fence. The two animals get lumped together, but they get in by different routes and need different answers. This guide takes badgers first, because badger fencing is where the right build makes the biggest difference.
Start with the law
Badgers and their setts are protected in England by the Protection of Badgers Act 1992. The government's guidance lists what you must not do, including:
- intentionally capture, kill or injure a badger
- damage, destroy or block access to their setts
- disturb badgers in setts
The same guidance says you could be sent to prison for up to six months and get an unlimited fine.
What you are allowed to do is fence them out. The guidance says you can use fences, including electric fences, to stop badgers entering your land, provided this does not block access to the sett. It also says you can add two-way gates to fences so badgers do not damage them.
That last condition is the one to take seriously. If there is a sett in your garden or right on the boundary, you cannot fence across its entrances or shut the animals in or out of it. Anything that would affect a sett needs a licence from Natural England, and that is a job for a specialist, not a fencer.
Foxes have less protection, but the RSPCA is clear that it is illegal to get rid of a fox by harming it in any way, including with poison. It is also against the law to use any substance as a deterrent that has not been approved for that use.
Why badgers come into gardens
Mostly for food. Welsh Government guidance for householders explains that badgers take earthworms from the surface and dig shallow pits in lawns when foraging. Grubs in the turf, such as leatherjackets and cockchafer larvae, attract them too. It describes this damage as usually short-lived and most pronounced in late autumn and early spring.
The same guidance lists the other draws: soft fruit, vegetables such as carrots and sweetcorn, flower bulbs, and bins, which badgers will overturn, especially in a hot, dry summer.
That matters because the cheapest fixes are not fences. A bin with a clip-on lid or a strap round it stays shut. If the damage is a few weeks of lawn digging each year, some people decide to live with it.
Where a garden fence fails
A badger is a strong, low-built digger. It does not need to break a fence if it can go under one, and on most garden fences it can. The weak points are nearly always at the bottom:
- timber panels or boards sitting on the soil, softened by years of damp
- a gap under the fence where the ground has dropped away
- a gate with clearance underneath it
- a rotten panel that gives way when pushed
Badgers also use the same routes night after night. If your fence was built across one of their paths, they will keep working at that spot.
What badger-proof fencing needs
The Welsh Government's guidance gives a specification for permanent badger fencing. It is the clearest official description available, and the animal is the same on this side of the Severn:
| Part of the fence | What the guidance says |
|---|---|
| Material | Heavy duty chain link or welded mesh. Chicken wire is described as usually inadequate. |
| Height | At least 125cm. |
| Below ground | Buried to a depth of 60cm. |
| Alternative to burying | Mesh lapped outwards for 50cm on the ground surface, to stop digging underneath. |
| Top | A supported 30cm overhang facing away from the area being protected, because badgers are capable of climbing. |
That describes a mesh fence around something like a vegetable plot. Most people reading this have a timber garden fence and want to keep it. So the real question is how to get the same result at the bottom of the fence you have.
Installing badger fencing on a timber garden fence
- Concrete gravel boards. A gravel board is the board that runs along the bottom of a fence, between the posts. In concrete it keeps the timber off the ground and gives a badger nothing soft to claw at. On its own it is not enough, because a board that sits on the surface can simply be dug under.
- A mesh skirt. This is the part that does the work. Welded mesh is fixed to the base of the fence and either buried or laid flat and outwards under the turf on the side the badgers come from. An animal that digs at the foot of the fence hits mesh.
- Sound posts and panels. A badger can push through timber that has gone soft. If the bottom of the fence is rotten, the mesh has nothing to hold on to. Our guide to the best wood for fencing explains why the ground line is where fences fail.
- The gate. A gap under a gate undoes all of it. Gates in a badger-proofed boundary need a solid threshold.
Be realistic about the result. A standard timber fence with a mesh skirt will stop casual visits and most determined ones. It will not match a purpose-built mesh fence, and if the fence line crosses an established badger path, expect them to test it.
Two-way badger gates
Where a fence crosses a path badgers have always used, the guidance from both governments is the same: give them a gate. A two-way badger gate is a small, heavy swing flap set in the fence. The badgers go through it and the fence is left alone. It sounds like giving in, but if what you want is an intact fence and not an empty garden, it is often the answer that lasts.
Electric fencing
The Welsh Government describes electric fencing as a simpler and cheaper alternative. It gives two layouts: two strands at 8cm and 20cm above the ground, or four strands at 10, 15, 20 and 30cm, kept taut and clear of vegetation. It is used mainly around lawns and vegetable plots, and it can run on a timer so it is only live at night. It is not something to put up without thinking in a garden used by small children.
What does not work
The same guidance says there are currently no repellents specifically approved for use against badgers, and that the product once used for this is no longer approved. Putting down anything else is against the law, as well as unlikely to work.
Fox-proof fencing: a different problem
Foxes climb well, squeeze through small gaps and use anything near the boundary as a step. A fence helps, but no ordinary garden fence is fox-proof, and the RSPCA's advice starts somewhere else: remove what attracts them.
- Food. Secure bins, and do not leave pet food or bird food where a fox can reach it.
- Shelter. The RSPCA says to block areas beneath decking or sheds, which are ideal spots for fox dens. Check nothing is living there first.
- Boundaries. It suggests wildlife-friendly fencing or spiky plants around the edges of the garden.
- Repellents. Only approved products. The Fox Project, a fox charity, names the repellents it finds most effective and says it found ultrasonic devices broadly ineffective.
On the fence itself, the useful jobs are closing the gaps underneath, which the mesh skirt described above also does, and moving the bins, benches and compost heaps that let a fox climb over in two easy steps.
Spikes, glass and barbed wire
People ask about putting something sharp along the top. Crime prevention advice published by the Hampshire Police and Crime Commissioner says that setting broken glass or nails into the top of a wall is now illegal. Under section 164 of the Highways Act 1980, barbed wire and similar toppings beside a highway can be ordered to be removed if they are a danger to people or animals. You can also be liable under the Occupiers' Liability Act 1984 for an injury they cause, even to a trespasser.
Plastic "prickle" strips are often sold for foxes and cats. The same advice says they should not be installed at heights of less than 2 metres, to avoid accidental contact. A standard garden fence is about 1.8 metres, so on most fences they sit lower than that advice allows. We would not fit them to keep animals out. The advice itself ends by saying most residents prefer prickly planting such as hawthorn, pyracantha and berberis.
Questions people ask
Can badgers climb a 6ft fence?
They can climb. That is why the official specification for badger fencing includes an overhang at the top. In a garden, though, the usual way in is under the fence or through a weak panel, so the bottom is the place to spend the money first.
Can badgers dig through concrete?
A badger cannot claw through a concrete gravel board, but it does not need to. If the board sits on the surface, the badger digs under it. That is why the guidance asks for mesh buried 60cm deep or lapped outwards for 50cm.
How deep does badger fencing need to go?
The Welsh Government's guidance says 60cm below ground. The alternative is to lay the mesh outwards along the surface for 50cm on the side the badgers approach from, which avoids digging a trench along the whole boundary.
Is it legal to fence badgers out of my garden?
Yes, in England, as long as the fence does not block access to a sett. If you think there is a sett in or beside your garden, get advice before any work starts.
Will a fence stop foxes?
It makes your garden harder work than the next one, which is often enough. It will not make it fox-proof. Removing food and shelter does more.
Does the same fence keep a cat in?
No. Cats are stopped by what happens at the top of the fence, not the bottom. See our guide to cat-proof fencing.
Talk to us about the fence
We build and repair garden fencing across Bristol, including concrete gravel boards and mesh at the base where badgers are getting under. If you are weighing up repairing the fence you have against replacing it, what affects the cost of a new fence is a useful read first. Then send us a message with a photo of where they are getting in.
Sources: GOV.UK, Badgers: protection and licences; Welsh Government, Badger problems: advice to householders (PDF); RSPCA, Foxes in the garden; The Fox Project, Humane fox deterrence; Hampshire Police and Crime Commissioner, Anti-climb wall toppings advice (PDF). Checked November 2026. This is general guidance, not legal advice.