Tomato production is threatened by the tomato borer Tuta absoluta, notably due to the development of resistance in strains treated with conventional insecticides. Agronomists Borgi et al. show that the Beauveria bassiana fungus can be used efficiently against the tomato borer. Fungal strains overproducing the protease and chitinase enzyme are suitable biocontrol agents.