We found that ANK3 mRNA levels moderated the relationship between specific types of childhood traumas and affective episodes in severe mental disorders. Here, ANK3 is linked to psychiatric disorder.