Porphyromonas gingivalis (Pg) as the major pathogenic bacterium of chronic periodontitis can cause alveolar bone resorption. Lipopolysaccharide (LPS) is its main virulence factor. The Eph family plays an important role in maintaining bone homeostasis. In this study, the effects of P. gingivalis lipopolysaccharide (Pg-LPS) on the expression of EphA2 in osteoblasts and osteoclasts were investigated. MC3T3-E1 cells and RAW264.7 cells were separately cultured in osteoblast-conditioned medium and osteoclast-conditioned medium to induce their differentiation into osteoblasts and osteoclasts, respectively. MC3T3-E1 cells were treated with 1 μg/mL of Pg-LPS 3, 7, and 14 d later, while RAW264.7 cells were treated with 10 μg/mL of Pg-LPS 1, 3, and 5 d later. The results have shown that Pg-LPS increased the expression of EphA2 both in osteoblasts and osteoclasts, decreased the expression of osteogenic-related genes (ALP, Sp7), and increased the expression of osteoclast-related genes (MMP9, c-fos, ACP5, CtsK, and NFATc1). Tartrate-resistant acid phosphatase (TRAP) staining illustrated that Pg-LPS promoted osteoclast differentiation and decreased the activity of alkaline phosphatase. Therefore, analysis indicates that, when treated with Pg-LPS, the expression of EphA2 is upregulated while the activity of osteoblasts and osteoclasts was reduced and increased, respectively. Our data suggest that EphA2 is closely related to the formation of osteoblasts and resorption of osteoclast and is likely to play an role in bone resorption induced in chronic periodontitis. These findings may provide information on new targets for prevention and treatment of chronic periodontitis.