These findings suggest that IDO1 inhibition effectively mitigates thymic ferroptosis and improves survival outcomes in sepsis. Here, IDO1 is linked to Sepsis.