Hmgcs2 heterozygous adult mice, which exhibited lower ketogenic activity, were more susceptible to diet-induced NAFLD development, whereas HMGCS2 overexpression in NAFLD mice improved hepatosteatosis and glucose homeostasis. Here, HMGCS2 is linked to metabolic dysfunction-associated steatotic liver disease.