Neuropathic pain is a type of chronic pain with complex mechanisms, and current treatments have shown limited success in treating patients suffering from chronic pain. Accumulating evidence has shown that the pathogenesis of neuropathic pain is mediated by the plasticity of excitatory neurons in the dorsal horn of the spinal cord, which provides insights into the treatment of hyperalgesia. In this study, we found that Schnurri-2 (Shn2) was significantly upregulated in the L4-L6 segments of the spinal cord of C57 mice with spared nerve injury, which was accompanied by an increase in GluN2D subunit and glutamate receptor subunit 1 (GluR1) levels. Knocking down the expression of Shn2 using a lentivirus in the spinal cord decreased the GluN2D subunit and GluR1 levels in spared nerve injury mice and eventually alleviated mechanical allodynia. In summary, Shn2 regulates neuropathic pain, promotes the upregulation of GluN2D in glutamatergic neurons and increases the accumulation of GluR1 in excitatory neurons. Taken together, our study provides a new underlying mechanism for the development of neuropathic pain.