What Happens to Your Dreams When You Eat Dairy Before Bed

Spread the love

If you like to drink a glass of warm milk before bed, it might interfere with your sleep. A recent study found a link between dairy consumption at night and bizarre and disturbing dreams.

The Link Between Dairy Products and Nightmares

The study included 1,082 participants who answered questions about how certain foods affect their sleep and dreams. Desserts and dairy products, such as milk, cheese, and yogurt, were most associated with nightmares.

Eating too close to bedtime and ignoring hunger or fullness cues also contributed to worse nightmares for the participants. Food-fueled nightmares and sleep issues were especially problematic in people with lactose intolerance. 

Lactose-intolerant people had the most severe gastrointestinal symptoms, including gas, bloating, and cramping, and they had the worst nightmares, according to Tore André Nielsen, PhD, lead author of the study and a psychiatry professor at the University of Montreal.

Nielsen said that GI symptoms at night can influence dreams, so can bodily sensations like menstrual cramps, pressure on the limbs, and pain.

Why Might GI Issues Lead to Nightmares?

Previous research has linked GI conditions, like stomach ulcers, gastroesophageal reflux disease (GERD), and irritable bowel syndrome (IBS), to poor sleep quality.

There are a few theories why GI issues might disrupt sleep and lead to nightmares.

“If you eat something that causes gastrointestinal distress, that fragments your sleep, and the sleep fragmentation leads to more dream recall, especially recall of dreams that are disturbing,” said Jennifer L. Martin, PhD, a spokesperson for the American Academy of Sleep Medicine and professor of medicine at the David Geffen School of Medicine at UCLA, who was not involved with the study.

When sleep quality is poor, people tend to remember disturbing dreams more clearly, she added.

Another theory is that nighttime GI symptoms may increase anxiety and depression, which in turn could influence dreams.

“It has been well documented that stressful situations experienced by a subject can trigger nightmares. Along the same lines, it may turn out that consuming dairy products that are not tolerated by the body may induce a type of stress that triggers nightmares. Unfortunately, it’s just a hypothesis,” Thomas Kilkenny, DO, director of the Institute of Sleep Medicine at Northwell’s Staten Island University Hospital, told Verywell in an email.

Should You Stop Having Dairy at Night?

The study doesn’t prove a cause-and-effect relationship, so it’s unclear whether dairy products like ice cream, milk, or cheese directly cause nightmares. Still, because sweets and dairy were strongly linked to bad dreams, people with lactose intolerance or food sensitivities may want to avoid certain desserts before bed.

Based on the results, Martin said, the worst bedtime snack would be ice cream.

Keeping a sleep diary can help track patterns between your eating habits and sleep quality. If you notice that you tend to have nightmares after eating dairy, you should try to avoid those foods before bed, Kilkenny said.

“It would be interesting to see if the supplement lactase—a treatment for the GI distress of lactose intolerance—would decrease the degree of nightmares,” Kilkenny added.

Other Ways to Improve Sleep Quality

Chronic sleep issues don’t always get resolved from minor changes, like eliminating one food, according to Martin.

Other ways to improve sleep quality include not drinking alcohol and caffeine at night, keeping a regular sleep-wake schedule, exercising, and avoiding screen time too close to bed.

“When I have people who have chronic, disturbing dreams or nightmares, we try to clean up their sleep, and one of the things that we focus on more than specific foods is just not eating big, heavy meals close to bedtime,” Martin said.

What This Means For You

If you’re prone to nightmares—especially if you have lactose intolerance—it might be worth avoiding dairy and sugary desserts before bed. While the new study doesn’t prove dairy causes nightmares, tracking how your evening snacks affect your sleep could help you identify patterns. Improving sleep hygiene overall—like keeping a consistent bedtime and avoiding heavy meals late at night—can also help reduce disturbing dreams.

Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Nielsen T, Radke J, Picard-Deland C, Powell RA. More dreams of the rarebit fiend: food sensitivity and dietary correlates of sleep and dreamingFront Psychol. 2025;16:1544475. doi:10.3389/fpsyg.2025.1544475

  2. Vernia F, Di Ruscio M, Ciccone A, et al. Sleep disorders related to nutrition and digestive diseases: a neglected clinical conditionInt J Med Sci. 2021;18(3):593-603. doi:10.7150/ijms.45512

  3. Delage JP, Côté J, Journault WG, Lemyre A, Bastien CH. The relationships between insomnia, nightmares, and dreams: a systematic reviewSleep Med Rev. 2024;75:101931. doi:10.1016/j.smrv.2024.101931

  4. Centers for Disease Control and Prevention. About sleep.

Stephanie Brown

By Stephanie Brown

Brown is a nutrition writer who received her Didactic Program in Dietetics certification from the University of Tennessee at Knoxville. Previously, she worked as a nutrition educator and culinary instructor in New York City.

Source link