To explore famous veteran traditional Chinese medicine( TCM) doctors' medication rules in treating spermatorrhea based on the medical cases about spermatorrhea collected from Hundred TCM Clinical Doctors of Hundred Years in China and Proven Cases and National Medical Master Test Case. Researchers extracted such data as medicinal and therapies from these cases according to the inclusion and exclusion criteria. Then,Excle 2010,SPSS Clementine 12. 0 and SPSS 22. 0 were adopted respectively for frequency analysis,association rules analysis,cluster analysis and factor analysis. Cluster analysis was carried out by Ochiai algorithm of binary variable data,one of the systematic clustering methods. And principal component analysis was used for factor analysis. Finally,27 medical cases and 41 prescriptions were included in total. The frequency analysis showed that the most common therapy was the astringent therapy( n = 28),which was followed by the tonifying method,tranquilizing method,heat-clearing method,damp-dispelling method and Qiregulating method. The top three kinds of high-frequency traditional Chinese medicines were Poria,Ostreae Concha and Dioscoreae Rhizoma. The association rules analysis found out 11 association rules of medicine pairs,23 association rules of medicine combinations of the three kinds of herbs and 6 association rules of medicine combinations of five kinds of herbs. Among them,the representatives were Rubi Fructus→Fossilia Ossis Mastodi,Rehmanniae Radix Praeparata + Corni Fructus→Dioscoreae Rhizoma,and Pinelliae Rhizoma→Citri Reticulatae Pericarpium,which showed the therapeutic characteristics of astringing,tonifying the kidney and replenishing essence,fortifying the spleen and dispelling dampness. Moreover,7 medicine groups with relevance were extracted from the tree map generated by cluster analysis,including " Phellodendri Chinensis Cortex and Anemarrhenae Rhizoma" and " Angelicae Sinensis Radix,Rehmanniae Radix,Bupleuri Radix and Glycyrrhizae Radix et Rhizoma",which demonstrated the effects of nourishing Yin and purging fire,tonifying and soothing the liver. Besides,totally 12 common factors were obtained according to factor analysis,including 14 drug combinations,like " Amomi Fructus,Anemarrhenae Rhizoma and Phellodendri Chinensis Cortex" and " Nelumbinis Stamen,Moutan Cortex,Poria and Scrophulariae Radix",which indicated the compatibility characteristics of tonifying the spleen and purging fire,dispelling dampness and clearing heat. In conclusion,data mining techniques( including frequency analysis,association rules analysis,cluster analysis and factor analysis) were used to comprehensively analyze the famous veteran TCM doctors' medication rules in treating spermatorrhea,which was helpful for guiding the clinical practice of treating spermatorrhea in TCM.