In this review, we discuss the use of mouse models to study the contribution of genetic variations, identified by GWAS, in the TCF7L2 and SLC30A8 genes to the development of T2D via their effects on pancreatic islet function. Here, TCF7L2 is linked to type 2 diabetes mellitus.