Ablation of IDO and KMO functions effectively mitigates depression-like behaviors following chronic pain, providing novel therapeutic targets for attenuating depression comorbidity. The gene discussed is IDO1; the disease is major depressive disorder.