Blog
Health
Organs & Systems
Digestive System
The Dairy-Dream Connection: New Study Links Nightmares to Lactose Intolerance
The notion that what we eat before bed influences our dreams has long permeated cultural narratives. From Ebenezer Scrooge attributing his ghostly visitations to a “fragment of an underdone potato” to the early 20th-century comic strip The Rarebit Fiend, which depicted bizarre dreams induced by Welsh rarebit (melted cheese on toast), the connection has been anecdotal but persistent. For decades, however, mainstream sleep science largely ignored the role of dietary intake, focusing instead on circadian rhythms, light exposure, and stress.
That changed on July 1st, 2025, with the publication of a comprehensive survey in Frontiers in Psychology. Conducted by Canadian researchers, this study represents one of the largest systematic efforts to quantify the relationship between food sensitivities, particularly lactose intolerance, to the frequency and intensity of nightmares. The results suggest that for many, the “monsters” in their dreams might actually be starting in the gut.
The study surveyed 1,082 undergraduate students at MacEwan University, a demographic chosen for its high prevalence of erratic eating habits and significant academic-related sleep stress. Participants were not merely asked about their dreams; they were subjected to a rigorous battery of questions including the Nightmare Disorder Index, food frequency questionnaires, and detailed self-assessments of food intolerances and allergies.
This large sample size allowed researchers to control for variables such as general anxiety and baseline sleep quality. The study found that individuals who reported gastrointestinal symptoms, such as bloating, gas, and abdominal pain associated with lactose, were significantly more likely to recall vivid, disturbing, and fragmented dreams. By focusing on students enrolled in psychology courses, the researchers gathered data from individuals already familiar with the nuances of dream recall and psychological distress, providing a more refined dataset than general population surveys.
Expert Insight: “Findings open new avenues of research on food-dependent dreaming by suggesting dairy-induced gastrointestinal symptoms as one plausible basis for bizarre or disturbing dreams.” — Study Authors, Frontiers in Psychology (2025)
We are on a mission to change your life by providing you with curated science-backed health tips, nutrition advice and mouth-watering recipes. Sign up to receive your 3 starter gifts and get exclusive access to new weekly content for FREE:
Subscribe now
At the heart of this research is the condition of lactose intolerance, which affects nearly 65% of the global population to varying degrees. When an individual lacks the lactase enzyme, undigested lactose travels to the colon where bacteria ferment it, creating hydrogen, carbon dioxide, and methane gases. This process leads to the well-known symptoms of lactose intolerance: cramping, bloating, and diarrhea.
While these symptoms are uncomfortable during the day, they are catastrophic for the architecture of sleep. The 2025 study highlights that over 40% of participants noticed a clear decline in sleep quality after consuming trigger foods. The physical sensation of pressure in the abdomen and the inflammatory response triggered by malabsorption do not vanish upon entering sleep. Instead, they act as “somatic stimuli” that the sleeping brain must process.

Dreams primarily occur during the Rapid Eye Movement (REM) stage of sleep. During this phase, the brain is highly active, but the body is paralyzed (muscle atonia) to prevent the acting out of dreams. However, the autonomic nervous system remains responsive to internal signals. When an individual experiences gastrointestinal symptoms, the vagus nerve (the primary communication highway between the gut and the brain)sends signals of distress to the brainstem.
Gastrointestinal discomfort can trigger brief arousals or shifts in sleep stage. While the person may not fully wake up, the REM cycle is fragmented. Sleep fragmentation has been associated with increased dream recall and a higher likelihood of distressing dreams. Physical discomfort may be incorporated into dream content, sometimes contributing to more emotionally intense or unpleasant dreams as the brain attempts to integrate internal sensory signals into the ongoing dream narrative.
The research into gut microbiota and sleep suggests that the relationship is more than just mechanical. The gut is often called the “second brain” because it produces over 90% of the body’s serotonin, a precursor to melatonin (the sleep hormone). Food intolerances can cause gastrointestinal symptoms and discomfort that may contribute to sleep disruption and alterations in gut-brain signaling.
When the gut is in a state of turmoil, it releases pro-inflammatory cytokines, which can influence brain regions involved in sleep regulation, stress responses, and mood. The 2025 Canadian study reinforces this by showing that students with food allergies and intolerances scored “significantly higher” on indices that measure not just the frequency, but the intensity and emotional toll of nightmares. This suggests that digestive health may play an important role in overall sleep quality and dream experiences.
While dairy was the most common sleep disturber, the study also implicated desserts and sweets. High sugar intake before bed leads to blood sugar fluctuations. In individuals prone to blood sugar instability, a rapid spike and subsequent decline in glucose levels may trigger the release of counter regulatory hormones, adrenaline and cortisol. These hormones are intended to raise blood sugar, but also trigger the “fight or flight” response. When this hormonal surge occurs during sleep, it may contribute to sleep fragmentation, vivid dreaming, or nighttime awakenings.

