ATP/P2X7 receptor signal aggravates ischemic stroke injury by activating Th17 cells via STAT3/IL-21 pathway. Here, P2RX7 is linked to ischemic stroke.