C-reactive protein, diet quality and physical activity did not mediate the effect of obesity on major depressive disorder, and C-reactive protein mediated about 25% of the effect of major depressive disorder on adiposity. Here, CRP is linked to major depressive disorder.