Kruppel-like factor 2 (KLF2) has been implicated in the regulation of cell proliferation, differentiation, and survival in a variety of cells. Recently, it has been reported that KLF2 regulates the p65-mediated transactivation of $NF-{\kappa}B$. Although the $NF-{\kappa}B$ pathway plays an important role in the differentiation of osteoclasts and osteoblasts, the role of KLF2 in these bone cells has not yet been fully elucidated. In this study, we demonstrated that KLF2 regulates osteoclast and osteoblast differentiation. The overexpression of KLF2 in osteoclast precursor cells inhibited osteoclast differentiation by downregulating c-Fos, NFATc1, and TRAP expression, while KLF2 overexpression in osteoblasts enhanced osteoblast differentiation and function by upregulating Runx2, ALP, and BSP expression. Conversely, the downregulation of KLF2 with KLF2-specific siRNA increased osteoclast differentiation and inhibited osteoblast differentiation. Moreover, the overexpression of interferon regulatory protein 2-binding protein 2 (IRF2BP2), a regulator of KLF2, suppressed osteoclast differentiation and enhanced osteoblast differentiation and function. These effects were reversed by downregulating KLF2. Collectively, our data provide new insights and evidence to suggest that the IRF2BP2/KLF2 axis mediates osteoclast and osteoblast differentiation, thereby affecting bone homeostasis.