Using a gain-and-loss-of-function approach in both mouse and human immune cells, we found Irg1 expression levels correlating with the amounts of itaconic acid, a metabolite previously proposed to have an antimicrobial effect.