Delta-opioid receptor (DOR) is widely distributed in the central nervous system, and its activation protects against ischaemic/hypoxic brain injury. However, the role of DOR in microglia in ischaemic stroke has not yet been fully investigated. We found that DOR was expressed in both human and mouse cerebral microglia, besides, it was upregulated in activated BV2 microglial cells by immunofluorescence staining and Western blot. DOR activation by the specific agonist TAN-67 significantly enhanced BV2 microglial cell viability and reduced apoptosis, as evidenced by decreased cleaved caspase-3 levels and TdT-mediated aUTP-X nick end labelling (TUNEL) staining after LPS stimulation. Furthermore, activation of DOR significantly inhibited inducible nitric oxide synthase (iNOS) production and dose-dependently inhibited the mRNA and protein expression levels of other pro-inflammatory cytokines, including IL-1β and IL-6, whereas it increased the expression of the anti-inflammatory cytokine IL-10 in LPS-stimulated BV2 microglial cells; these effects were correlated with diminished phosphorylation of extracellular signal-regulated kinase (ERK), c-Jun N-terminal kinase (JNK), and p38. Moreover, these effects could be reversed by the DOR antagonist naltrindole. DOR activation can activate microglia to switch to the beneficial phenotype and inhibit LPS-induced inflammation and apoptosis via the mitogen-activated protein kinase (MAPK)/caspase-3 pathway in BV2 microglial cells. This study provides new insight into neuroprotection against and treatment of ischaemic stroke.