The neuroscience of OCD is not completely understood, and it's likely that different neural circuits may be involved based on a person's age and symptom profile, among other factors
The direct pathway is over-excitable, drowning out the activity of the indirect pathway and causing a difficult time switching to a different behavior or turning focus away from the concern causing the discomfort
According to this model, overactivity in the orbitofrontal cortex and the direct pathway of the basal ganglia increases the occurrence of both obsessions and compulsions