An interaction between genes and the environment is a critical component underlying the pathogenesis of the hyperglycaemia of type 2 diabetes. The development of more sophisticated techniques for studying gene variants and for analysing genetic data has led to the discovery of some 40 genes associated with type 2 diabetes. Most of these genes are related to changes in β‐cell function, with a few associated with decreased insulin sensitivity and obesity. Interestingly, using quantitative traits based on continuous measures rather than dichotomous ones, it has become evident that not all genes associated with changes in fasting or post‐prandial glucose are also associated with a diagnosis of type 2 diabetes. Identification of these gene variants has provided novel insights into the physiology and pathophysiology of the β‐cell, including the identification of molecules involved in β‐cell function that were not previously recognized as playing a role in this critical cell.