Hard as it may be to swallow, it's no secret that a diet of cakes, sweet treats and burgers will impact the waistline.
But research from the University of NSW suggests an unhealthy diet can also take a toll on the memory.
Research published in the Brain, Behaviour and Immunity journal showed rats on a diet high in fat and sugar had impaired memories after almost a week.
"Interestingly, our rats were not obese and these changes emerged at day five," research co-author Professor Margaret Morris said.
"So you don't have to be obese, you just have to eat poorly."