In summary, our findings revealed five significant genes: CP, STEAP3, SAT1, TFRC, and LPCAT3. Among them, CP and STEAP3 might be used as highly correlated biomarkers of AF and HF, providing new insights into their common pathogenesis and offering therapeutic targets for patients with coexisting AF and HF. Here, LPCAT3 is linked to atrial fibrillation.