The invention relates to a bacillus subtilis str.TR21 (hereinafter referred to as 'TR21') strain having broad-spectrum antagonism to plant pathogenic fungi, in particular to the bacillus subtilis TR21 strain and a growth inhibition function thereof on the plant pathogenic fungi. The bacillus subtilis TR21 strain provided by the invention is preserved in China Center for Type Culture Collection (CCTCC) in January 20, 2010 with a preservation number of CCTCC No: M2010019, wherein the China Center for Type Culture Collection is located in Wuhan University, Lojia Mountain, Wuchang, Hubei, China. The strain provided by the invention is proved by obtained gene segments 16S rDNA, gyrA and gyrB and BLAST search and comparison on NCBI to be a novel bacillus subtilis strain having relatively higher flat antagonistic activity to a plurality of plant pathogenic fungi, particularly having high antagonism to various soil borne vascular diseases, such as fusarium oxysporum, rhizoctonia solani, alternaria and the like, and having good prevention and control effects shown in fields.