In the current study, a positive correlation was found between TNF-α, IL-6, IL-8, and IL-17A after AIS onset and anxiety, depression, or cognitive impairment at different time points. The gene discussed is CXCL8; the disease is major depressive disorder.