The invention discloses an environmentally-friendly soil restorer and a preparation method thereof. The soil restorer is prepared from, by weight, 5-15 parts of corn stigmas, 6-18 parts of brown algae, 5-15 parts of bromelain, 8-20 parts of triiodobenzoic acid, 2-8 parts of sphagnum moss, 3-8 parts of trichomycin, 1-6 parts of alkyl glycosides, 6-12 parts of dried sweet potatoes, 3-8 parts of ethyl allicin and 3-10 parts of compound sodium nitrophenolate. The environmentally-friendly soil restorer prepared from the corn stigmas, brown algae, bromelain, triiodobenzoic acid, sphagnum moss, trichodermin, alkyl glycosides, dried sweet potatoes, ethyl allicin and compound sodium nitrophenolate can degrade pollutants such as bacteria and heavy metal ions in soil in order to achieve the purpose of soil remediation, has a good effect, effectively avoids damages to human bodies, and has a good environmentally-friendly effect.