The invention relates to the field of compound fertilizers, and particularly relates to a slow-release compound fertilizer containing natural worm-expelling components. The fertilizer is prepared from the following raw materials in parts by weight: 10-15 parts of kieselguhr of 1250-2000 meshes, 10-12 parts of potassium sorbate, 16-19 parts of ammonium dihydrogen phosphate, 4-5 parts of magnesium chloride, 10-12 parts of sodium pyrophosphate, 22-23 parts of well-rotted farmyard manure, 6-8 parts of dried tempeh fine powder, 4-6 parts of formosan lattuce herb leaf and stem, 5-6 parts of Tephrosia purpurea stem and leaf, 4-5 parts of burdock dreg powder, 1-3 parts of starch aluminum octenylsuccinate, 1-2 parts of potassium persulfate, 10-12 parts of acrylamide, 1-2 parts of negative ion powder, 2-4 parts of medical stone powder, 6-8 parts of polymeric ferric silicate sulfate and 4-5 parts of assistant. According to the invention, the compound fertilizer formula has wide raw material sources and multiple nutrients; slurry of the formosan lattuce herb leaf and stem and the Tephrosia purpurea stem and leaf contains natural worm-expelling components, so that worms and ants can be prevented from nibbling the fertilizer; and by technically using the kieselguhr and the slow-release coating agent containing the negative ion powder, the nutrients are doubly coated, so that the nutrients are less prone to loss, and the fertilizer efficiency can last longer. In practical application, the compound fertilizer can obviously improve the yield and quality of crops and increase economic benefits.