Background Type 2 diabetes mellitus (T2DM) patients are involved closely with cancer. This work aims to conduct a systematic review and network meta-analysis (NMA) to examine the effect of different types of statins on cancer incidence in patients with T2DM. Methods We systematically searched the Cochrane Library, PubMed, Embase, and Wanfang databases from January 1999 to March 2017. We performed a pairwise meta-analysis to estimate the pooled ratios (ORs) and 95% confidence intervals (CIs). A NMA was performed to compare different types of statins. Results Seven publications were included. In pairwise meta-analysis, the incidence of cancer in T2DM patients was reduced when simvastatin, atorvastatin, pravastatin, fluvastatin, lovastatin, rosuvastatin, and pitavastatin were used. In the result of NMA, the usage of simvastatin (RR 0.30 and 95% CI 0.16–0.56), atorvastatin (RR 0.29 and 95% CI 0.09–0.88), pravastatin (RR 0.34 and 95% CI 0.12–0.93), fluvastatin (RR 0.27 and 95% CI 0.09–0.83), rosuvastatin (RR 0.22 and 95% CI 0.10–0.49), and pitavastatin (RR 0.33 and 95% CI 0.20–0.57) was superior to the nonstatin groups. When compared with six other statins, rosuvastatin appeared to be the best one. Conclusions Different statins can reduce the risk of cancer in patients with T2DM. Our analyses suggest that rosuvastatin may be more effective than others.