Proper regulation of synapse formation and elimination is critical for establishing mature neuronal circuits and maintaining brain function. Synaptic abnormalities, such as defects in the density and morphology of postsynaptic dendritic spines, underlie the pathology of various neuropsychiatric disorders. Protocadherin 17 (PCDH17) is associated with major mood disorders, including bipolar disorder and depression. However, the molecular mechanisms by which PCDH17 regulates spine number, morphology, and behavior remain elusive. In this study, we found that PCDH17 functions at postsynaptic sites, restricting the number and size of dendritic spines in excitatory neurons. Selective overexpression of PCDH17 in the ventral hippocampal CA1 results in spine loss and anxiety-and depression-like behaviors in mice. Mechanistically, PCDH17 interacts with actin-relevant proteins and regulates actin filament (F-actin) organization. Specifically, PCDH17 binds to ROCK2, increasing its expression and subsequently enhancing the activity of downstream targets such as LIMK1 and the phosphorylation of cofilin serine-3 (Ser3). Inhibition of ROCK2 activity with belumosudil (KD025) ameliorates the defective F-actin organization and spine structure induced by PCDH17 overexpression, suggesting that ROCK2 mediates the effects of PCDH17 on F-actin content and spine development. Hence, these findings reveal a novel mechanism by which PCDH17 regulates synapse development and behavior, providing pathological insights into the neurobiological basis of mood disorders.