Abstract Neuronal connectivity is essential for adaptive brain responses and can be modulated by dendritic spine plasticity and the intrinsic excitability of individual neurons. Dysregulation of these processes can lead to aberrant neuronal activity, which has been associated with numerous neurological disorders including autism, epilepsy, and Alzheimer’s disease. Nonetheless, the molecular mechanisms underlying aberrant neuronal connectivity remains unclear. We previously found that the serine/threonine kinase Microtubule Affinity Regulating Kinase 2 (MARK2), also known as Partitioning Defective 1b (Par1b), is important for the formation of dendritic spines in vitro. However, despite its genetic association with several neurological disorders, the in vivo impact of MARK2 on neuronal connectivity and cognitive functions remains unclear. Here, we demonstrate that loss of MARK2 in vivo results in changes to dendritic spine morphology, which in turn leads to a decrease in excitatory synaptic transmission. Additionally, loss of MARK2 produces substantial impairments in learning and memory, anxiety, and social behavior. Notably, MARK2 deficiency results in heightened seizure susceptibility. Consistent with this observation, RNAseq analysis reveals transcriptional changes in genes regulating synaptic transmission and ion homeostasis. These findings underscore the in vivo role of MARK2 in governing synaptic connectivity, cognitive functions, and seizure susceptibility.