Objective: This study aimed to determine the relationship between different forms of, and potential path-ways between, maternal diabetes and childhood obesity at different ages.Methods: Prospective cohort data from The Environmental Determinants of Diabetes in the Young (TEDDY) study, which was composed of 5,324 children examined from 0.25 to 6 years of age, were analyzed. Cross-sectional and longitudinal analyses taking into account potential confounders and effect modifiers such as maternal prepregnancy BMI and birth weight z scores were performed.Results: Offspring of mothers with gestational diabetes mellitus (GDM) or type 1 diabetes mellitus (TIDM) showed a higher BMI standard deviation score and increased risk for overweight and obesity at 5.5 years of age than offspring of mothers without diabetes. While these associations could be substantially explained by maternal pre-pregnancy BMI in offspring of mothers with GDM, significant associations disappeared after adjustment for birth weight z scores in offspring of T1DM mothers. Furthermore, overweight risk became stronger with increasing age in offspring of mothers with diabetes compared with offspring of mothers without diabetes.Conclusions: Maternal diabetes is associated with increased risk of offspring overweight, and the association appears to get stronger as children grow older. Indeed, intrauterine exposure to maternal T1DM may predispose children to later obesity through increased birth weight, while maternal BMI is more important in children exposed to GDM.