Oxygen and glucose deprivation (OGD) are the most important factors related to tissue damage resulting from stroke. Microglial cells have been found to be very vulnerable to ischemia and OGD. It has been reported that isoflurane exposure can protect the mammalian brain from insults such as ischemic stroke; however, the effects of isoflurane on OGD-induced injury in microglia are as yet unknown. In this study, we investigated the effects of isoflurane on OGD-induced injury in microglia. 3-(4,5-dimethylthiazol-2-yl)-2,5-diphenyltetrazolium bromide (MTT) assay and lactate dehydrogenase (LDH) revealed that OGD did indeed induce cell death in microglia. However, isoflurane preconditioning attenuated OGD-induced cell death. Terminal deoxynucleotidyl transferase dUTP nick end labeling (TUNEL) assay demonstrated that isoflurane treatment alleviated OGD-induced apoptosis. Toll-like receptor 4 (TLR4) plays a considerable role in the induction of innate immune and inflammatory responses. Our results indicate that isoflurane preconditioning inhibits the upregulation of TLR4 as well as the activation of its downstream molecules, such as c-Jun N-terminal kinase (JNK) and nuclear factor kappa B (NF-κB), in BV-2 microglia exposed to OGD. Importantly, we also found that isoflurane pretreatment significantly reduces the production of proinflammatory factors such as tumor necrosis factor alpha (TNF-α), interleukin-6 (IL-6), IL-β, and nitric oxide (NO). The results indicate that TLR4 and its downstream NF-κB-dependent signaling pathway contribute to the neuroprotection of microglia exposed to OGD/reoxygenation by administration of isoflurane.