OCD has been shown to have a component, which means it can be passed from parent to child. In other words, if your mom has OCD, you may have a higher chance of having OCD yourself. But there is growing evidence that the disorder can also arise spontaneously in people who have no close relatives with OCD.