Perioperative neurocognitive dysfunction (PND) emerges as a common postoperative complication among elderly patients. Currently, the mechanism of PND remains unclear, but there exists a tendency to believe that inflammation plays a significant role in PND. Alterations in the abundance of intestinal microbiota can increase the permeability of the intestinal mucosal barrier and incite extraintestinal inflammatory responses. Metabolites from these microbiota can be absorbed by the intestinal mucosa into the bloodstream, exerting influence upon the central nervous system (CNS). Lactobacillus (Lac), serving as an intestinal probiotic bacterium, possesses the capacity to modulate emotional behavior and cognitive functions. Extracellular vesicles (EVs) are recognized as novel therapeutic carriers for targeted delivery to regulate physiology and pathogenesis. While the mechanism governing the primary function of Lac-EVs in the CNS remains uncertain. Therefore, we established an in vitro neuroinflammation model to induce PND and then treated the mice with Lac-EVs to observe the effect of these EVs on neuroinflammation, particularly on microglial (MG) polarization. Our research unveils that Lac-EVs reduced inflammation induced by LPS in microglia and the activation of related proteins, including the mRNA expression of M1 labeled protein (iNOS). Moreover, the mRNA expression of M2-labeled protein (Arg1) increased. In addition, flow cytometry revealed that the ratio of M1/M2 microglia also changed significantly. Therefore, Lac-EVs promoted the differentiation of M2 microglia by inducing the preferential expression of specific markers related to M2 macrophages and inflammation. In terms of inflammatory cytokine expression, Lac-EVs decreased the secretion of proinflammatory cytokines (IL-1β and IL-6) and increased IL-10 production after lipopolysaccharide (LPS) stimulation. Therefore, Lac-EVs induce the activation of M2 microglial cells without inducing cellular harm in vitro, and they demonstrate anti-inflammatory effects against lipopolysaccharide-induced neuroinflammation. This finding suggested that it is an effective anti-inflammatory strategy for alleviating inflammation-driven PNDs.