MDD with T2DM indicated stronger positive relationships between the ratio of kynurenine pathway metabolites and inflammatory cytokines, especially TNF-α, than MDD without T2DM. The gene discussed is TNF; the disease is major depressive disorder.