By resorting to a murine model of bone marrow transplantation, we could show that the absence of IDO2 more severely affected fungal burden and lung pathology upon infection with Aspergillus as compared to IDO1, and this effect appeared to be linked to a deficit in the antifungal effector phagocytic activity. Here, IDO2 is linked to infection.