These findings suggest that P2X7 may play a crucial role in regulating IL-17A secretion by CD4+T cells and contributes to the exacerbation of cerebral infarction. Here, IL17A is linked to brain infarction.