The invention provides a bacillus subtilis for inhibiting phomopsis which is bacillus subtilis T8 deposited in China Center for Type Culture Collection on December 5, 2018 with the preservation numberof CCTCC NO: M 2018860. The bacillus subtilis T8 has good cellulose degradation capability, can produce cellulase, and has strong endoglucanase activity, filter paper enzymatic activity, exonucleaseactivity and beta-glucosidase activity. The bacillus subtilis T8 can inhibit phomopsis, and an ethanol supernatant and a protein have inhibitory effects on the phomopsis. In addition, the bacillus subtilis T8 can inhibit the growth of escherichia coli, staphylococcus aureus, candida albicans, shigella dysenteriae and enterobacter faecalis, and has a development and utilization value in inhibitinghuman pathogenic bacteria. The invention also provides application of the bacillus subtilis T8 in producing cellulase and preventing kiwi fruit soft rot.