Neuroimaging, brain surgery, and lesions suggest that OCD is caused by the malfunction of the prefrontal, thalamic, and striatal areas of the brain.