Opioids, such as morphine, are the most potent drugs used to treat pain. Long-term use results in high tolerance to morphine. High mobility group box-1 (HMGB1) has been shown to participate in neuropathic or inflammatory pain, but its role in morphine tolerance is unclear. In this study, we established rat and mouse models of morphine tolerance by intrathecal injection of morphine for 7 consecutive days. We found that morphine induced rat spinal cord neurons to release a large amount of HMGB1. HMGB1 regulated nuclear factor κB p65 phosphorylation and interleukin-1β production by increasing Toll-like receptor 4 receptor expression in microglia, thereby inducing morphine tolerance. Glycyrrhizin, an HMGB1 inhibitor, markedly attenuated chronic morphine tolerance in the mouse model. Finally, compound C (adenosine 5'-monophosphate-activated protein kinase inhibitor) and zinc protoporphyrin (heme oxygenase-1 inhibitor) alleviated the morphine-induced release of HMGB1 and reduced nuclear factor κB p65 phosphorylation and interleukin-1β production in a mouse model of morphine tolerance and an SH-SY5Y cell model of morphine tolerance, and alleviated morphine tolerance in the mouse model. These findings suggest that morphine induces HMGB1 release via the adenosine 5'-monophosphate-activated protein kinase/heme oxygenase-1 signaling pathway, and that inhibiting this signaling pathway can effectively reduce morphine tolerance.