These results provide certain evidence that KP may be a vital pathway mediated by IDO linking inflammation and glutamate, contributing to depression. Here, IDO1 is linked to major depressive disorder.