Our study is the first to reveal that the relationship between serum BDNF and chronic pain is distinctly modulated by sex and depression. Here, BDNF is linked to depressive symptom measurement.