Eating before bed is neither the sleep-wrecker nor the sleep aid that it is sometimes made out to be. What matters is the size of the meal, what is in it, and how close to lying down you eat it. A large, rich or spicy meal within an hour or two of bed can disturb sleep, mainly through indigestion and reflux and by keeping your body warmer than it wants to be. A light snack does not, and if you tend to wake hungry at 3am it may actually help.
If you have a simple question ("is it bad to eat before bed?"), the short answer is: a full meal, probably; a snack, no. The rest of this guide explains why, what to be cautious about, and what the evidence really says about so-called sleep foods.
Why a big late meal gets in the way
Reflux and heartburn. Digestion works best upright. Lie down with a full stomach and it is easier for acid to travel back up towards the throat, which shows up as heartburn, a sour taste, coughing, or simply lighter, more broken sleep without an obvious cause. The NHS advice for reflux includes not eating in the three hours before bed and raising the head of the bed, and that advice is a good starting point for anyone who sleeps badly after a late dinner.
Body temperature. Digesting a large meal generates heat, and your body needs to cool slightly to fall asleep and stay asleep. A heavy meal at 9.30pm works against that drop. If you are already a warm sleeper, this is one more reason to eat earlier; our guide to waking up hot at night covers the others.
Fat, spice and volume. High-fat meals empty from the stomach slowly, so the discomfort lasts longer. Spicy food raises body temperature slightly and is a common reflux trigger, though people vary a lot; if a curry never troubles you, there is no need to give it up. Sheer volume matters more than any single ingredient.
Sugar and the late crash. A sugary dessert or large amounts of refined carbohydrate late on can produce a rise and fall in blood sugar during the first hours of sleep, which some people notice as restlessness. The evidence here is less solid than for reflux, but it is a reasonable thing to test for yourself.
In short: Give a main meal two to three hours before bed. Keep anything closer than that small and plain.
Going to bed hungry is not the answer either
Some people overcorrect and eat nothing after 6pm, then wake at 2 or 3am with a hollow feeling and a mind that will not settle. Hunger raises alertness; that is its job. An early dinner followed by a long evening, a very active day, or a small evening meal can all leave you short by the small hours.
A modest snack in the hour before bed prevents this for most people. Something with some slow carbohydrate and a little protein sits well: toast, a banana, a small bowl of porridge or cereal, yoghurt, oatcakes and cheese, a glass of milk. Keep it to a snack rather than a meal, and it is compatible with everything above.
If you wake at the same time most nights and are not sure why, hunger is only one candidate among many; our guide to waking up in the middle of the night runs through the others.
What about "sleep foods"?
You will find lists of foods said to help you sleep: tart cherry juice, kiwi fruit, warm milk, turkey, almonds, bananas. Each has a story attached, usually about melatonin or tryptophan or magnesium. The honest position is that the research behind them is thin.
Tart cherry juice and kiwi fruit have each been tested in a small number of small studies, with modest positive results in some. They are not harmful and the studies are real, but they are not large enough to say these foods reliably improve sleep for the general population. Warm milk is comforting and the ritual may help; the amount of tryptophan in it is not going to do much on its own. Turkey making you sleepy is largely a myth about Christmas dinner, which is more plausibly explained by the size of the meal and the wine.
The same caution applies with more force to supplements. Melatonin is prescription-only in the UK, and claims made for magnesium and other products are not well supported. If you are considering anything of that kind, a pharmacist or GP is the right person to ask. A balanced diet over the day, with enough fibre and not too much sugar, is associated with better sleep in larger studies, and that is a more reliable thing to aim at than any individual food.
Drinks in the evening
Alcohol deserves a mention because it is so often part of dinner. It helps you drop off and then breaks up the second half of the night; the details are in our guide to alcohol and sleep.
Caffeine hides in more evening foods than people expect: dark chocolate, cola, some desserts and some painkillers. Our guide to caffeine and sleep has the list and a way to find your cut-off.
Water is fine, but large amounts in the last hour mean a bathroom trip at 3am. Drink through the evening and taper towards bed.
Herbal teas such as chamomile are pleasant and caffeine-free. Evidence that chamomile itself improves sleep is limited; the warm, calm ritual is probably where most of the benefit lies, and there is nothing wrong with that.
Putting it together
A realistic evening pattern looks like this: main meal finished two to three hours before bed, not enormous and not on the spicy end if reflux is a problem for you; a small plain snack in the last hour if you are peckish or tend to wake hungry; water tapering off; last caffeine hours earlier. This is a modest set of changes and it sits alongside the rest of the Sleep Habits guides rather than replacing them.
If heartburn or reflux is happening most nights whatever you eat, or you are waking with a cough, a sore throat or chest discomfort, that is worth a conversation with a pharmacist or GP rather than another change of menu.
The short version
Eat your main meal earlier and smaller rather than later and larger, do not go to bed hungry, and treat lists of sleep foods as pleasant suggestions rather than treatments. That is most of what the evidence supports.
Frequently asked questions
Is it bad to eat right before bed?
A full meal, yes, for most people: lying down with a full stomach makes reflux and discomfort more likely and can make the night lighter. A small snack is not harmful, and if hunger tends to wake you it can help. The two-to-three-hour gap is for main meals, not for a piece of toast.
What should I eat before bed to help me sleep?
Something small, plain and easy to digest: toast, a banana, a bowl of cereal, yoghurt, oatcakes with a little cheese. Claims that specific foods send you to sleep rest on small studies, so pick what sits comfortably rather than chasing a magic ingredient.
Why do I wake up hungry in the night?
An early or small dinner, a very active day, or a strict eating pattern can leave blood sugar dipping in the small hours. A modest snack containing some carbohydrate and protein an hour before bed often prevents it. If it happens regularly alongside sweating or shakiness, mention it to a GP.
Does eating late make you put on weight?
Total intake over the day matters far more than the clock. Late eating tends to be extra eating, and poor sleep increases appetite the next day, which is where the link comes from. A planned light snack is not the problem; a second dinner at 11pm might be.
Sources and further reading
- NHS: Heartburn and acid reflux
- NHS: Sleep and tiredness
- Sleep Foundation: Nutrition and sleep
Written and reviewed by the Quiet Mind Sleep editorial team in line with our editorial policy. Spotted an error? Let us know.