We measured the association between established psychosis risk variants in dopamine D2 receptor (DRD2) and cognitive performance in individuals at age 23 years and explored if associations between cognition and these variants differed according to the presence of familial or clinical risk for psychosis. This evidence concerns the gene DRD2 and psychotic disorder.