This study found that: 1) elevated serum ATG5 level was correlated to elevated Th2 and Th17 cells in stroke patients; 2) increased Th17 cells was associated with worse cognition impairment in stroke patients; and 3) serum ATG5 level was positively correlated with incidence and deterioration of cognition impairment in stroke patients. This evidence concerns the gene ATG5 and Cognitive impairment.