Should You Eat Before Bed: What the Research Says
The conventional advice to avoid eating before bed is partially correct and frequently misapplied. The research on eating and sleep shows that the timing, size, and composition of food before bed all affect sleep quality differently, and that going to bed genuinely hungry also impairs sleep.
Why Large Meals Close to Bed Disrupt Sleep
Digestion is an active metabolic process. A large meal raises core body temperature through the metabolic heat generated by processing food. It also diverts blood flow to the digestive system and maintains physiological arousal as the digestive process runs. Both effects oppose the core body temperature drop and physiological quieting that sleep requires.
Acid reflux is another concern with late large meals. In the horizontal sleeping position, stomach contents can move toward the oesophagus more easily than when upright. A stomach that is still significantly full at sleep time increases the risk of reflux events that cause brief awakenings or uncomfortable sleep.
The practical recommendation from this evidence is to stop eating large meals two to three hours before bed. This allows adequate digestion time and reduces the thermal and metabolic arousal that would otherwise interfere with sleep onset.
Why Going to Bed Hungry Also Impairs Sleep
Low blood sugar triggers the release of cortisol and adrenaline, which are alertness and stress hormones that counteract sleep. Going to bed with very low blood sugar, whether from skipping dinner or extended fasting, can produce these hormonal awakenings particularly in the early morning hours when blood glucose has dropped from overnight fasting.
This is one reason some people wake at 3 or 4am without an obvious cause: their blood glucose has dropped low enough to trigger a cortisol response that pulls them out of sleep.
A small, easily digested snack before bed can prevent this pattern. The snack should be small enough not to cause the digestive issues of a full meal, and composed of foods that produce a stable blood sugar rather than a spike.
What Makes a Good Snack Before Bed
The best snacks before bed are small, contain some protein or healthy fat to slow glucose absorption, and include compounds that support sleep. Some specifically useful options are:
A small amount of dairy, such as warm milk or yoghurt, contains both tryptophan and casein protein. Casein digests slowly, providing a stable amino acid release that maintains blood sugar through the early part of the night. The warm temperature also contributes to the relaxation effect.
A small amount of nuts provides magnesium and tryptophan alongside fat and protein that stabilise blood sugar. Almonds and walnuts are good choices. Walnuts also contain small amounts of melatonin.
A small amount of complex carbohydrate with protein, such as wholegrain crackers with nut butter, provides a stable blood sugar profile without the spike and drop that a high sugar snack would cause.
High sugar foods and rapidly absorbed carbohydrates are poor choices because the blood glucose spike they cause is followed by a drop that can trigger the cortisol response that disrupts sleep. Sweet snacks before bed can actually cause the same 3am waking that they seem to prevent initially.
Timing Matters More Than Total Avoidance
The three hour cutoff for substantial eating before bed is a practical guideline, not an absolute rule. A small snack of 100 to 200 calories in the hour before bed is unlikely to meaningfully disrupt sleep and may help those prone to early morning waking. A full meal of 800 to 1,200 calories two hours before bed will likely disrupt sleep for most people.
Alcohol with dinner adds another layer of disruption. Even if dinner is at the appropriate time before bed, alcohol slows gastric emptying, increases the likelihood of reflux, and disrupts sleep architecture independently of the meal.
For the broader framework of timing around food, caffeine, and other substances before bed, see our article on the 10-3-2-1 sleep rule. For a complete set of habits that support sleep, see our article on sleep hygiene tips.
What This Means for Your Sleep
Neither a full stomach nor a completely empty one is optimal for sleep. The practical approach is to eat a moderate dinner two to three hours before bed, avoid large or high sugar snacks in the hour before sleep, and use a small, protein containing snack if hunger or early morning waking is a problem. Meal timing is one of the more tractable variables in sleep quality and one that many people have not considered as contributing to their sleep difficulties.
Sources
- Crispim CA, et al. (2011). Relationship between food intake and sleep pattern in healthy individuals. https://pubmed.ncbi.nlm.nih.gov/21896130/
- Grandner MA, et al. (2010). Dietary nutrients associated with short and long sleep duration. https://pubmed.ncbi.nlm.nih.gov/20683785/
- Kinsey AW, Ormsbee MJ. (2015). The health impact of nighttime eating. https://pubmed.ncbi.nlm.nih.gov/25859885/
Related reading: Sleep Hygiene: 10 Habits for Better Sleep Tonight | The 10-3-2-1 Sleep Rule Explained
About the Author

Nima Koucheki
Founder, Sleep Improvers
Nima Koucheki is the founder of Sleep Improvers. He hosts a podcast and YouTube channel dedicated to sleep science, translating peer-reviewed research into protocols anyone can apply tonight.