Our findings imply that statin use mediates DNA methylation at cg06500161 of ABCG1 and this contributes to increased risk of type 2 diabetes. This evidence concerns the gene ABCG1 and type 2 diabetes mellitus.