Notably, a change in dietary composition rescued the fatty liver phenotype of postnatal Hmgcs2 knockout mice, whereas increased ketogenic function through HMGCS2 overexpression improved hepatosteatosis and associated metabolic dysfunction in NAFLD mice. Here, HMGCS2 is linked to metabolic dysfunction-associated steatotic liver disease.