[Objective] The aim of this study was to explore the sterilization effects on Escherichia coli by adding bacterial inhibitor(CaCN2)during the process of cattle manure composting so as to provide a theoretical basis for cattle manure harmless treatment.[Method] Both experimental groups supplemented with 2.0% bacterial inhibitor and control groups without bacterial inhibitor were cultured under different temperatures(20,30,37,50,60 ℃)to determine the optimal composing temperature.Under 30 ℃,different bacterial inhibitor doses(0,2.0%,2.5%,3.0%)were added into the compost to obtain the optimal bacterial inhibitor addition dose.[Result] 30,50 and 60 ℃ were ideal temperatures for sterilization of E.coli.Under 30 ℃,E.coli couldn't be detected in 2.5% dose group and 3.0% dose group after culture for 48 h,demonstrating no less than 2.5% bacterial inhibitor should be added.[Conclusion] It has an important significance to enhance the sterilization effects on E.coli by adding CaCN2 into cattle manure compost especially in winter.