The invention discloses a cobalt-polluted soil conditioner; the cobalt-polluted soil conditioner is prepared from, by mass, 24-28 parts of modified diatomite, 16-19 parts of sodium sulfide, 9-12 parts of monopotassium phosphate, 7-11 parts of volcanic glass rock, wherein the modified diatomite is prepared by performing superfine grinding treatment on pumice powder, stirring with nitric acid, filtering, washing, drying, adding sodium tartrate and mixing, performing hot ultrasound wave treatment, filtering, washing, drying, grinding and sieving; crushing every raw material, sieving, mixing and evenly stirring the raw material. The conditioner can significantly reduce the cobalt content in the heavy metal cobalt-polluted soil; when the conditioner is applied to the soil improvement of which cobalt content is 238.4 mg/kg, the cobalt removal rate is 85.5-96.3%, and the conditioner is free from the secondary pollution.