The invention provides an externally used traditional Chinese medicine ointment for treating children diarrhea. The ointment comprises the following raw materials in parts by weight: 30-50 g of medicinal evodia fruit, 30-50 g of Indian bread, 30-50 g of atractylodes rhizome, 30-50 g of cassia bark, 20-30 g of maire sophora root, 20-30 g of agrimony, 20-30 g of Chinese gall, and 10-20 g of clove. Adhering to the concept of traditional Chinese medicine, the ointment uses pure natural raw materials, reasonable compatibility and synergistic effects are performed, a safe, efficient and high-qualityproduct is developed, medicine-taking and injection are not needed, and the ointment has the effects of benefiting qi and invigorating spleen, and relieving diarrhea with astringents, can effectivelytreat children diarrhea, has significant effects, has little side effects, and is safe and effective. Pediatric patients are willing to accept, and use and carrying are convenient.