The invention provides medicine for treating swine endoparasite and a preparing method thereof, and belongs to the field of veterinary medicine. The medicine for treating swine endoparasite is prepared from cyrtomium rhizome, common carpesium fruit, areca-nut, stone-like omphalia, szechwan chinaberry fruit, fructus cnidii, semen torreya, fructus ulmi, the fruit of rangoon creeper, radix stemonae, eclipta alba, myrsine semiserrata, endothelium corneum gigeriae galli, honeycomb, brucea javanica, Chihe, aloe, Japanese dock root, baliospermum micrxnthum muell arg, gemma agrimoninae, radix pseudostellariae and honey. The medicine has the endoparasite killing and helminthic effects, is mainly used for treating parasitic disease and good in treatment effect, takes effect fast, has the endoparasite killing effects, can unblock intestines, guide stagnance and discharge endoparasite bodies out of the body, lays emphasis on spleen and stomach regulation and qi and blood nourishing and has the advantages of being high in pertinency, low in cost, free of toxicity and medicine residue, environmentally friendly and safe. The medicine can improve swing pertinency and own immunity and increase the survival rate and market benefits.