Taken together, our results suggest that diabetes mellitus impairs BMSCs differentiation and bone regeneration by decreasing the levels of miR-140-3p in BMSCs and exosomes, which lead to the increased expression of plexin B1 in vivo and vitro. Here, PLXNB1 is linked to diabetes mellitus.