Cheese

Cheese and Sleep Quality: Can Eating Cheese Before Bed Affect Your Sleep?

Written by: Editorial Team

|

Time to read 14 min

Cheese has long had a curious reputation when it comes to sleep. For some, it is the comforting final bite of the evening, enjoyed with crackers, fruit or a warm drink. For others, it is the supposed culprit behind strange dreams, restless nights and the occasional nightmare.


It is one of those old wives’ tales that many of us have heard at some point: eat cheese before bed and you will have bad dreams. But, as with many sleep myths, the truth is a little more nuanced.


Cheese is not automatically bad for sleep. In fact, it contains nutrients that may support the body’s natural sleep processes, including tryptophan and calcium. However, cheese can also be rich, salty and high in fat, which may make it harder to digest close to bedtime. For some people, especially those with lactose intolerance or dairy sensitivity, it may also lead to bloating, discomfort and disturbed sleep.


So, can cheese affect sleep quality? It can, but not always in the way the myth suggests.

Does Cheese Really Affect Sleep?

The relationship between cheese and sleep is not as simple as saying that cheese is either good or bad. Like many foods, its effect depends on several things: the type of cheese, how much you eat, when you eat it and how your body responds to dairy.


A small piece of cheese earlier in the evening may have little effect on your sleep. A large cheese-heavy meal just before bed, however, may feel very different. Pizza, macaroni cheese, a rich cheese board or cheese on toast late at night can all leave the digestive system working hard when the body is trying to wind down.


This matters because sleep is affected by more than the moment you close your eyes. What happens in the hours before bed can influence how easily you fall asleep, how often you wake and how refreshed you feel in the morning.


Cheese may affect sleep quality if it:

  • Feels too heavy or rich before bed
  • Causes bloating, indigestion or reflux
  • Is eaten as part of a high-fat meal close to sleep
  • Triggers symptoms of lactose intolerance
  • Leaves you feeling thirsty due to its salt content
  • Contributes to restless or fragmented sleep

For others, a small amount of cheese may be perfectly fine. As with bedding colour, room temperature or evening routines, there is no single rule that works for everyone. Personal comfort matters.

Cheese
Cheese

Why Do People Think Cheese Causes Nightmares?

The idea that cheese causes nightmares has been around for a long time. It may have survived because it feels oddly believable. Many people have experienced strange dreams after a heavy evening meal, and cheese is often part of rich night-time foods.


However, it is worth separating vivid dreams from nightmares. A vivid dream is simply one that feels clear, detailed or memorable. A nightmare is disturbing and usually wakes you or leaves you feeling unsettled. Cheese has been blamed for both, but the evidence does not suggest that it causes nightmares in everyone.


One well-known experiment by the British Cheese Board looked at whether eating different cheeses before bed influenced dreams. According to the results, cheese did not appear to cause nightmares. Instead, different cheeses were linked with different types of dreams. Cheddar was associated with celebrity dreams, Red Leicester with nostalgic childhood memories, Cheshire with peaceful sleep and Stilton with particularly vivid or unusual dreams.


It is a charming story, and it certainly helped to challenge the cheese-nightmare myth. However, it was not a large peer-reviewed medical study, so it should be treated more as an interesting talking point than a definitive answer.


More recent research has taken a more serious look at the connection between food, sleep and dreams. A 2025 Frontiers in Psychology study found a strong association between nightmares and lactose intolerance, possibly because night-time digestive discomfort can affect sleep and dream experience.


This does not prove that cheese directly causes nightmares. It does suggest that, for some people, dairy-related discomfort may make sleep more disturbed and dreams more unpleasant.

Cheese and Dreams: What Does the Science Say?

Dreams are complicated. They can be affected by stress, sleep quality, medications, alcohol, illness, anxiety, sleep deprivation and even how often we wake during the night.


When sleep is fragmented, we may be more likely to remember dreams. If we wake during or soon after rapid eye movement sleep, known as REM sleep, dreams can feel especially clear. If that waking is caused by discomfort, bloating or reflux, the dream may feel more unsettling.


