Badgers are the main predator of hedgehogs, and they are the only animal capable of unrolling a curled hedgehog. Badgers and hedgehogs also share the same primary food source: beetles and other invertebrates, meaning that in areas where both species are present, there is increased competition for food. However, available evidence does NOT suggest that badgers are a significant driver of hedgehog decline. Hedgehogs actively avoid badger-populated areas, and hedgehogs are declining in both rural areas (which have higher densities of badgers) and urban areas, where badgers are less common. Places with suitable habitat and plenty of available food can and do support stable populations of both hedgehogs and badgers.
Foxes are brilliant at predation, equal only to their laziness. It is unlikely that they would tackle a hedgehog; they weigh between 5 and 9 kilos and have very sensitive paws and mouths. They are ‘Nature’s bin-men’ and are opportunists who will eat dead and dying wildlife. In urban areas, discarded rubbish means that food for foxes is plentiful. It is uncommon for a fox to predate a live hedgehog, rather they are more likely to scavenge road casualties. If you are trying to attract hedgehogs to your garden, there is a risk that foxes and other wildlife will also visit. In urban areas, foxes will often get into chicken coops and kill all of the chickens. They will then spend the next fews days coming back to pick up their prey so they can store it.
Typically, pets and hedgehogs can coexist peacefully. Cats tend to ignore them and leave them alone after inspecting them and encountering their spikes. Dogs, however, occasionally attack hedgehogs, or else be too aggressive when trying to play with them. The spines of an adult hedgehog are usually enough protection to keep them safe from a dog attack, but a younger hedgehog may not survive.