Our study is the first to reveal that the relationship between serum BDNF and chronic pain is distinctly modulated by sex and depression. This evidence concerns the gene BDNF and depressive disorder.