The invention discloses a deodorant specially used in a pig farm, which is prepared from saccharides, probiotic strains, a traditional Chinese medicine additive, an enzyme preparation, tea residue, active carbon powder, and fruit residues, wherein the traditional Chinese medicine additive is composed of: astragalus membranaceus, lotus leaves, licorice roots, dandelion, coptis chinensis, rhizoma atractylodis, pericarpium citri reticulatae, stir-fried semen raphani, white peony roots, hawthorns, alpinia katsumadai, costustoot, codonopsis pilosula and endothelium corneum gigeriae galli. The deodorant employs abundant and low-cost raw materials and simple preparation process. As a feed additive, the deodorant can effectively reduce content of smelly gas, such as ammonia, H2S and the like, in excrements of pigs, can improve function of intestines and stomach and immunity of pigs, thus preventing and treating hog cholera. As an external-use hog house deodorant, the deodorant can reduce the release quantity of the smelly gas in the excrements of pigs and is convenient to use and store. Being mixed with the excrements of pigs, the deodorant also can increase nutrient content in the excrements of pigs, so that the excrements of pigs can be further processed into fertilizers. The deodorant can be used in large-scale pig farms and small-scale farmers, can improve the environment of the pig farms and surrounding living houses, and has extensive promotion prospect.