We found that IL-17 deficiency (Il17−/−) disturbed the intestinal barrier, accompanied by intestinal flora alteration, which enhanced the severity of NAFLD/NASH. This evidence concerns the gene IL17A and metabolic dysfunction-associated steatohepatitis.