The melanocortin (MC) system is involved in several biological functions. Its possible role in nociception has recently attracted attention in the field. Published data suggest that melanocortin antagonists are analgesic and agonists are hyperalgesic. Gene expression information about the MC system components (receptor, agonist and antagonist) in pain relevant areas is at present limited. To deepen our knowledge, we studied the expression of MC system components in naı̈ve, sham and neuropathic rat spinal cord and dorsal root ganglia (DRG) by PCR and quantitative real-time PCR. MC4 receptor, proopiomelanocortin (POMC) and agouti-related protein (AgRP) transcripts were detected in both spinal cord and DRG, whereas MC3 receptor was detected only in the spinal cord. To study the relationship between the MC system and chronic pain, we used the chronic constriction injury model and gene expression analysis was performed in rats showing both tactile allodynia and thermal hyperalgesia. MC4 and POMC transcript were upregulated in the spinal cord of neuropathic rats, whereas MC3 and AgRP expression were unaffected. Thus, this study demonstrates for the first time the presence of AgRP in the spinal cord and DRG, suggesting that it could play a role in the regulation of MC system activity. In addition, the upregulation of POMC and MC4, in parallel with the presence of tactile allodynia and thermal hyperalgesia, further supports the idea of MC system involvement in nociception.