For patients undergoing total joint replacement (TJR), one of the complications, aseptic loosening, could cause serious consequences, such as revision surgery. In early research, pattern recognition receptors (PRRs) were reported to play vital roles in recognizing wear particles from the prosthesis and initiating an inflammation response. In this research, we aimed to clarify the role of nucleotide-binding and oligomerization domain containing protein 2 (NOD2), one of the PRRs, in macrophage-induced aseptic loosening in vivo and in vitro. High expressions of NOD2 and TNFα were observed from twenty patients who underwent primary or revision total hip replacements (THR). The effect of NOD2 on the activation of inflammation pathways was observed in RAW264.7 cells and CRISPR-Cas9 NOD2-knockout mice. The expressions of NOD2, the NF-κB pathway, the MAPK pathway and proinflammatory cytokine TNF-α in macrophages stimulated by wear particles were up-regulated. Otherwise, inhibition of NOD2 further up-regulated the expressions of NOD2, the NF-κB pathway, the MAPK pathway and TNF-α. Knockdown of the NOD2 gene enhanced the cranial osteolysis induced by titanium particles in a mouse model. In conclusion, our study demonstrated that NOD2 plays a negative role in osteolysis induced by titanium particles in vitro and in vivo.