Neuronal plasticity is especially active in the young, during short windows of time termed critical periods, and loss of a critical period leads to functional limitations in the adults. The mechanism that governs the length of critical periods remains unknown. Here we show that levels of the NMDA receptor GluN2B subunit, which functions as a Ca2+ channel, declines in spinal cord synapses toward the end of the critical period for activity-dependent corticospinal synapse elimination. This period could be prolonged by blocking the decline of GluN2B, and after its termination the critical period could be reopened through upregulation of GluN2B. It is known that inhibitory neural activity increases with development in the CNS including the spinal cord. Suppression of the increasing inhibitory activity using low-dose strychnine also prolonged this critical period. During the strychnine-widened time window, Ca2+ influx through GluN2B channels returned to a level comparable to that seen during the critical period, though the level of GluN2B was slightly reduced. These findings indicate that loss of GluN2B subunits and the associated reduction in Ca2+ influx determines the end of the critical period in our in vitro CS system.