Synaptic plasticity requires a tight control of mRNA levels in dendrites. RNA translation and degradation pathways have been recently linked to neurodevelopmental and neuropsychiatric diseases, suggesting a role for RNA regulation in synaptic plasticity and cognition. While the local translation of specific mRNAs has been implicated in synaptic plasticity, the tightly controlled mechanisms that regulate local quantity of specific mRNAs remain poorly understood. Despite being the only RNA regulatory pathway that is associated with multiple mental illnesses, the nonsense-mediated mRNA decay (NMD) pathway presents an unexplored regulatory mechanism for synaptic function and plasticity. Here, we show that neuron-specific disruption of UPF2, an NMD component, in adulthood attenuates learning, memory, spine density, synaptic plasticity (L-LTP), and potentiates perseverative/repetitive behavior in mice. We report that the NMD pathway operates within dendrites to regulate Glutamate Receptor 1 (GLUR1) surface levels. Specifically, UPF2 modulates the internalization of GLUR1 and promotes its local synthesis in dendrites. We identified neuronal Prkag3 mRNA as a mechanistic substrate for NMD that contributes to the UPF2-mediated regulation of GLUR1 by limiting total GLUR1 levels. These data establish that UPF2 regulates synaptic plasticity, cognition, and local protein synthesis in dendrites, providing fundamental insight into the neuron-specific function of NMD within the brain.