The invention discloses a Chinese medicinal composition for preventing and treating gastrointestinal parasites of pigs, which is prepared from the following raw materials in parts by weight: Agrimoniasprouts of 3-6 parts, pumpkin seeds of 3-6 parts, torreya nut of 2-5 parts, bezoar of 2-8 parts, ferula asafoetida of 1-5 parts, Cyrtomium fortune of 1-5 parts, betel nut of 1-5 parts, morning gloryof 3-6 parts, Quisqualis indica of 2-7 parts, stone-like omphalia of 2-5 parts, lemongrass of 3-6 parts, chrysanthemum of 4-8 parts, cinnamon of 2-5 parts, purslane of 2-5 parts, borax of 1-4 parts, honeysuckle of 1-4 parts, forsythia heart of 3-8 parts, dandelion of 2-8 parts, mint of 2-8 parts, rhizoma anemarrhenae of 3-5 parts, astragalus root of 5-10 parts, golden buckwheat of 2-5 parts, perilla of 3-6 parts, radix Angelicae Dahuricae of 3-6 parts, chitosan , prickly ash extract of 3-6 parts, allicin of 1-4 parts, tea polyphenol of 3-6 parts, and compound plant polysaccharide of 2-6 part,that invention carries out scientific compatibility on a plurality of traditional Chinese medicine, and has the functions of clearing away heat and drying dampness, dispel insects and bacteria, eliminating accumulation and increasing fat.