Retinitis pigmentosa (RP) is an inherited retinal neurodegenerative disease which is a significant contributor to blindness. Microglia-mediated inflammation plays a crucial role in retinitis pigmentosa. However, the activation mechanisms of microglia and the role of polarized microglia in RP remain unclear. High-mobility group box 1 (HMGB1) is a key contributor to aseptic inflammation, and glycyrrhizin exerts anti-inflammatory effects by targeting HMGB1. This study aimed to investigate the role of HMGB1 and microglia in RP and explore the protective effects of glycyrrhizin on photoreceptors. Male C57BL/6 mice and age-matched rd1 mice were used for in vivo models, while zaprinast-treated 661w cells and HMGB1-treated BV-2 cells were used for in vitro models. In this study, the expression of HMGB1 was analyzed using QPCR and western blot (WB). Immunofluorescence staining and ELISA were performed to assess HMGB1 translocation and secretion. Glycyrrhizin was used to inhibit HMGB1, while FPS-ZM1 served as an inhibitor of the receptor for advanced glycation end products (AGER). Microglial polarization was evaluated by QPCR, and the HMGB1/ AGER/ NF-κB signaling pathway was analyzed through WB. Photoreceptor degeneration and visual function were assessed through H&E staining, electroretinography, and TUNEL staining. We observed elevated levels of HMGB1 in the retina of rd1 mice and demonstrated in vitro that photoreceptors may serve as a significant source of HMGB1 in the retina. Additionally, HMGB1 was observed to cause microglial polarization via the HMGB1/AGER/ NF-κB pathway and the polarized microglia secrete inflammatory factors including TNF-α and IL-1β which accelerates the degeneration of photoreceptors. Glycyrrhizin reversed the degeneration of photoreceptors and loss of visual function in rd1 mice through the HMGB1/AGER/ NF-κB pathway. Our findings showed that HMGB1 secreted by photoreceptors activated the microglia through the HMGB1/AGER/NF-κB pathway and the polarized microglia accelerates the degeneration of photoreceptors. Glycyrrhizin reversed the polarization caused by HMGB1 in vitro and delayed the progression of RP in vivo, presenting a potential novel approach for treating retinitis pigmentosa.