It is one of the most enduring food-and-sleep warnings: eat cheese before bed and you will have nightmares. The specific claim about cheese is mostly folklore — but the broader instinct that a late-night snack can mess with your dreams is not entirely wrong. Here is what the evidence says and where the real mechanism lies. (This is general information, not medical advice.)

The cheese myth, examined

When researchers have actually looked, cheese does not appear to be a nightmare machine. A well-known study by a British cheese industry group had participants eat cheese before bed and found it did not cause nightmares — if anything, most slept fine, and different cheeses were associated with different (not uniformly bad) dream content. That study was lighthearted rather than rigorous, but it fits the broader picture: there is no good evidence that cheese specifically causes nightmares.

So where did the reputation come from? Likely from the real effects of eating late and heavy, which cheese — rich and often eaten as a late snack — happens to exemplify.

The real mechanism: late, heavy eating

Here is what genuinely links food to bad dreams, and it is about when and how much, not cheese itself:

In other words, it is the late, heavy snack — cheese or otherwise — disrupting your sleep that stirs up vivid dreaming, not a special property of cheese. (What actually causes nightmares.)

The practical takeaway

If vivid or disturbing dreams follow your late snacks, the fix is not avoiding cheese specifically — it is not eating heavy food close to bedtime. Keep late snacks small and light, leave a gap before lying down, and go easy on rich, fatty, or spicy foods at night. (The worst foods and drinks before bed.) If your sleep is fragmented for reasons you cannot pin down, the free Titan Sleep Score quiz can help. (The fundamentals of sleeping better.)

FAQ

Does cheese actually cause nightmares? There is no good evidence that cheese specifically causes nightmares. A well-known study had people eat cheese before bed and found it did not trigger nightmares, with different cheeses linked to different, not uniformly bad, dreams. The reputation likely comes from the effects of eating late and heavy, which cheese, often a rich late snack, exemplifies.

Why do I have bad dreams after eating before bed? Because late, heavy eating disrupts sleep and causes more awakenings, and you remember more dreams, including vivid or unpleasant ones, when you wake more during the night. Reflux from fatty food lying down and the rise in metabolic activity from digesting a big meal also fragment sleep, which can stir up vivid dreaming.

What foods are most likely to disturb dreams? It is less about specific foods and more about eating heavy, rich, fatty, or spicy food close to bedtime, along with alcohol, which all disrupt sleep and increase awakenings and dream recall. Cheese gets blamed because it is a common rich late snack, but the pattern is about timing and heaviness rather than any single food.

How do I stop food from giving me bad dreams? Avoid heavy meals close to bedtime, keep any late snack small and light, leave a gap before lying down, and go easy on rich, fatty, and spicy foods and alcohol at night. The goal is to prevent the sleep fragmentation that increases vivid, memorable dreaming, rather than avoiding one specific food like cheese.

The bottom line

Cheese does not cause nightmares — that part is folklore. What can fuel vivid, bad dreams is eating late and heavy, which fragments sleep and makes you wake and remember more dreams. The fix is about timing and portion, not cutting cheese: keep late snacks small and light, leave a gap before bed, and go easy on rich food at night.