The molecular mechanisms linking diet, obesity, and type 2 diabetes are still poorly understood. In a recent paper, Ohtsubo et al. (2011) show that high lipid levels induce nuclear exclusion of Foxa2 and HNF1α in β cells, leading to impaired expression and glycosylation of proteins controlling glucose-stimulated insulin secretion.