Dendritic spine stabilization depends on afferent synaptic input and requires changes in actin cytoskeleton dynamics and protein synthesis. However, the underlying molecular mechanism remains unclear. Here we report the identification of ‘calmodulin kinase-like vesicle-associated' (CaMKv), a pseudokinase of the CaMK family with unknown function, as a synaptic protein crucial for dendritic spine maintenance. CaMKv mRNA localizes at dendrites, and its protein synthesis is regulated by neuronal activity. CaMKv function is inhibited upon phosphorylation by cyclin-dependent kinase 5 (Cdk5) at Thr345. Furthermore, CaMKv knockdown in mouse hippocampal CA1 pyramidal neurons impairs synaptic transmission and plasticity in vivo, resulting in hyperactivity and spatial memory impairment. These findings collectively indicate that the precise regulation of CaMKv through activity-dependent synthesis and post-translational phosphorylation is critical for dendritic spine maintenance, revealing an unusual signalling pathway in the regulation of synaptic transmission and brain function that involves a pseudokinase.