Our findings highlight the causal role of p21+CD86+ microglia in neuroinflammation and uncover novel therapeutic targets to enhance recovery in stroke patients. This evidence concerns the gene CD86 and stroke disorder.