Neuropathic pain is a pathological state induced by the aberrant generation of pain signals within the nervous system. Ginkgolide B(GB), an active component found of Ginkgo. biloba leaves, has neuroprotective properties. This study aimed to explore the effects of GB on neuropathic pain and its underlying mechanisms. In the in vivo study, we adopted the rat chronic constriction injury model, and the results showed that GB(4 mg/kg) treatment effectively reduced pain sensation in rats and decreased the expressions of Iba-1 (a microglia marker), NLRP3 inflammasome, and inflammatory factors, such as interleukin (IL)-1β, in the spinal cord 7 days post-surgery. In the in vitro study, we induced microglial inflammation using lipopolysaccharide (500 ng/mL) / adenosine triphosphate (5 mM) and treated it with GB (10, 20, and 40 μM). GB upregulated the expression of mitophagy proteins, such as PINK1, Parkin, LC3 II/I, Tom20, and Beclin1, and decreased the cellular production of reactive oxygen species. Moreover, it lowered the expression of inflammation-related proteins, such as Caspase-1, IL-1β, and NLRP3 in microglia. However, this effect was reversed by Parkin shRNA/siRNA or the autophagy inhibitor 3-methyladenine (5 mM). These findings reveal that GB alleviates neuropathic pain by mitigating neuroinflammation through the activation of PINK1-Parkin-mediated mitophagy.