Our data suggest that IL-17 originates from TH17 cells but not other cell types and plays a protective role in maintaining the balance between the intestinal barrier and gut microbiota, which is closely related to the development of NAFLD/NASH. Here, IL17A is linked to metabolic dysfunction-associated steatohepatitis.