Metabolic reprogramming occurs in response to the cellular environment to mediate differentiation, but the fundamental mechanisms linking metabolic processes to differentiation programs remain to be elucidated. During osteoclast differentiation, a shift toward more oxidative metabolic processes occurs. In this study we identified the de novo DNA methyltransferase 3a (Dnmt3a) as a transcription factor that couples these metabolic changes to osteoclast differentiation. We also found that receptor activator of nuclear factor-κB ligand (RANKL), an essential cytokine for osteoclastogenesis, induces this metabolic shift towards oxidative metabolism, which is accompanied by an increase in S-adenosylmethionine (SAM) production. We found that SAM-mediated DNA methylation by Dnmt3a regulates osteoclastogenesis via epigenetic repression of anti-osteoclastogenic genes. The importance of Dnmt3a in bone homeostasis was underscored by the observations that Dnmt3a-deficient osteoclast precursor cells do not differentiate efficiently into osteoclasts and that mice with an osteoclast-specific deficiency in Dnmt3a have elevated bone mass due to a smaller number of osteoclasts. Furthermore, inhibition of DNA methylation by theaflavin-3,3'-digallate abrogated bone loss in models of osteoporosis. Thus, this study reveals the role of epigenetic processes in the regulation of cellular metabolism and differentiation, which may provide the molecular basis for a new therapeutic strategy for a variety of bone disorders.