The retrosplenial cortex (RSC) is a vital area for storing remote memory and has recently been found to undergo broad changes after peripheral nerve injury. However, little is known about the role of RSC in pain regulation. Here, we examine the involvement of RSC in the pain of mice with nerve injury. Notably, reducing the activities of calcium-/calmodulin-dependent protein kinase type II-positive splenial neurons chemogenetically increases paw withdrawal threshold and extends thermal withdrawal latency in mice with nerve injury. The single-cell or single-nucleus RNA-sequencing results predict enhanced excitatory synaptic transmissions in RSC induced by nerve injury. Local infusion of 1-naphthyl acetyl spermine into RSC to decrease the excitatory synaptic transmissions relieves pain and induces conditioned place preference. Our data indicate that RSC is critical for regulating physiological and neuropathic pain. The cell type-dependent transcriptomic information would help understand the molecular basis of neuropathic pain.