Lower levels of high-density lipoprotein cholesterol (HDL-C) and apolipoprotein A-I (ApoA-I) and higher triglycerides (TG)/HDL-C ratio were statistically significantly associated with a higher risk of AF during the entire follow-up (HR ranging from 1.13 [95% CI: 1.07 to 1.19, p < 0.001] to 1.53 [95% CI: 1.12 to 2.00, p = 0.007]). The gene discussed is APOA1; the disease is atrial fibrillation.