ObjectiveVisually attending to unhealthy food creates a desire to consume the food. To resist the temptation people have to employ self-regulation strategies, such as visual avoidance. Past research has shown that self-regulatory skills develop throughout childhood and adolescence, suggesting adults' superior self-regulation skills compared to children. MethodsThis study employed a novel method to investigate self-regulatory skills. Children and adults' initial (bottom-up) and maintained (top-down) visual attention to simultaneously presented healthy and unhealthy food were examined in an eye-tracking paradigm. ResultsResults showed that both children and adults initially attended most to the unhealthy food. Subsequently, adults self-regulated their visual attention away from the unhealthy food. Despite the children's high self-reported attempts to eat healthily and importance of eating healthily, children did not self-regulate visual attention away from unhealthy food. Children remained influenced by the attention-driven desire to consume the unhealthy food whereas adults visually attended more strongly to the healthy food thereby avoiding the desire to consume the unhealthy option. ConclusionsThe findings emphasize the necessity of improving children's self-regulatory skills to support their desire to remain healthy and to protect children from the influences of the obesogenic environment.