Here, we identified microRNA-27b (miR-27b) as a key regulator for the generation of a side-population in breast cancer cells that showed CSC properties, and also found that the anti-type II diabetes (T2D) drug metformin reduced this side-population via miR-27b-mediated repression of ectonucleotide pyrophosphatase/phosphodiesterase family member 1 (ENPP1), which is involved in T2D development. Here, ENPP1 is linked to type 2 diabetes mellitus.