Home > Growing tips & recipes > How to Keep Badgers and Foxes from Digging Up Your Garden 4 min read 18.07.2025 How to Keep Badgers and Foxes from Digging Up Your Garden Badgers and foxes can cause significant damage by digging up your garden, disturbing plants and soil. In this blog, we share practical tips on how to keep badgers and foxes from digging up your garden using barriers, deterrents, and habitat management. Protect your crops and borders from these curious and sometimes destructive visitors with these easy-to-follow, wildlife-friendly methods for a peaceful, thriving garden. It’s a classic scene: you wake up to find freshly turned earth, holes, and disturbed plants where your prized crops once stood. Badgers and foxes, while fascinating and part of our garden’s natural ecosystem, can cause quite a bit of digging damage. Here’s how to keep these nocturnal visitors from turning our gardens into their playgrounds, without harming them.Understand Their MotivationBadgers dig mainly to find earthworms and grubs, while foxes might be after rodents or just marking territory. Knowing what attracts them helps us tailor our garden defence. Areas with rich soil and lots of insects are magnets.Secure Your Compost and WasteCompost heaps can attract badgers and foxes searching for tasty scraps. You use sealed compost bins and avoid putting meat or dairy waste in the garden compost to reduce the appeal.Use Physical BarriersStrong fencing is often the best deterrent. We install wire mesh fences around vulnerable beds at least 1.2 metres high, buried 20cm underground to prevent digging under.Electric fences are effective but not always practical for home gardens. Solid barriers around smaller beds or raised planters also help.Remove Easy Food SourcesBird feeders can attract foxes searching for fallen seeds, while pet food left outside is a red carpet invitation. We keep feeders over trays to catch dropped seed and bring pet bowls indoors at night.Try Natural DeterrentsFoxes and badgers dislike strong smells. Try scattering crushed garlic, human hair clippings, or commercially available predator repellents around garden edges. Motion-activated lights and sprinklers can startle them too, encouraging them to move on.Encourage Wildlife-Friendly Habitat Away from the GardenCreating a wild area away from the veg beds can draw badgers and foxes away from the main garden. Plant dense shrubs or leave a patch of natural woodland edge nearby as an alternative habitat.Regularly Inspect and RepairBadgers and foxes are persistent. We check fences and barriers regularly for holes or weaknesses, repairing any damage quickly to keep the garden secure.Badgers and foxes are part of our countryside charm, but we don’t have to let them wreck our hard work. With the right combination of fencing, habitat management, and deterrents, we protect our garden while respecting wildlife. Meet the author Nelly Nelly works in the She Grows Veg marketing department and is an incredible cook! She's learning how to grow veg fast in her very own container garden. Her favourites so far are the Dwarf Sunflower called 'Sunspot' and our Dwarf Pea called 'Tom Thumb'. Previous How to Protect Your Garden from Mice and Rat Damage Next How to Protect Your Garden from Deer Grazing