Abstract: Objective: To discuss the medication rules of Chinese medicine for gestational diabetes mellitus (GDM) based on data mining. Methods: The Chinese and English literatures on the treatment of GDM by Chinese medicine were retrieved from China National Knowledge Infrastructure Database, Wanfang data,China Science and Technology Journal Database,PubMed,Web of Science and Embase database from the establishment of the databases to February 2023,and the prescriptions were collected. The frequency analysis of syndrome elements and Chinese medicinals used was carried out; the association rule was used to analyze the etiology of GDM related syndrome elements and compatibility rules of Chinese medicinals; the high-frequency medicines used for GDM was given the cluster analysis. Results: A total of 304 articles concerning the clinical study on Chinese medicine for GDM were included , with 411 diagnostic records of syndrome elements and 347 medication records of prescriptions. The most common syndrome elements of GDM were yin deficiency and qi deficiency, and the syndrome elements of disease location were the kidney,spleen and liver. The association rule analysis suggested 16 main rules between the syndrome elements. GDM medication involved 128 Chinese medicinals, and the total frequency of medicinals use was 3 083 times, and 28 high-frequency Chinese medicinals with a frequency of more than or equal to 30 times. The Chinese medicinals were mainly cold, warm and balanced in nature,and their flavors were mainly sweet,bitter and acrid. In terms of the channel entries, the majority was the kidney, lung, spleen, liver, heart and stomach. According to the association rule analysis,28 effective association rules of Chinese medicinals were obtained,and the top three in terms of support were: Alismatis Rhizoma→Dioscoreae Rhizoma and Ligustri Lucidi Fructus→ Astragali Radix, Alismatis Rhizoma+Poria→Dioscoreae Rhizoma. It was better to classify 28 highfrequency Chinese medicinals into 4 categories. Conclusion: In the pathogenesis of GDM, yin deficiency and qi deficiency are the most common in terms of the disease nature, and the two are often coupled together. The common disease locations are the kidney,spleen and liver,and there is a correlation between the liver and kidney, and the spleen and kidney. GDM medication mainly uses sweet, cold, warm and balanced Chinese medicinals and they are mainly used for tonifying yin and deficiency. The compatibility between commonly used Chinese medicinals is mainly to tonify qi and engender fluid, and fortify the spleen and tonify the kidney.