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. Here, IL17A is linked to androgen insensitivity syndrome.