Subgroup analysis showed significant heterogeneity across sex, smoking, alcohol consumption, and coronary heart disease status.<h4>Conclusion</h4>BNP/LVEF is independently and nonlinearly associated with atrial fibrillation and demonstrates good discriminative performance. Here, NPPB is linked to atrial fibrillation.