Findings in first-degree relatives were replicated in two-sample multivariable mendelian randomisation, which identified apoB to increase (OR 2·32 per 1 SD higher apoB, 95% CI 1·49–3·61) and LDL cholesterol to decrease (0·34 per 1 SD higher LDL cholesterol, 0·21–0·54) the risk of type 2 diabetes. Here, APOB is linked to type 2 diabetes mellitus.