Our results demonstrate that an MCD diet can change the gut microbiota and result in intestinal barrier destruction and NAFLD/NASH development through IL-17. This evidence concerns the gene IL17A and metabolic dysfunction-associated steatotic liver disease.