Specifically, genetic variation in INS was significantly associated with an increased risk of delirium (OR = 1.35, 95% CI: 1.07–1.70, p = 0.01), while genetic variation in IL‐7 and BCL2L1 was significantly associated with a reduced risk of delirium (IL‐7: OR = 0.56, 95% CI: 0.37–0.85, p = 0.01; BCL2L1: OR = 0.63, 95% CI: 0.45–0.88, p = 0.01). Here, BCL2L1 is linked to delirium.