In this cohort study of 647 099 births, non–insulin-treated pregestational type 2 diabetes in severely obese mothers was associated with several psychiatric disorders in their offspring, with an effect size lower than that for maternal insulin-treated pregestational diabetes but higher than that for gestational diabetes. This evidence concerns the gene INS and gestational diabetes.