This is where cheese may play a role for some sleepers. The cheese itself may not be creating a nightmare. Instead, it may contribute to the physical discomfort that leads to broken sleep, and broken sleep can make dreams easier to remember.


For someone who digests dairy comfortably, cheese may have no noticeable effect. For someone with lactose intolerance, rich cheese eaten late at night could cause gas, stomach pain or bloating. That discomfort may lead to micro-awakenings, lighter sleep and more vivid dream recall.


In this sense, the old myth may contain a small grain of truth, but not for the reason people often assume.

How Cheese May Negatively Affect Sleep Quality

Cheese can affect sleep quality in a few different ways. The most common issues are linked to digestion, fat content, timing and individual tolerance.

It can be high in fat

Many cheeses are naturally high in fat. Fat takes longer to digest than lighter foods, which means the stomach may still be working when you lie down. This can make some people feel heavy, uncomfortable or unsettled.


Research into meal timing and sleep has found that eating a high-fat meal or snack within three hours of sleep was associated with poorer sleep quality and more wakefulness after falling asleep.


This does not mean that every piece of cheese will disturb sleep. It does mean that a rich cheese-heavy snack very close to bedtime may not be ideal, especially if you already struggle with restless nights.

It may contribute to indigestion or reflux

Lying down soon after eating can make reflux symptoms worse. Cheese, particularly when eaten with bread, fried foods, processed meats or alcohol, may feel heavy in the stomach. If you are prone to heartburn, cheese before bed may make it harder to settle comfortably.


Reflux does not always fully wake you, but it can still disturb sleep. You may toss and turn, sleep more lightly or wake feeling less refreshed.

It can be salty

Some cheeses are high in salt. Eating salty foods late at night can leave you thirsty, which may lead to waking for water or needing the bathroom during the night. This is unlikely to be a problem with a small portion, but it can become noticeable with larger servings or salty cheese-based meals.

It may trigger dairy sensitivity

For people with lactose intolerance or sensitivity to dairy, cheese may cause digestive symptoms. These can include bloating, cramps, gas and discomfort. If these symptoms happen during the night, sleep can become broken and less restorative.


This may be one of the clearest links between cheese and poor sleep.

Is Cheese Before Bed Ever Helpful?

Cheese is not all bad news for sleep. It contains protein, calcium and tryptophan, which are all involved in normal body functions. Tryptophan is an amino acid used by the body to help produce serotonin and melatonin, both of which are connected to sleep and circadian rhythm.


This is why cheese and crackers are sometimes described as a potentially sleep-friendly snack. The cheese provides protein and tryptophan, while the carbohydrates in crackers may help tryptophan become more available to the brain.


Sleep Foundation guidance lists cheese among foods that contain tryptophan and notes that certain foods may support sleep because they contain sleep-related components such as tryptophan, melatonin and magnesium.


However, this does not mean a large cheese board is the perfect bedtime snack. Portion size matters. Timing matters. How your body reacts to dairy matters.


A small, balanced snack may be helpful for someone who wakes hungry during the night. A large, rich snack eaten right before bed may do the opposite.

Cheese, Tryptophan and Melatonin

Tryptophan is often mentioned in conversations about sleep because the body uses it to help produce serotonin, which can then be converted into melatonin. Melatonin is the hormone that helps regulate the sleep-wake cycle.


Cheese contains tryptophan, but it is not a magic sleep remedy. The body’s sleep processes are influenced by many factors, including light exposure, routine, stress, caffeine, alcohol, exercise and bedroom environment.


It is also worth remembering that more is not always better. Eating a large amount of cheese for its tryptophan content may bring digestive downsides that outweigh any potential benefit.


If your aim is to support sleep through food, it is usually better to think about your whole evening routine rather than one specific ingredient. A light, balanced snack, a calm bedroom, soft lighting and comfortable sleepwear are all more likely to work together than any single food on its own.

The Role of Digestion and Late-Night Eating

The timing of your evening meal can have a real impact on how comfortable you feel in bed. Eating late does not affect everyone in the same way, but heavy meals close to bedtime are more likely to disturb sleep.


