BackgroundNeuroinflammation is a vital pathophysiological process during ischemic stroke. Activated astrocytes play a major role in inflammation. Lipocalin-2 (LCN2), secreted by activated astrocytes, promotes neuroinflammation. Pyroptosis is a pro-inflammatory form of programmed cell death that has emerged as a new area of research in stroke. Nevertheless, the potential role of LCN2 in astrocyte pyroptosis remains unclear.MethodsAn ischemic stroke model was established by middle cerebral artery occlusion (MCAO) in vivo. In this study, in vitro, oxygen–glucose deprivation and reoxygenation (O/R) were applied to cultured astrocytes. 24p3R (the LCN2 receptor) was inhibited by astrocyte-specific adeno-associated virus (AAV-GFAP-24p3Ri). MCC950 and Nigericin sodium salt (Nig) were used to inhibit or promote the activation of NLRP3 inflammasome pharmacologically, respectively. Histological and biochemical analyses were performed to assess astrocyte and neuron death. Additionally, the neurological deficits of mice were evaluated.ResultsLCN2 expression was significantly induced in astrocytes 24 h after stroke onset in the mouse MCAO model.Lcn2knockout (Lcn2−/−) mice exhibited reduced infarct volume and improved neurological and cognitive functions after MCAO. LCN2 and its receptor 24p3R were colocalized in astrocytes. Mechanistically, suppression of 24p3R by AAV-GFAP-24p3Ri alleviated pyroptosis-related pore formation and the secretion of pro-inflammatory cytokines via LCN2, which was then reversed by Nig-induced NLRP3 inflammasome activation. Astrocyte pyroptosis was exacerbated inLcn2−/−mice by intracerebroventricular administration of recombinant LCN2 (rLCN2), while this aggravation was restricted by blocking 24p3R or inhibiting NLRP3 inflammasome activation with MCC950.ConclusionLCN2/24p3R mediates astrocyte pyroptosis via NLRP3 inflammasome activation following cerebral ischemia/reperfusion injury.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12974-023-02819-5.