Individuals with obsessive-compulsive disorder (OCD) perform obsessive repetitive actions. Shahin Rafii and his colleagues show that mice lacking the gene Slitrk5 show OCD-like behavioral phenotypes and have deficits in corticostriatal communication in the brain. Obsessive-compulsive disorder (OCD) is a common psychiatric disorder defined by the presence of obsessive thoughts and repetitive compulsive actions, and it often encompasses anxiety and depressive symptoms1,2. Recently, the corticostriatal circuitry has been implicated in the pathogenesis of OCD3,4. However, the etiology, pathophysiology and molecular basis of OCD remain unknown. Several studies indicate that the pathogenesis of OCD has a genetic component5,6,7,8. Here we demonstrate that loss of a neuron-specific transmembrane protein, SLIT and NTRK-like protein-5 (Slitrk5), leads to OCD-like behaviors in mice, which manifests as excessive self-grooming and increased anxiety-like behaviors, and is alleviated by the selective serotonin reuptake inhibitor fluoxetine. Slitrk5−/− mice show selective overactivation of the orbitofrontal cortex, abnormalities in striatal anatomy and cell morphology and alterations in glutamate receptor composition, which contribute to deficient corticostriatal neurotransmission. Thus, our studies identify Slitrk5 as an essential molecule at corticostriatal synapses and provide a new mouse model of OCD-like behaviors.