Cheese is often part of foods that are rich and filling. Think of pizza, lasagne, cheese toasties, nachos, creamy pasta or a late-night cheeseboard. These foods can be delicious, but they may also keep the digestive system active when the body is trying to relax.


Late-night eating may affect sleep by:

  • Increasing the chance of indigestion
  • Making reflux more likely
  • Raising body temperature slightly during digestion
  • Causing discomfort when lying down
  • Making sleep feel lighter or more broken

For better sleep quality, it may help to leave two to three hours between a heavy meal and bedtime. If you do want a snack closer to bed, choose something small and easy to digest.

Cheese and Lactose Intolerance

Lactose intolerance happens when the body has difficulty digesting lactose, the natural sugar found in milk and dairy products. Symptoms can include gas, bloating, stomach cramps and diarrhoea.


Not all cheeses contain the same amount of lactose. Hard aged cheeses, such as Cheddar, Parmesan and Swiss cheese, are often lower in lactose than milk, soft cheese or fresh dairy products. However, tolerance varies from person to person.


If you are lactose intolerant, even lower-lactose cheeses may still cause symptoms depending on the portion size and your individual sensitivity. Eating them at night may make the effects more noticeable, simply because you are lying still and trying to sleep.


This is where cheese may genuinely have a negative impact on sleep quality. Not because it causes nightmares directly, but because digestive discomfort can interrupt rest.


If you often wake bloated, uncomfortable or restless after eating dairy, it may be worth reducing cheese in the evening and seeing whether your sleep improves.

What Types of Cheese Are Most Likely to Disturb Sleep?

There is no official list of “bad cheeses for sleep”, but some types may be more likely to cause issues than others.


Rich, salty or strongly flavoured cheeses may feel heavier before bed. Blue cheese, mature Cheddar, Stilton, Brie, Camembert and processed cheese products may be more noticeable for people who are sensitive to fat, salt or fermentation-related compounds.


Cheese-based meals may be more disruptive than cheese itself. A small slice of Cheddar with oatcakes is very different from a large pizza or a bowl of creamy macaroni cheese.


Cheese may be more likely to disturb sleep when it is:

  • Eaten in a large portion
  • Paired with alcohol
  • Part of a greasy or heavy meal
  • Eaten less than three hours before bed
  • Combined with spicy foods
  • Eaten by someone with reflux or dairy sensitivity

On the other hand, a small portion of mild cheese earlier in the evening may not cause any problem.

Should You Avoid Cheese Before Bed?

You do not necessarily need to avoid cheese before bed completely. The best approach is to pay attention to your own sleep patterns.


If you eat cheese at night and sleep well, there may be no need to change anything. If you often experience disturbed sleep, vivid dreams, reflux or bloating after eating cheese, it may be worth experimenting with your timing and portion size.


Try asking yourself:

  • Do I sleep worse after eating cheese late at night?
  • Do I feel bloated or uncomfortable after dairy?
  • Do cheese-heavy meals make reflux worse?
  • Am I eating cheese on its own, or as part of a heavy meal?
  • Am I pairing cheese with wine, spicy food or processed meats?
  • Would an earlier, lighter snack feel better?

A simple food and sleep diary can be helpful. Note what you eat in the evening, what time you eat it, how easily you fall asleep and how you feel in the morning. After a week or two, patterns may become clearer.

Sleep-Friendly Bedtime Snack Ideas

If you enjoy an evening snack but want something gentler than cheese, there are plenty of options. The aim is to choose foods that feel light, satisfying and easy to digest.


Some sleep-friendly snack ideas include:

  • A banana with a small spoonful of nut butter
  • Porridge made with milk or a dairy-free alternative
  • Wholegrain toast with a light topping
  • Oatcakes with hummus
  • A small bowl of yoghurt, if you tolerate dairy well
  • Kiwi fruit
  • Cherries or tart cherry juice
  • A handful of almonds or pumpkin seeds
  • Herbal tea with a small oat biscuit

If you still enjoy cheese, you could keep the portion small and pair it with wholegrain crackers or fruit rather than a heavy meal. The goal is not restriction. It is comfort.

How to Enjoy Cheese Without Ruining Your Sleep

Cheese can still have a place in an evening routine if it suits your body. A few small changes may make it easier to enjoy without affecting sleep.


