Data mining techniques were used to compare and analyze the herbal compositions of anti-aging Chinese medicine prescription in Chinese Song Dynasty and modern literature and analyze the potential patterns. Methods: 222 anti-aging formulas were screened and included from the three major officially revised prescription works of the Song Dynasty, namely, Taiping Shenghui Fang, Shengji Zonglu, and Taiping Huimin Hejiaobu Fang, according to the nanoexclusion criteria. 68 modern anti-aging prescriptions were screened for inclusion. Frequency statistics were performed using Microsoft Excel 2020, and association rules were analyzed using SPSS Modeler to construct herbal association network diagrams. Results: Frequency analysis of 222 Song Dynasty formulas and 68 modern formulas revealed that Song Dynasty herbals were used in the top 3: indian bread, honey, Cassia bark. Modern herbals used in the top 3 were: Prepared rehmannia root, indian bread, ginseng. The high-frequency uses of herbs in Song Dynasty and modern terminology are: indian bread, prepared rehmannia root, ginseng, Chinese yam, desertliving cistanche \, twotoothed achyranthes root, and core herbal pairs were discovered by association rules. Conclusion: The use of some herbs appeared to be different in ancient and modern terms, but in both Song and modern terms, in anti-aging, the dispensations emphasized the importance of tonifying the kidneys. In addition, the high-frequency use of herbals were mostly warm, flat, and moisturizing and nourishing, form and spirit, and yin and yang, which provided inspiration into the research and development of new formulas.