RNA N6-methyladenosine (m6A) is the most common type of modification in eukaryotic mRNA. The relationship between m6A modification and disease has been studied extensively, but there have been few studies on chronic heart failure (CHF). This study investigated a possible role for m6A in the diagnosis of CHF. Seven candidate m6A regulators (writers: WTAP and ZC3H13; readers: YTHDF3, FMR1, IGFBP1, and ELAVL1; eraser: FTO) were identified using a random forest (RF) model and the GSE5406 dataset from the Gene Expression Omnibus database. A nomogram model was developed to predict the risk of CHF, while consensus clustering methodology assigned CHF samples into two m6A patterns (cluster A and cluster B) according to the 7 candidate m6A regulators. Principal component analysis was used to calculate an m6A score for each sample and to quantify m6A patterns. Decision curve analysis and the nomogram model were used to obtain predictions that may be of clinical use. Patients in cluster B had higher m6A scores than patients in cluster A. Cluster B patients also had higher expression levels (ELs) of IL-4, IL-5, IL-10 and IL-13 than patients in cluster A, whereas cluster A patients had a higher EL for IL-33. The m6A cluster B pattern likely represents the ischemic heart failure (HF) disease group. m6A regulators are important in the pathogenesis of CHF associated with ischemic and idiopathic dilated cardiomyopathy, and may prove useful for the diagnosis and treatment of CHF.