The invention discloses a silicon-containing anti-caking granular macroelement formula fertilizer which comprises the following raw materials in parts by weight. 25-55 parts of ammonium chloride, 5-15parts of ammonium nitrate, 10-20 parts of urea, 10-30 parts of amide nitrate, 30-50 parts of diamine phosphate, 10-25 parts of monopotassium phosphate, 30-45 parts of calcium superphosphate, 5-20 parts of potassium chloride, 15-30 parts of silicon-magnesium-potassium fertilizer, 5-10 parts of sodium silicate, 5-10 parts of dolomite, 5-15 parts of alkaline slag and 5-20 parts of a surfactant. Theinvention further provides a preparation method of the silicon-containing anti-caking granular macroelement formula fertilizer. The preparation method comprises the following steps: S1, mixing the rawmaterials including ammonium chloride, ammonium nitrate, urea, amide nitrate, diamine phosphate, monopotassium phosphate, calcium superphosphate, potassium chloride, the silicon-magnesium-potassium fertilizer and sodium silicate according to the weight ratio; and S2, putting an obtained mixture into a fertilizer dryer for drying. The formula is reasonable in structural design, and has the advantages that crops can absorb fertilizer more effectively and fully, and the anti-caking effect is excellent.