We observed a significant increase in IDO expression in TB mice with the presence of depressive-like behaviour. Here, IDO1 is linked to tuberculosis.