To determine the basis for perinatal nutritional mismatch causing metabolic dysfunction-associated steatotic liver disease and diabetes mellitus, we examined adult phenotype, hepatic transcriptome, and pancreatic β-islet function. In prenatal caloric-restricted rats with intrauterine growth restriction (IUGR) and postnatal exposure to high fat with fructose (HFhf) or high carbohydrate, we investigated male and female IUGR-HFhf and IUGR-high carbohydrate, vs HFhf and control offspring. Males more than females displayed adiposity, glucose intolerance, insulin resistance, hyperlipidemia, and hepatomegaly with hepatic steatosis. Male hepatic triglyceride synthesis, de novo lipogenesis genes increased, while female lipolysis, β-oxidation, fatty acid efflux, and FGF21 genes increased. IUGR-HFhf males demonstrated reduced β-islet insulin and humanin, and type 1 diabetes mellitus human amniotic fluid increased humanin. Humanin suppression disabled glucose stimulated insulin, ATP production, with apoptotic diminished β-islet viability. Humanin and FGF21 may reverse perinatal nutritional mismatched phenotype by restoring functional β islets and preventing metabolic dysfunction-associated steatotic liver disease and diabetes mellitus.