These findings reveal that osteocytes directly regulate inflammatory osteolysis in bone infection, suggesting that MYD88 and downstream RANKL regulators in osteocytes are therapeutic targets for osteolysis in periodontitis and osteomyelitis. Here, MYD88 is linked to periodontitis.