To the best of our best knowledge, this is the first study to show that, in the presence of T2DM, TNF-α causes an effect modification on the kynurenine and serotonin pathways in patients with MDD. This evidence concerns the gene TNF and type 2 diabetes mellitus.