Insomnia interacted with the APOE genotype, with APOE-ε4 carriers displaying lower gray matter volumes when insomnia was present, but higher volumes when insomnia was not present, in several gray matter regions, including the left angular gyrus, the bilateral superior frontal gyri, the thalami, and the right hippocampus. This evidence concerns the gene APOE and insomnia.