A mendelian randomization approach using variants in the HMGCR gene replicated the association between statin use and increased type 2 diabetes risk but provided no strong evidence for pleiotropic effects of statin-induced decrease of the low-density lipoprotein cholesterol level on other diseases. Here, HMGCR is linked to type 2 diabetes mellitus.