Loss- and gain-of-ketogenic function models, achieved by Hmgcs2 knockout and overexpression, respectively, were utilized to investigate the role of ketogenesis in the hepatic lipid accumulation during postnatal development and in a high-fat diet-induced NAFLD mouse model. The gene discussed is HMGCS2; the disease is metabolic dysfunction-associated steatotic liver disease.