Half a century ago, chronic granulomatous disease (CGD) was first described as a disease fatally affecting the ability of children to survive infections. Various milestone discoveries have since been made, from an insufficient ability of patients' leucocytes to kill microbes to the underlying genetic abnormalities. In this inherited disorder, phagocytes lack NADPH oxidase activity and do not generate reactive oxygen species, most notably superoxide anion, causing recurrent bacterial and fungal infections. Patients with CGD also suffer from chronic inflammatory conditions, most prominently granuloma formation in hollow viscera. The precise mechanisms of the increased microbial pathogenicity have been unclear, and more so the reasons for the exaggerated inflammatory response. Here we show that a superoxide-dependent step in tryptophan metabolism along the kynurenine pathway is blocked in CGD mice with lethal pulmonary aspergillosis, leading to unrestrained Vgamma1(+) gammadelta T-cell reactivity, dominant production of interleukin (IL)-17, defective regulatory T-cell activity and acute inflammatory lung injury. Although beneficial effects are induced by IL-17 neutralization or gammadelta T-cell contraction, complete cure and reversal of the hyperinflammatory phenotype are achieved by replacement therapy with a natural kynurenine distal to the blockade in the pathway. Effective therapy, which includes co-administration of recombinant interferon-gamma (IFN-gamma), restores production of downstream immunoactive metabolites and enables the emergence of regulatory Vgamma4(+) gammadelta and Foxp3(+) alphabeta T cells. Therefore, paradoxically, the lack of reactive oxygen species contributes to the hyperinflammatory phenotype associated with NADPH oxidase deficiencies, through a dysfunctional kynurenine pathway of tryptophan catabolism. Yet, this condition can be reverted by reactivating the pathway downstream of the superoxide-dependent step.