The present disclosure relates to compounds that bind to flavin-containing enzymes and inhibit mitochondrial function, referred to herein as mitoflavoscins. Methods of screening compounds for mitochondrial inhibition and anti-cancer properties are disclosed. Also described are methods of using mitoflavoscins to prevent or treat cancer, bacterial infections, and pathogenic yeast, as well as methods of using mitoflavoscins to provide anti-aging benefits. Specific mitoflavoscin compounds are also disclosed.