Microbial metabolites are known to modulate immune responses of the host. The main metabolites derived from microbial fermentation of dietary fibers in the intestine, short-chain fatty acids (SCFA), affect local and systemic immune functions. Here we show that SCFA are regulators of osteoclast metabolism and bone mass in vivo. Treatment of mice with SCFA as well as feeding with a high-fiber diet significantly increases bone mass and prevents postmenopausal and inflammation-induced bone loss. The protective effects of SCFA on bone mass are associated with inhibition of osteoclast differentiation and bone resorption in vitro and in vivo, while bone formation is not affected. Mechanistically, propionate (C3) and butyrate (C4) induce metabolic reprogramming of osteoclasts resulting in enhanced glycolysis at the expense of oxidative phosphorylation, thereby downregulating essential osteoclast genes such as TRAF6 and NFATc1. In summary, these data identify SCFA as potent regulators of osteoclast metabolism and bone homeostasis.