TNF-α levels and the ratio of quinolinic acid to tryptophan were significantly higher in MDD with T2DM. This evidence concerns the gene TNF and major depressive disorder.