Early life represents a window of phenotypic plasticity. Thus, exposure of the developing fetus to a compromised nutritional environment can have long term consequences for their health. Indeed, undernutrition or maternal intake of an obesogenic diet during pregnancy leads to a heightened risk of type 2 diabetes (T2D) and obesity in her offspring in adult life. Given that abnormalities in beta-cell function are crucial in delineating the risk of T2D, studies have investigated the impact of these exposures on islet morphology and beta-cell function in the offspring in a bid to understand why they are more at risk of T2D. Interestingly, despite the contrasting maternal metabolic phenotype and, therefore, intrauterine environment associated with undernutrition versus high-fat feeding, there are a number of similarities in the genes/biological pathways that are disrupted in offspring islets leading to changes in function. Looking to the future, it will be important to define the exact mechanisms involved in mediating changes in the gene expression landscape in islet cells to determine whether the road to T2D development is the same or different in those exposed to different ends of the nutritional spectrum.