Postoperative cognitive dysfunction (POCD) is a common phenomenon among elderly patients with unclear etiology. Sterile alpha and TIR motif-containing 1 (Sarm1) plays important roles in neuroinflammation and cognitive function, and activates Calpain which has been shown to promote POCD through TrkB cleavage. This study aims to test the hypothesis that Sarm1 is involved in POCD through regulating Calpain activity. Wild type and Sarm1 knock out mice were exposed to isoflurane. Mouse cognitive function was determined by Morris water maze test. Neuroinflammation was determined by Iba1 and GFAP protein levels and mRNA expression of proinflammatory cytokines. Calpain activation was determined by αII-spectrin degradation and TrkB cleavage. Mitogen-activated protein kinase (MAPK) signaling was determined by c-Jun N-terminal kinase and cJun phosphorylation both in vivo and in vitro by Western blot and immunofluorescence staining. We found that Sarm1 deletion suppressed isoflurane induced cognitive impairment and neuroinflammation. Deletion of Sarm1 inhibited isoflurane induced αII-spectrin degradation and TrkB cleavage, which indicates suppression of Calpain activation. Finally, deletion of Sarm1 suppressed isoflurane induced MAPK signaling both in vivo and in vitro. Our findings suggest that isoflurane anesthesia induced cognitive impairment is prevented by Sarm1 deletion in mice, making Sarm1 a potent therapeutic target for treating or preventing POCD.