Hedgehogs are most active at night, so they typically eat at night. They are insectivores, and their diet mainly consists of insects such as beetles, earthworms, and slugs. They also eat small mammals such as mice and shrews, as well as fruits, vegetables, and even bird eggs.