To summarize the medication rules of Chinese herbs to treat heart failure with preserved ejection fraction (HFPEF) based on data mining and to provide references for clinical utilization.The China National Knowledge Infrastructure (CNKI), Wanfang database (Wanfang), VIP database (VIP), Chinese Biomedical Literature (CBM), PubMed, Embase, and Cochrane Library databases were searched from inception to October 2021 to identify relevant literature on treating HFPEF with Chinese herbs. Microsoft Excel 2019 was used to set up a database, and then, association rule analysis and hierarchical cluster analysis were performed by using apriori algorithm and hclust function respectively in R-Studio (Version 4.0.3).A total of 182 qualified papers were included, involving a total of 92 prescriptions, 130 Chinese herbs, and 872 individual herbs prescribed, with an average of 9.5 herbs per prescription. The six most frequently prescribed herbs were Astragali Radix (Huangqi), Salviae Miltiorrhizae Radix Et Rhizoma (Danshen), Poria (Fuling), Glycyrrhizae Radix Et Rhizoma (Gancao), Cinnamomi Ramulus (Guizhi), and Ginseng Radix Et Rhizoma (Renshen). There were 35 herbs used more than 5 times, involving 11 efficacy categories. The top three categories were deficiency-tonifying herbs, blood-activating and stasis-removing herbs, and dampness-draining diuretic herbs. The most commonly used herbs were mainly warm and sweet. The primary meridian tropisms were Lung Meridian, Heart Meridian and Spleen Meridian. Association rule analysis yielded 26 association rules, such as Astragali Radix (Huangqi)Salviae Miltiorrhizae Radix Et Rhizoma (Danshen), Poria (Fuling), Cinnamomi Ramulus (Guizhi)Atractylodis Macrocephalae Rhizoma (Baizhu). Hierarchical cluster analysis yielded four herb classes, and their functions were mainly qi-replenishing and yang-warming, blood-activating and diuresis-inducing.HFPEF is the syndrome of root vacuity and tip repletion, and its core pathogenesis is "deficiency", "stasis", and "water", with "deficiency" being the most principal, which is closely related to Xin (heart), Fei (Lung), and Pi (Spleen). The treatment of this disease occurs by improving qi, warming yang, activating blood and inducing diuresis. Astragali Radix (Huangqi) with Salviae Miltiorrhizae Radix Et Rhizoma (Danshen) is the basic combination of herbs applied.