Erinaceids are omnivorous, with the major part of their diet consisting of insects, earthworms, and other small invertebrates. They also eat seeds and fruit, and occasionally bird's eggs, along with any carrion they come across. Their teeth are sharp and suited for impaling invertebrate prey. The dental formula for erinaceids is: upper=2-3.1.4.3; lower=3.1.2-4.3.