Associations between intelligence and SNPs in the ATXN1 and TRIM31 genes and in three genomic locations showed replicated association, but only in the samples ascertained for ADHD, suggesting that these genetic variants become particularly relevant to IQ on the background of a psychiatric disorder. Here, TRIM31 is linked to psychiatric disorder.