CRP and major depressive disorder: After adjusting for potential confounders, applying two different statistical models, and conducting a stratification analysis, we consistently found serum magnesium levels to be inversely associated with depression scores, especially among people with elevated CRP levels.