Gut microbiota has emerged as an important regulator of bone homeostasis. In particular, the modulation of innate immunity and bone homeostasis is mediated through the interaction between microbe-associated molecular patterns (MAMPs) and the host pattern recognition receptors including Toll-like receptors and nucleotide-binding oligomerization domains. Pathogenic bacteria such as Porphyromonas gingivalis and Staphylococcus aureus tend to induce bone destruction and cause various inflammatory bone diseases including periodontal diseases, osteomyelitis, and septic arthritis. On the other hand, probiotic bacteria such as Lactobacillus and Bifidobacterium species can prevent bone loss. In addition, bacterial metabolites and various secretory molecules such as short chain fatty acids and cyclic nucleotides can also affect bone homeostasis. This review focuses on the regulation of osteoclast and osteoblast by MAMPs including cell wall components and secretory microbial molecules under in vitro and in vivo conditions. MAMPs could be used as potential molecular targets for treating bone-related diseases such as osteoporosis and periodontal diseases.