Aims. To study the proliferation of osteoblasts and genes expression under normal glucose, high glucose, and metformin (Met). Methods. MG63 osteoblast-like cells were cultured in osteogenic medium supplemented with normal glucose (glucose 5.5 mmol/L) or high glucose (glucose 16.7 mmol/L) and metformin + high glucose (Met 300 μmol/L + glucose 16.7 mmol/L). Proliferation was detected with CCK-8 assay at days 1, 3, and 7. Real-time PCR and Western blot were performed to compare the expression of collagen I (Col I), osteocalcin (OCN), osteoprotegerin (OPG), receptor activator for NF-κB ligand (RANKL), and metal matrix proteinases 1 and 2 (MMP1, MMP2). Alkaline phosphatase (ALP) activity was also detected at days 6, 12, and 18. Results. Exposure to high glucose inhibited the proliferation of osteoblasts (P < 0.05), with suppressed OCN and OPG. Meanwhile, Col I, RANKL, MMP1, and MMP2 were unaffected. Metformin attenuated the suppression on proliferation with increased expression of Col I, OCN, and OPG, meanwhile suppressing MMP1 and MMP2. High glucose lowered the intracellular ALP, while metformin raised it. Metformin attenuated the downregulation of ALP completely at day 6, partly at day 12, but not at day 18. Conclusions. Metformin attenuated the suppression effect of high glucose to the osteoblast proliferation and gene expression, more prominently in earlier stage.