In summary, we report DNA methylation site cg06500161 at ABCG1 as a mediator of the association between statins and type 2 diabetes. This evidence concerns the gene ABCG1 and type 2 diabetes mellitus.