The coffee berry borer (Hypothenemus hampei) is the most devastating insect pest of coffee worldwide with its infestations decreasing crop yield by up to 80%. Caffeine is an alkaloid that can be toxic to insects and is hypothesized to act as a defence mechanism to inhibit herbivory. Here we show tha...