Experts aren't sure of the exact cause of OCD. Genetics, brain abnormalities, and the environment are thought to play a role. It often starts in the teens or early adulthood. But, it can also start in childhood.