The invention discloses a method for efficiently killing pathogenic bacteria in vegetable wrack compost. The method comprises the following steps of: carrying out compost fermentation on vegetable wrack, crushing the vegetable wrack with water content of 80-85%, thus obtaining compost material; regulating carbon nitrogen ratio of the compost material to 25-30, evenly scattering the compost material into dazomet according to addition quantity of 0.15kg / m<3> and quickly mixing well, then, covering the compost material with a plastic film, carrying out sealed fermentation for 10-12 days, lifting up the plastic film and turning, and then, laying aside for 1-2 days. In the method, a chemical fumigant, namely dazomet, is used for processing the vegetable wrack post; in comparison with the existing pathogenic bacteria killing method by steam heating, adding chemical pesticide, and so on, the method provided by the invention is efficient, economic, safe, simple and easy to carry out, thus, a new thought for agricultural residue resource recycling, environment protection and diseases and suppression of insect pests spreading is provided.