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. This evidence concerns the gene TNF and major depressive disorder.