In this Swedish population-based cohort study, OCD and obsessive-compulsive symptoms were associated with an elevated risk of substance misuse, challenging the notion that OCD is protective against developing substance misuse. The associations of OCD and obsessive-compulsive symptoms with substance misuse were largely explained by shared genetics, but our findings are also compatible with an environmentally mediated relationship (eg, self-medication hypothesis).