Objective To explore the correlation of heart failure stage and gut flora composition. Methods From March 2018 to September 2018, 25 patients with symptomatic heart failure stage C or D (HFCD) were consecutively admitted to the Department of cardiovascular medicine of PLA General Hospital, and 25 patients with heart failure stage B (HFB) and heart failure stage an (HFA) were matched according to sex and age. Patient stool samples were collected and compared for differences in gut microbiota composition between groups using 16srna sequencing with Q iime software (version 1.9.1) and R software (version 2.15.3) analysis. Results There were no significant differences in age, sex, or traditional risk factors for heart failure between the groups. HFA group in Chao1 (P=0.005), out (P=0.018) and Pd_ whole_ Tree (P=0.011) was significantly higher in the HFC group and D group. Although no statistically significant differences were observed between the HFA and HFB groups and the HFB and HFCD groups, significant differences were observed in Chao1, out, and Pd_ whole_ Tree. These three indices were consistent from the HFA group to the HFB group and from the HFB group to the HFCD group α Decreasing trend in diversity. The relative abundance of biophilia was significantly higher in the HFB group than in the HFA group (P=0.011), and the relative abundances of succiniclasticum (P=0.011) and dorea were significantly lower in the HFB group than in the HFA group. PCoA unweighted UniFrac analysis showed that after adjustment for all clinical factors, there was no significant difference in the presence of β. There was a significant difference in diversity (R2=0.073, P<0.001). KEGG-based functional analysis identified a range of differences related to heart failure staging. Conclusions The composition and function of gut microbiota correlate with heart failure staging. The change in gut microbiota may cause the progression of heart failure.