OCD is known to have a genetic basis. So, if anyone in your family has this condition, you are more likely to have it too.