We demonstrated that inflammatory markers, particularly CRP, significantly mediated the effect of composite pain scores on depression risks, indicating a critical role of systemic inflammation. Here, CRP is linked to depressive disorder.