Imbalance between fat production and consumption causes various metabolic disorders. Nonalcoholic fatty liver disease (NAFLD), one such pathology, is characterized by abnormally increased fat synthesis and subsequent fat accumulation in hepatocytes1,2. While often comorbid with obesity and insulin resistance, this disease can also be found in lean individuals, suggesting specific metabolic dysfunction2. NAFLD has become one of the most prevalent liver diseases in adults worldwide, but its incidence in both children and adolescents has also markedly increased in developed nations3,4. Progression of this disease into nonalcoholic steatohepatitis (NASH), cirrhosis, liver failure, and hepatocellular carcinoma in combination with its widespread incidence thus makes NAFLD and its related pathologies a significant public health concern. Here, we review our understanding of the roles of dietary carbohydrates (glucose, fructose, and fibers) and the gut microbiota, which provides essential carbon sources for hepatic fat synthesis during the development of NAFLD.