Insomnia is a worldwide problem with substantial deleterious health effects. Twin studies have shown a heritable basis for various sleep-related traits, including insomnia, but robust genetic risk variants have just recently begun to be identified. We conducted genome-wide association studies (GWAS) of soldiers in the Army Study To Assess Risk and Resilience in Servicemembers (STARRS). GWAS were carried out separately for each ancestral group (EUR, AFR, LAT) using logistic regression for each of the STARRS component studies (including 3,237 cases and 14,414 controls), and then meta-analysis was conducted across studies and ancestral groups. Heritability (SNP-based) for lifetime insomnia disorder was significant (h2g‚Äâ=‚Äâ0.115, p‚Äâ=‚Äâ1.78‚Äâ√ó‚Äâ10‚àí4 in EUR). A meta-analysis including three ancestral groups and three study cohorts revealed a genome-wide significant locus on Chr 7 (q11.22) (top SNP rs186736700, OR‚Äâ=‚Äâ0.607, p‚Äâ=‚Äâ4.88‚Äâ√ó‚Äâ10‚àí9) and a genome-wide significant gene-based association (p‚Äâ=‚Äâ7.61‚Äâ√ó‚Äâ10‚àí7) in EUR for RFX3 on Chr 9. Polygenic risk for sleeplessness/insomnia severity in UK Biobank was significantly positively associated with likelihood of insomnia disorder in STARRS. Genetic contributions to insomnia disorder in STARRS were significantly positively correlated with major depressive disorder (rg‚Äâ=‚Äâ0.44, se‚Äâ=‚Äâ0.22, p‚Äâ=‚Äâ0.047) and type 2 diabetes (rg‚Äâ=‚Äâ0.43, se‚Äâ=‚Äâ0.20, p‚Äâ=‚Äâ0.037), and negatively with morningness chronotype (rg‚Äâ=‚Äâ‚àí0.34, se‚Äâ=‚Äâ0.17, p‚Äâ=‚Äâ0.039) and subjective well being (rg‚Äâ=‚Äâ-0.59, se‚Äâ=‚Äâ0.23, p‚Äâ=‚Äâ0.009) in external datasets. Insomnia associated loci may contribute to the genetic risk underlying a range of health conditions including psychiatric disorders and metabolic disease.