Addiction is a debilitating, chronic psychiatric disorder that is difficult to cure completely owing to the high rate of relapse. Behavioral sensitization is considered to may underlie behavioral changes, such as relapse, caused by chronic abuse of psychomotor stimulants. Thus, its animal models have been widely used to explore the etiology of addiction. Recently, increasing evidence has demonstrated that N-methyl-D-aspartate receptors (NMDARs) play an important role in addiction to psychomotor stimulants. However, the role of GluN2B-containing receptors and their downstream signaling pathway(s) in behavioral sensitization induced by methamphetamine (METH) have not been investigated yet. In this study, we used different doses of ifenprodil (2.5, 5, 10 mg/kg), a selective antagonist of the GluN2B subunit, to investigate the role of GluN2B-containing NMDARs in METH-induced behavioral sensitization. We then examined changes in the levels of Ras, phosphorylated extracellular signal-regulated kinase (pERK)/ERK, and ∆FosB in the caudate putamen (CPu) by western blot. We found that 2.5 or 10 mg/kg ifenprodil significantly attenuated METH-induced behavioral sensitization, whereas the mice treated with a moderate dose of ifenprodil (5 mg/kg) displayed no significant changes. Further results of western blot experiments showed that repeated administration of METH caused the increases in the levels of Ras, pERK/ERK and ∆FosB in the CPu, and these changes were inhibited by only the 2.5 mg/kg dose of ifenprodil. In conclusion, these results demonstrated that 2.5 mg/kg ifenprodil could attenuate METH-induced behavioral sensitization. Moreover, GluN2B-containing NMDARs and their downstream Ras-ERK-∆FosB signaling pathway in the CPu might be involved in METH-induced behavioral sensitization.