In our research, we found that the behavior of mechanical allodynia and heat hyperalgesia was not in correspondence to the expression levels of CXCR4 and TNF-α in the spinal cord dorsal at 2 weeks of diabetes but paralleled to the expression levels of CXCR4 and TNF-α in the DRG at 2 weeks of diabetes, while at 5 weeks of diabetes the enhanced expression levels of CXCR4 and TNF-α at both the spinal corddorsal and DRG well reflected the reduced threshold of mechanical allodynia and heat hyperalgesia. This evidence concerns the gene CXCR4 and diabetes mellitus.