An association between delirium and TNFα < 2857.6 pg/mL (OR 6.14, 95%CI 1.52–24.73 P = 0.01), IP-10 < 333.4 pg/mL (OR 2.61, 95%CI 1.04–6.55, P = 0.04), IL-10 > 57.0 pg/mL (OR 3.72, 95%CI 1.46–9.47, P = 0.01), and IL-8 > 1786.4 pg/mL (OR 5.18, 95%CI 2.08–12.93, P < 0.01) remained significant after adjusting for NIHSS score, pneumonia, and urinary tract infection. The gene discussed is CXCL8; the disease is urinary tract infection.