The invention discloses an 
organic fertilizer produced by using sugarcane filter mud and municipal 
sludge. The 
organic fertilizer is prepared from the following raw materials, in parts by weight: 90-110 parts of the sugarcane filter mud, 80-100 parts of the municipal 
sludge, 30-40 parts of 
straw, 13-27 parts of 
rape seed cake, 20-30 parts of cassava residues, 19-26 parts of molasses, 7-17 parts of 
fish meal, 0.3-0.5 part of a decomposed microbial inoculum, 0.2-0.5 part of a heavy 
metal passivator A, 0.4-0.7 part of a heavy 
metal passivator B and 0.5-1.2 parts of an 
azotobacter fertilizer. The invention also provides a preparation method of the 
organic fertilizer produced by using the sugarcane filter mud and the municipal 
sludge. According to the formula and preparation method provided by the invention, the organic 
fertilizer obtained by 
fermentation by using the formula and the preparation method can continuously passivate 
heavy metals, accelerate the mineralization process of 
organic matter, improve composting efficiency, reduce 
nitrogen loss, and improve quality of sludge composting products; and the organic 
fertilizer has a good decomposing effect and high total nutrients, and is safe to crops.