The invention discloses bacillus velezensis HY19 and application thereof. The strain Bacillus velezensis HY19 is preserved in the China General Microbiological Culture Collection Center (CGMCC), the preservation date is January 4, 2021, and the preservation number is CGMCC No.21590. The strain can generate various water-soluble and volatile antibacterial substances, can effectively antagonize various plant pathogenic fungi, is wide in antibacterial spectrum and strong in antibacterial effect, has a relatively good biological prevention and treatment effect on flue-cured tobacco brown spot, is harmless to the ecological environment, and is not easy to cause drug resistance of pathogens. The strain has the characteristics of high breeding speed, high environmental adaptability, simple nutritional requirements, wide disease-resistant spectrum and the like, and is a novel biocontrol microorganism which is safe, efficient and capable of preventing and treating fungal diseases of plants in a broad-spectrum manner. The biocontrol microbial agent of the invention is simple in preparation method, easy for industrial production, and has good development and application prospects.