A sterilization and disinfection preparation for pigsty is made from the following weight components by weight: 5 parts of tourmaline powder, 5 parts of glyceryl behenate, 10 parts of quick lime, 3 parts of theophylline, 3 parts of curcumin, 3 parts of citric acid, 10 parts of persimmon leaf, 15 parts of camphor, 20 parts of crowndaisy chrysanthemum, 15 parts of loquat leaf, 10 parts of licorice, 5 parts of setose abelmoschus leaf, 15 parts of willow leaf, 5 parts of pepper leaves, 5 parts of dandelion, 5 parts of pomegranate seed, 10 parts of Zizania latifolia leaves, 25 parts of Linden peel, 5 parts of garlic, 5 parts of chestnut leaf, 5 parts of Cymbopogon citratus., 5 parts of India canna flower, 5 parts of mint leaves, 5 parts of seaweed, 5 parts of lily, 5 parts of Schizonepeta and 500 parts of distilled water. The deodorant can effectively eliminate smelly substances of pig feces, and has the sterilization function; besides the removal of fecal odor, the preparation preserves the survival environment to some extent, and keeps fresh air. The preparation uses easily available raw materials, and has low production and usage cost.