Cheese and unsettling dreams might be more connected than you’d think. Recent studies hint that lactose intolerance and late-night dairy consumption can throw off digestion and rest, potentially increasing the likelihood of nightmares. It’s not just cheese; spicy, sugary, fatty, and hearty meals, along with alcohol and caffeine, can all mess with sleep quality and lead to vivid or unsettling dreams. But there are simple solutions to consider. Eating smaller portions earlier in the evening, pairing cheese with fiber-rich foods, and maintaining good sleep hygiene can all help lower the risk of nightmares.
It’s often tough to resist a late-night snack, especially if you’ve been working through dinner or skipped out on protein earlier in the day. When you crave that go-to snack, like cheese and crackers, it’s easy to pause and recall the notion that cheese can lead to nightmares. But does this beloved dairy really have the power to influence our dreams?

Once considered a mere food myth, the idea that cheese can induce nightmares has been debunked by a recent study in the journal Frontiers in Psychology. It reveals that consuming dairy might indeed disrupt your sleep. Here’s what you need to know.
The tale of cheese-induced nightmares has been circulating for centuries, yet this study, involving nearly 1,100 participants, is among the first to find a significant link between nightmares and lactose intolerance. Dr. Tore Nielsen, a professor at the Université de Montréal and the study’s lead author, explains, “Nightmare severity is strongly associated with lactose intolerance and other food allergies. These findings suggest that altering dietary habits for those with certain food sensitivities could alleviate nightmares, and they might also explain why dairy is often blamed for bad dreams.”
The study uncovered several interesting correlations between eating habits and nightmares:
– Approximately one-third of respondents reported regular nightmares.
– Women were more likely to recall their dreams and to report poor sleep and nightmares.
– Women were nearly twice as likely as men to report food intolerances or allergies.
– Roughly 40% of participants believed eating late at night or certain foods affected their sleep.
– About 25% thought specific foods could worsen their sleep.
– Those with less healthy diets were more prone to negative dreams and less likely to remember them.
The researchers linked lactose intolerance to gastrointestinal symptoms, nightmares, and poor sleep quality. They suggest that dairy consumption may disrupt the gastrointestinal tract, leading to discomfort that could impact dreams and trigger nightmares.
Dr. Nielsen emphasizes that for those with severe gastrointestinal symptoms and disrupted sleep, nightmares can be particularly disruptive. “We know that bodily sensations can affect dreaming. Nightmares can be very disruptive, especially if they occur frequently, as they tend to wake people from sleep in a dysphoric state and may also lead to sleep avoidance behaviors, both of which can rob you of restful sleep.”
Cheese, in particular, might be to blame due to its high protein and fat content, which takes longer to digest. This can lead to more active digestion and restless sleep, especially if you’re sleeping lightly, as you’re more likely to wake up during dream phases, which can be remembered as vivid or unsettling dreams.
Dr. Hussain Ahmad, a physician and consultant based in the UK, explains that the idea that cheese causes nightmares likely stems from the presence of tyramine, an amino acid found in some cheeses, particularly mature ones. “Tyramine can influence brain activity by affecting the release of certain hormones, which could theoretically make dreams more vivid.”
If cheese is causing you unrestful sleep or nightmares, Dr. Gail Clifford, a physician and consultant at ARRC LED, recommends avoiding it a few hours before bedtime. Dr. Ahmad agrees, noting that allowing two to three hours for the cheese to be processed before sleeping gives your body enough time to get through the first stage of digestion.
Combining cheese with foods that aid digestion, such as whole wheat crackers, nuts, or fruits like apples, can help maintain stable blood sugar levels and prevent indigestion, says Dr. Clifford. Additionally, eating smaller portions is less likely to disrupt sleep than a heavy cheese meal.
Adjusting your sleep environment can also help. “Elevating your head slightly can help prevent reflux, and sleeping in a cool, dark, quiet room can reduce fragmented sleep, which is when vivid dreams are more often recalled,” says Dr. Clifford. Practicing good sleep hygiene, such as maintaining a consistent sleep schedule and avoiding screens before bed, can also reduce the chances of disturbed sleep, according to Dr. Ahmad.
While most foods don’t directly cause nightmares, some can disrupt digestion, sleep quality, or brain chemistry, leading to less restful sleep. Examples include sugary foods, spicy foods, heavy meals, refined carbs, heavy fatty foods, caffeine, salty foods, and dairy. On the other hand, alcohol can suppress REM sleep early in the night, causing REM to rebound later, leading to intense, emotional, and often vivid dreams that are more likely to be remembered as nightmares.