Food intake could mitigate or exacerbate the risk for insomnia associated with theCLOCKgene. This study investigated the associations between the clock circadian regulator (CLOCK)polymorphisms rs12649507 and rs4580704 and the risk of insomnia, as well as its interactions with food groups. Among 1430 adults, new insomnia cases were identified between 2005 and 2012. Single nucleotide polymorphisms were genotyped, and dietary intake was assessed. Next, Cox proportional hazard models were established. The fruit and meat groups significantly mitigated the risk of insomnia associated with rs12649507 among males (pinteraction= 0.006 in a recessive model;p= 0.010 in a dominant model). In contrast, among females the beverage group significantly increased the risk of insomnia (p= 0.041 in a dominant model). As for rs4580704, among males the fruit and meat groups modified the risk of insomnia (p= 0.006 in a recessive model;p= 0.001 in a dominant model). However, among females, the beverage group exacerbated the risk of insomnia associated with rs4580704 (p= 0.004 in a dominant model). In this longitudinal study, we observed a significantly modified insomnia risk associated with theCLOCKgene depending on food groups. Notably, in a general population the risks were modified according to both the fruit and meat intake among 775 males but exacerbated with beverage intake among 655 females.