Hydrogen peroxide Hydrogen peroxide can kill fungus that grows on toenails. You can directly wipe hydrogen peroxide on your infected toes or toenails with a clean cloth or cotton swab. Hydrogen peroxide can also be used in a foot soak.