For individuals dealing with chronic nightmares, the 2025 study offers a tangible point of intervention. Traditionally, nightmare disorder is treated with psychotherapy or medication. However, if the root cause is dietary, these interventions only mask the symptoms. The findings suggest that “restoring digestive balance” may be a worthwhile treatment modality for sleep disturbances.
Clinicians are now encouraged to ask patients about their food intolerances when they present with sleep complaints. For a patient with undiagnosed lactose intolerance, a simple change in diet, such as switching to lactose-free milk or avoiding cheese in the evening, could be more effective than a sedative. This shift toward functional medicine emphasizes that the “nightmare” may be a symptom of a systemic imbalance rather than an isolated psychological event.
Based on the study’s conclusions, individuals can take several steps to mitigate the impact of food on their dreams:
This psychological study offers evidence that the connection between our diet and our dreams is not just a matter of old wives’ tales. While more research is needed, such as in older adults and those with chronic autoimmune conditions, the message is clear: if you want to change your dreams, consider altering your diet first.
Sleep quality is influenced by far more than stress levels and bedtime routines. Emerging research suggests that digestive health may be an overlooked factor in achieving deep, restorative sleep. When the gut is functioning optimally, the body is better positioned to maintain healthy sleep architecture, support balanced neurotransmitter production, and reduce the nighttime discomforts that can interfere with restorative rest. Paying attention to food sensitivities, meal timing, and overall gut health may therefore offer benefits that extend well beyond digestion alone.
Because the gut and brain are connected through a complex network of neural, hormonal, and immune pathways, supporting digestive wellness can be an important part of a comprehensive sleep strategy. For individuals looking to optimize both gut health and nightly recovery, targeted nutritional support may help reinforce the body’s natural ability to maintain digestive balance, support the intestinal barrier, and promote overall well-being from the inside out.
If you want to enjoy healthy digestion and support your gut from the inside, make sure to check out our premium formula, Restore Gut. This well-rounded supplement contains 7 multi-purpose ingredients that help nourish intestinal walls, thus promoting the health of your gut. Together, these powerful ingredients help the gut resist the challenges of today’s harsh environment and better shield itself against invaders.
Click here to learn more about Restore Gut and see how this unique formula can promote digestive harmony by supporting your intestinal walls for healthy digestion, normal immune function, and more energy.
Can lactose intolerance cause night sweats? Yes. For those with sensitivities, the metabolic stress and inflammation caused by dairy consumption can trigger a stress response, leading to GI symptoms, increased heart rate, and night sweats.
Why does dairy specifically affect dreaming? For susceptible individuals, consuming dairy may result in gastrointestinal disturbances that disrupt sleep and affect the quality of dreams.
How long does it take for diet changes to affect my dreams? Removing trigger foods, such as dairy, sweets, or spicy foods, can have immediate positive results on sleep and dreams. When adjusting to an overall healthier diet, expect sleep improvements to take 2-4 weeks.
More dreams of the rarebit fiend: food sensitivity and dietary correlates of sleep and dreaming
Is lactose intolerance secretly stealing your restful sleep?
Gut microbiota and sleep: Interaction mechanisms and therapeutic prospects
Sleep Dysfunction and Gastrointestinal Diseases
The interplay of sleep characteristics with health factors and gut microbiome
We created ZONIA because we believe that everyone deserves to be empowered with the education and tools to be healthy and happy. Zonia's original videos and personalized transformation programs by our health & wellness experts will help you achieve this mission. Click on the button below to get started today: