Mandrills are opportunistic omnivores, though the vast majority of their diet—upwards of 80%—consists of plant material. They are largely frugivorous, spending hours meticulously picking through the leaf litter to uncover fallen fruits, nuts, and hard-shelled seeds. Their powerful jaws are specifically adapted to crack open incredibly hard nuts that other forest primates cannot exploit.
When fruit is scarce, mandrills supplement their diet with a wide variety of secondary foods, including roots, tubers, leaves, lianas, bark, and fungi. They are also active predators of invertebrates, regularly flipping over heavy rocks and tearing apart rotting logs to hunt for ants, termites, spiders, snails, and scorpions. While insects make up the bulk of their animal protein, adult male mandrills have occasionally been observed hunting and consuming small vertebrates, including frogs, tortoises, rats, and even small duikers (forest antelopes).