Try eating cheese earlier in the evening rather than just before bed. Keep portions modest and avoid combining it with alcohol, spicy foods or large amounts of refined carbohydrates. If you are sensitive to dairy, choose lactose-free options or avoid cheese at night altogether.


It may also help to focus on the rest of your bedtime routine. Dim the lights, avoid screens close to bed, keep your bedroom cool and choose sleepwear and bedding that help you feel comfortable. Food is only one part of sleep quality.


As with many sleep habits, the best choice is the one that helps your body feel calm, settled and ready for rest.

Final Thoughts

So, does cheese negatively affect sleep quality? It can, but not for everyone.


The old idea that cheese before bed automatically causes nightmares is too simple. For many people, a small amount of cheese will not have any noticeable effect on sleep. Cheese also contains nutrients such as tryptophan and calcium, which are linked to the body’s natural sleep processes.


However, cheese can still disturb sleep when it is eaten late, eaten in large amounts or poorly tolerated. Rich, high-fat meals close to bedtime may lead to more wakefulness during the night, and dairy sensitivity or lactose intolerance may cause digestive discomfort that makes sleep feel restless.


Rather than treating cheese as a sleep villain, it may be more useful to think about timing, portion size and personal tolerance.


If cheese makes you feel comfortable and satisfied, it may not be a problem. If it leaves you feeling bloated, thirsty, restless or wide awake, your evening routine may benefit from a lighter alternative.


In the end, better sleep is rarely about one food alone. It is about creating the right conditions for rest, from what you eat to what you wear, how your bedroom feels and how gently you move from day into night.

Key Takeaways

Cheese does not automatically cause nightmares, but it may contribute to disturbed sleep in some people.

The link between cheese and bad dreams may be related to digestive discomfort, especially in people with lactose intolerance.

High-fat meals or snacks close to bedtime have been associated with poorer sleep quality and more wakefulness during the night.

Cheese contains tryptophan and calcium, which may support sleep processes, but large portions can still feel too heavy before bed.

A small amount of cheese earlier in the evening is likely to be fine for many people.

People with reflux, bloating or dairy sensitivity may sleep better by avoiding cheese close to bedtime.

The best bedtime snack is usually light, balanced and easy to digest.

FAQs

Does cheese cause nightmares?

Cheese does not appear to cause nightmares for everyone. However, some research suggests that dairy may be linked with nightmares in people who are lactose intolerant, possibly because digestive discomfort can disturb sleep.

Is cheese bad before bed?

Cheese is not always bad before bed, but it can be too rich or heavy for some people. Large portions, high-fat cheese-based meals and cheese eaten very close to bedtime are more likely to affect sleep quality.

Why do I have strange dreams after eating cheese?

Strange dreams after eating cheese may be linked to disrupted sleep rather than the cheese itself. If cheese causes bloating, reflux or discomfort, you may wake more often and remember your dreams more clearly.

Is cheese and crackers a good bedtime snack?

Cheese and crackers can be a reasonable bedtime snack if the portion is small and you digest dairy well. The combination of protein and carbohydrates may be satisfying. However, it may not suit people with lactose intolerance, reflux or sensitivity to high-fat foods.

What cheese is best before bed?

There is no single best cheese for sleep. If you tolerate dairy well, a small portion of mild cheese may be easier than a large serving of rich, salty or strongly flavoured cheese. Lactose-free cheese may be a better option for some people.

How long before bed should I stop eating cheese?

If cheese affects your digestion, try leaving at least two to three hours between eating it and going to bed. This gives your body more time to digest before you lie down.

Can lactose intolerance affect sleep?

Yes. Lactose intolerance can cause bloating, gas, cramps and other digestive symptoms. If these happen during the night, they may disturb sleep and make dreams more vivid or unpleasant.

What should I eat instead of cheese before bed?

Gentler bedtime snacks include banana, oats, wholegrain toast, kiwi, cherries, almonds, pumpkin seeds or herbal tea with a small biscuit. Choose something light, calming and easy for your body to digest.

Myza

Myza Editorial Team

Read more

Related Blog Posts