Antipsychotics with higher muscarinic M2 receptor binding affinity showed stronger associations with AF risk, particularly in patients with hypertension, diabetes, or coronary artery disease. Here, CHRM2 is linked to atrial fibrillation.