The invention provides a sludge solidifying agent prepared by using slag, a preparation method and application thereof. The curing agent is prepared from the following raw materials in mass percentage: 15-25% slag, 20-25% modified diatomite, 20-25% attapulgite, 10-15% silica fume, 4-8% Powdered activated carbon, 5-10% peroxide, 1-3% potassium permanganate, 1-2.5% iron powder, 1-5% cationic chelate, 1-5% polyrotaxane, 1-5% polyacrylic acid Sodium, 0.1-0.8% alkaline activator, 0.1-0.5% water reducer, 0.1-0.3% thickener, fully mix the above raw materials in a mixer, and mix them according to the mass ratio of 5%-30% of the sludge Put it into the mud, then mix it thoroughly, let it dry and cure naturally for 0.5‑1h before use. The invention has the advantages of simple curing process, short curing time and high efficiency. During the curing process, the toxic and harmful substances in the sludge can be degraded, and the peculiar smell in the sludge can be removed. The cured sludge will not cause secondary pollution.