A family history of OCD is one risk factor. If a person has a parent or other blood-relative with the disorder, their risk for developing OCD is increased.