IL-22 is protective in NASH but only in the absence of IL-17A. Here, IL17A is linked to metabolic dysfunction-associated steatohepatitis.