A method for controlling nematodes in or on a plant, a plant part, and/or a locus for plant growth is provided, the method comprising applying to a plant, plant part, or locus for plant growth in need of protection from said nematodes an effective amount of Bacillus pumilus, a mutant of Bacillus pumilus, or at least one metabolite of Bacillus pumilus. In particular, the Bacillus pumilus strain may be strain QST2808.