A bacillus velezensis and its application in plants is provided. The bacillus velezensis is Bacillus velezensis NSZ-YBGJ0001, and the deposit number is CGMCC No. 14384. The Bacillus velezensis can effectively prevent and control plant diseases, has no harm to the plants itself, and can promote plant growth to some extent. The use of Bacillus velezensis microbial agent can replace or reduce the use of chemical pesticides; it largely protects the ecological environment and the quality and safety of agricultural products.