The invention discloses a Chinese medicinal composition for preventing and treating porcine diarrhea, which mainly comprises the following raw materials in parts by weight: 6 parts of Chinese pulsatilla root, 5 parts of dandelion, 5 parts of kuhseng, 3 parts of baical skullcap root, 3 parts of honeysuckle, 3 parts of smoked plum, 5 parts of medicine terminalia fruit, 5 parts of astragalus root, 5 parts of hawthorn, 2 parts of white peony root, 6 parts of purslane, 3 parts of liquorice and 1 part of pepper. A pure Chinese medicinal composition is adopted in the invention, a formula is formed by combining primary causes, clinical symptoms and physiological characteristics of porcine diarrhea, and the raw materials are mixed to achieve the functions of clearing heat and eliminating toxic materials, resisting bacteria and inflammation, relieving diarrhea with astringents, promoting digestion, eliminating dampness and regulating vital energy, warming middle-jiao to dispel cold, strengthening middle warmer and benefiting vital energy, strengthening the spleen and promoting production of body fluid, benefiting vital energy and raising Yang, strengthening body immunity and the like, so that the Chinese medicinal composition can treat both the symptoms and root causes and can well prevent and treat the porcine diarrhea, and the incidence rate and death rate of swinery can be reduced. The Chinese medicinal composition prevents and treats porcine diarrhea by simple preparations and administration routes, and has better prevention and treatment effects on porcine diarrhea in each phase caused by various reasons. All medicaments are fed along with feed, have small stress, save labor and time, and are suitable for a large-scale pig farm. The Chinese medicinal composition has the advantages of low cost, convenience in use, obvious effect and no toxicity, harm, drug resistance or residues, and meets requirements for large-scale culture production, food safety and human health.