A recent study suggests that certain late-night snacks, particularly dairy products and desserts, may disrupt sleep and trigger nightmares. The research, which surveyed over a thousand students, found a correlation between healthier evening eating habits and improved sleep quality and dream recall.

Conversely, consuming dairy, desserts, spicy foods, and meat before bed was associated with an increase in nightmares and insomnia. The study, published in Frontiers in Psychology, involved 1,082 students aged approximately 20 who completed questionnaires on their sleep quality, dream experiences, and eating habits.

Participants were asked to assess how specific foods affected their sleep and dreams. More than 40 percent reported that late-night snacks influenced their sleep, either positively or negatively. Approximately 20 percent noted improved sleep with foods like fruit and herbal tea, while nearly 25 percent indicated that snacks such as desserts and dairy worsened their sleep.

When examining disturbing dreams, a significant number of participants who experienced them had consumed dairy or desserts before sleeping. The study highlighted a strong link between lactose intolerance and poorer sleep. Among those who reported food negatively impacting their sleep, a higher percentage identified as lactose intolerant compared to those whose sleep was not disrupted.

Scientists theorize that gastrointestinal discomfort from late-night eating may be the cause of disrupted sleep and vivid or disturbing dreams. Dr. Tore Nielsen of Université de Montréal, the study's lead author, stated that nightmares are more severe for lactose-intolerant individuals experiencing significant gastrointestinal symptoms, which can disrupt sleep. He noted that bodily sensations can influence dreaming and that frequent nightmares can lead to sleep avoidance behaviors.

Beyond specific food types, late-night snacking in general was linked to more negative dreams and nightmares. Conversely, individuals who rarely snacked late at night were more likely to recall their dreams. Dream recall is partly dependent on the frequency of nighttime awakenings and transitions out of deep sleep.

These findings suggest that dietary adjustments for individuals with food sensitivities could potentially reduce nightmares. Previous research also supports the connection between gastrointestinal distress and sleep disruption. A 2019 study indicated that sleep disturbance is associated with gastrointestinal conditions like GERD and IBS, and that nighttime reflux can impair sleep quality due to less effective acid clearance mechanisms.

The authors of the recent study acknowledged its limitations, including reliance on self-reported data and a non-random sample. Further research with diverse populations and dietary habits is needed to confirm the generalizability of these results. Researchers plan to conduct additional studies, potentially comparing the effects of dairy consumption against control foods.