The invention relates to a bacteriocidal composition containing boscalid and triazole compounds, comprising an active component A and an active component B, wherein, the active component A is selected from boscalid, the active component B is selected from one of imibenconazole, triticonazole, ipconazole or fenbuconazole, and the weight ratio of the active component A to B is 1-80%:1-60%. The composition of the present invention can be prepared into dosage forms, such as wettable powder, water dispersible granule, suspending agent, suspended emulsion, suspending seed coating agent, emulsion in water or micron emulsion, by adding auxiliary agents and excipients into the active components, used for controlling powdery mildew, botrytis, net blotch, rice blast, elsinoe ampelina, septoria nodorum, rust, anthracnose, root rot, rot disease, brown rot, apple scab, leaf spot, epidemic disease, black rot, brown spot, scab and leaf rust, with effects of little chemical consumption, anti-rain wash and obvious synergistic action.