We identifed indigo, an aryl hydrocarbon receptor (AhR) ligand agonist, as a potent inducer of IL-10 and IL-22, which protects against high-fat diet (HFD)-induced insulin resistance and fatty liver disease in the diet-induced obesity model. Here, IL22 is linked to obesity due to melanocortin 4 receptor deficiency.