Thalidomide is an antiinflammatory, antiangiogenic and immunomodulatory agent which has been used for the treatment of erythema nodosum leprosum and multiple myeloma. It has also been employed in treating complex regional pain syndromes. The current study aimed to reveal the molecular mechanisms underlying thalidomide-induced pain antihypersensitive effects in neuropathic pain. Thalidomide gavage, but not its more potent analogs lenalidomide and pomalidomide, inhibited mechanical allodynia and thermal hyperalgesia in neuropathic pain rats induced by tight ligation of spinal nerves, with ED50 values of 44.9 and 23.5 mg/kg, and Emax values of 74% and 84% MPE respectively. Intrathecal injection of thalidomide also inhibited mechanical allodynia and thermal hyperalgesia in neuropathic pain. Treatment with thalidomide, lenalidomide and pomalidomide reduced peripheral nerve injury-induced proinflammatory cytokines (TNFα, IL-1β and IL-6) in the ipsilateral spinal cords of neuropathic rats and LPS-treated primary microglial cells. In contrast, treatment with thalidomide, but not lenalidomide or pomalidomide, stimulated spinal expressions of IL-10 and β-endorphin in neuropathic rats. Particularly, thalidomide specifically stimulated IL-10 and β-endorphin expressions in microglia but not astrocytes or neurons. Furthermore, pretreatment with the IL-10 antibody blocked upregulation of β-endorphin in neuropathic rats and cultured microglial cells, whereas it did not restore thalidomide-induced downregulation of proinflammatory cytokine expression. Importantly, pretreatment with intrathecal injection of the microglial metabolic inhibitor minocycline, IL-10 antibody, β-endorphin antiserum, and preferred or selective μ-opioid receptor antagonist naloxone or CTAP entirely blocked thalidomide gavage-induced mechanical antiallodynia. Our results demonstrate that thalidomide, but not lenalidomide or pomalidomide, alleviates neuropathic pain, which is mediated by upregulation of spinal microglial IL-10/β-endorphin expression, rather than downregulation of TNFα expression.