Objective To investigate the medication rule of Traditional Chinese Medicine for the treatment of children with enuresis by using data mining technique. Methods Literature related to Traditional Chinese Medicine for the treatment of children with enuresis was screened from retrieving the databases such as China National Knowledge Infrastructure, Wanfang Data Knowledge Service Platform, VIP, China Biology Medicine disc, PubMed, and Embase from January 2000 to September 2023. The Traditional Chinese Medicine Inheritance Computing Platform (V3.0) was adopted to statistically analyze therapy of Traditional Chinese Medicine for the treatment of children with enuresis, and use frequency, property and flavor, meridians and effects of drugs, as well as to perform association rule analysis and cluster analysis. Results A total of 143 prescriptions were enrolled, concerning 18 categories of Traditional Chinese Medicine therapies, therein the top five most frequently used were as follows: warming and strengthening kidney yang, astringing essence and stopping enuresis, invigorating spleen and replenishing qi, tonifying lung and replenishing qi, and tonifying kidney and replenishing qi, successively; furthermore, concerning 159 flavors of Traditional Chinese Medicines, among which high⁃frequency drugs with use frequency≥20 times were 24 flavors, and the top five went to Alpiniae oxyphyliae fructus, Mantidis ootheca, Rhizoma Dioscoreae, Acoritataninowii rhizoma, Hedysarum multijugum, the four properties were mainly warm and moderate, the five flavors were mainly sweet and acrid, and meridians were mainly kidney meridian and spleen meridian, and effects of drugs were mainly tonifying deficiency and astringents. A total of 39 drug combinations were obtained by the association rule analysis, and the top 5 drug combinations with high support degree were Alpiniae oxyphyliae fructus→Linderae radix, Alpiniae oxyphyliae fructus→Mantidis ootheca, Alpiniae oxyphyliae fructus→Rhizoma Dioscoreae, Alpiniae oxyphyliae fructus→Acoritataninowii rhizoma, Alpiniae oxyphyliae fructus→Hedysarum multijugum. A total of 4 categories of core drug combinations were acquired by the cluster analysis. Conclusion In the treatment of enuresis in children, Traditional Chinese Medicine mainly focuses on tonifying deficiency drugs and astringents, and focuses on tonifying deficiency, strengthening middle⁃energizer, tonifying spleen and kidney, astringing essence and stopping enuresis as the main therapy, as well as supplemented by the therapeutic principles such as resuscitation and removing occlusion, keeping coordination between heart and kidney, and soothing liver to remove stagnancy of liver qi.