The diet of the Eurasian badger consists largely of earthworms (especially Lumbricus terrestris), insects, grubs, and the eggs and young of ground-nesting birds. They also eat small mammals, amphibians, reptiles and birds, as well as roots and fruit.
In Britain, they are the main predator of hedgehogs, which have demonstrably lower populations in areas where badgers are numerous, so that hedgehog rescue societies will not release hedgehogs into known badger territories. In some areas they are known to predate lambs, and may bite a ewe defending her lamb, almost always leading to infection of the bite.
They are occasional predators of domestic chickens, and are able to break into enclosures that a fox cannot. In southern Spain, badgers feed to a significant degree on rabbits.