Should You Eat Before Bed?

Should You Eat Before Bed?

A finished dinner plate with a solid-purple fork and knife on a line-art table under a purple wall clock reading eight, with a bed and a crescent-moon window waiting through the doorway, showing the two-hour gap between eating before bed and sleep.

Quick answer: A small snack before bed is fine; a large meal close to bedtime is the part to avoid. Rest's program has its users finish their last meal at least two hours before bedtime, and the American College of Gastroenterology suggests two to three hours if reflux wakes you. If you are hungry, eat something small and plain rather than lying there hungry.

Not eating before bed is one of the most widely repeated sleep-hygiene rules, and one of the least studied [1]. It also contradicts another piece of common advice: don't go to bed hungry. When sleep is already fragile, that leaves you unsure whether to eat before bed at all.

Is Eating Before Bed Bad for Sleep?

In a survey of 793 young adults, people who ate within three hours of bedtime were about 1.4 times as likely to say they woke up during the night, after adjusting for ethnicity and body weight, but not more likely to say they took a long time to fall asleep [1]. The largest dataset on the question is the American Time Use Survey, a diary of how Americans spend each day. People who ate or drank in the hour before bedtime had roughly double the odds of reporting 30 or more minutes of non-sleep activity in the middle of the night (2.6 times for men, 2 times for women), and the odds fell as the gap between eating and bedtime widened [2]. The diary does not record what they ate or drank, and the time awake counts anything from watching television to tending a child, so this is a pattern in how people spend their nights rather than a measurement of sleep. The same people also logged 25 to 35 minutes more sleep, which the authors suggest may be extra time in bed to compensate for waking during the night, rather than evidence that a late snack helps.

What you eat may matter just as much as when you do it. When 52 healthy adults kept a three-day food diary and then slept in a lab wired to record their sleep, a higher share of fat eaten at night tracked with worse sleep in women: lower sleep efficiency and more time awake after falling asleep. In men, more fat at night went with falling asleep faster, so the findings do not all point one way [3].

One randomized crossover trial fixed both the meal and the bedtime. At Johns Hopkins, 20 healthy volunteers ate the same dinner at 6pm on one visit and at 10pm on another, with bedtime fixed at 11pm, and were monitored overnight both times. The late dinner did not change their sleep stages [4]. What changed was their metabolism: blood sugar ran higher overnight, less of the fat from the meal was burned, and cortisol rose. A second look at the same nights found the late dinner brought slightly deeper sleep early in the night and lighter sleep later [5].

Considering the current evidence, one late meal is unlikely to wreck a healthy sleeper's night on its own.

Source

What was measured

What was found

Survey of 793 young adults [1]

Eating within 3 hours of bedtime, self-reported sleep

About 1.4 times the odds of waking during the night (adjusted); no significant association with time to fall asleep

American Time Use Survey [2]

Eating or drinking within 1 hour of bedtime, daily activity diaries

About double the odds of 30+ minutes of non-sleep activity mid-night; odds fell as the gap widened

Lab trial, 20 healthy adults [4]

Same dinner at 6pm vs 10pm, bedtime at 11pm, overnight sleep recording

Sleep stages unchanged; higher overnight blood sugar, less fat burned, higher cortisol

How Long Before Bedtime Should You Stop Eating?

Rest's program says two hours, and treats a heavy meal inside that window as the thing most likely to cause discomfort and wake you. No trial has fixed a specific threshold. The National Heart, Lung, and Blood Institute (NHLBI) offers similar advice without an exact timeframe: avoid heavy or large meals within a few hours of bedtime, and a light snack is okay [6].

Reflux. While you are upright, gravity helps keep what you ate in your stomach. Lie down with a full stomach and acid can travel back up into the esophagus. In a Japanese case-control study of 147 people with gastro-esophageal reflux disease (GERD) and 294 matched controls, going to bed less than three hours after dinner carried 7.5 times the odds of GERD compared with waiting four hours or more [7]. And when 30 people with reflux symptoms ate the same standard meal six hours before bedtime on one night and two hours before on another, the late meal produced significantly more acid reflux measured while they were lying down [8]. Neither study sets a safe cutoff. The American College of Gastroenterology (ACG) guideline suggests that people with GERD avoid meals within two to three hours of bedtime, and grades that a conditional recommendation on low-quality evidence [9]. If reflux normally wakes you, the longer gap is the one to work with.

Time to fall asleep. In a small study of 12 healthy men who ate the same carbohydrate-based rice meal four hours before sleep on one night and one hour before on another, they fell asleep in about 9 minutes after the early meal and nearly 15 after the late one [10].

Meal timing and the body clock. Light sets the master clock in your brain. Food is a timing cue for the organs that handle it. In a small laboratory study of ten men who had all three meals moved five hours later for six days, their rhythm of melatonin, the hormone that regulates the sleep-wake cycle, did not move, and neither did their sleep, but their blood sugar rhythm shifted by nearly six hours [11]. The study shifted every meal for a week, so it says nothing about a single late snack.

The time when you eat, repeated night after night, is one of the signals your metabolism uses to keep time. This is one reason Rest's program also tells its users not to eat during the night. Should I eat if I wake up in the middle of the night? covers that case.

Dinner at six with bedtime at eleven leaves five hours. Dinner at nine with bedtime at eleven is at the limit, so on nights you get home late, make the late meal the small one.

Changed your dinner and still can't sleep?

Rest is a program built on the principles of CBT-I. A short check-in each morning rebuilds your sleep, meal timing included.

Try Rest

What Should You Eat Before Bed If You Are Hungry?

Something small and plain, which is what the NHLBI's healthy-sleep guidance recommends [6]. A review of nighttime eating found that the documented harms came from large mixed meals in people who ate most of their day's food at night; small snacks, around 150 calories in several of the studies reviewed, did not appear harmful, though the review mostly measured metabolism rather than sleep [12]. Skipping dinner to protect your sleep can leave you lying awake hungry instead.

What the snack is made of may matter a little. In a small inpatient study of 26 adults who spent one day eating whatever they chose, more fiber that day predicted more deep sleep that night, more saturated fat predicted less of it, and more sugar predicted more brief arousals [13].

Practical examples: a piece of fruit, plain yogurt, a slice of toast, a small bowl of cereal, a handful of nuts. Skip the sugary, the greasy, and anything with caffeine, which includes chocolate [14]. For more on alcohol before bed, see Does Alcohol Affect Sleep?

Is Eating Before Bed Causing Your Insomnia?

A late, heavy meal can disturb a night's sleep. Changing dinner time alone may not resolve sleep problems that have lasted months.

The studies above measured a night or a week in ordinary sleepers, and what they found was more waking on a specific night, not insomnia. What CBT-I (Cognitive Behavioral Therapy for Insomnia) treats are the habits that keep insomnia going: a wake time that moves around, spending long periods awake in bed, and a bed your brain has learned to associate with lying awake [15]. Moving dinner earlier does not change those habits. If reflux or stomach pain wakes you most nights, ask your clinician to look into it. That is the limit of sleep-hygiene fixes in general. Reviews of the evidence find sleep hygiene alone a weak treatment for a clinical sleep disorder [16], and the American Academy of Sleep Medicine (AASM) advises clinicians not to use it as a stand-alone therapy [17]. What the AASM strongly recommends is CBT-I, the first-line treatment for chronic insomnia in adults [17].

Rest is a program built on the behavioral principles of CBT-I, plus circadian biology and neuroscience, developed together with world-class sleep experts from institutions like UCSF and Stanford. In Rest's 2026 outcomes study, 318 users who completed eight weeks cut their time awake at night by 49% and went from 75% to 88% sleep efficiency, a before-and-after analysis of people who finished, not a randomized trial. If your whole schedule has drifted late, the place to start is the wake time, not dinner, and How to Reset Your Sleep Schedule walks through how.

If your sleep has been off for months, see how Rest can help »

Frequently Asked Questions

Is it bad to go to bed hungry? If you are hungry at bedtime, a small snack beats lying awake hungry, and the NHLBI's healthy-sleep guidance says a light snack is fine [6]. The documented harms of eating before bed come from large meals eaten late; small snacks did not appear harmful in a review of nighttime eating [12]. Keep sugar low and skip caffeine, chocolate included.

How long after eating should you lie down? Rest's program has its users finish their last meal at least two hours before bedtime. For acid reflux, the American College of Gastroenterology (ACG) guideline suggests avoiding meals within two to three hours of bedtime, a conditional recommendation on low-quality evidence [9]. If reflux wakes you, work with the longer gap and with your clinician.

Does eating before bed make you gain weight? A small trial at Johns Hopkins measured what happens overnight when dinner is late. When 20 healthy volunteers ate the same dinner at 10pm instead of 6pm, their blood sugar ran higher overnight and they burned less of the fat from the meal, changes the authors said could promote weight gain if repeated night after night [4]. The trial did not measure weight itself.

What is the best snack before bed? There is no proven sleep snack. Small, plain and low in sugar is the practical answer, and the NHLBI's healthy-sleep guidance says a light snack before bed is fine [6]. A piece of fruit, plain yogurt or a handful of nuts works; skip chips, dessert and chocolate.

Disclaimer. This article is published for general information only. It is not medical advice or a diagnosis, and nothing here is a recommendation to take, avoid, or change any supplement or medication. Rest is not a substitute for professional medical care. Do not start, stop, or adjust a treatment, including a prescribed sleep medication, without talking to your clinician.

Citations

  1. Chung, N., Bin, Y. S., Cistulli, P. A., & Chow, C. M. (2020). Does the proximity of meals to bedtime influence the sleep of young adults? A cross-sectional survey of university students. International Journal of Environmental Research and Public Health, 17(8), 2677. https://doi.org/10.3390/ijerph17082677 — online survey of 793 adults aged 18 to 29; eating within 3 hours of bedtime was associated with one or more nocturnal awakenings (OR 1.61, 95% CI 1.15–2.27; OR 1.43, 95% CI 1.00–2.04 after adjusting for ethnicity and body mass index) but not with sleep onset latency over 30 minutes or sleep duration of 6 hours or less. Cross-sectional and self-reported; meal size and content were not recorded; the authors call the finding preliminary.

  2. Iao, S. I., Jansen, E., Shedden, K., O'Brien, L. M., Chervin, R. D., Knutson, K. L., & Dunietz, G. L. (2022). Associations between bedtime eating or drinking, sleep duration and wake after sleep onset: Findings from the American Time Use Survey. British Journal of Nutrition, 127(12), 1888–1897. https://doi.org/10.1017/S0007114521003597 — nationally representative US time-use diaries, 2003 to 2018, residents aged 15 and over; eating or drinking within 1 hour of bedtime was associated with higher odds of 30 or more minutes of non-sleep activity within the sleep period (women OR 2.03, men OR 2.64) and with 25 to 35 minutes longer sleep duration; odds of both fell as the eating-to-bed interval widened. Sleep, waking and eating are inferred from activity diaries, not measured; what was eaten or drunk is not recorded; the most common mid-night activities were watching television and caring for children.

  3. Crispim, C. A., Zimberg, I. Z., dos Reis, B. G., Diniz, R. M., Tufik, S., & de Mello, M. T. (2011). Relationship between food intake and sleep pattern in healthy individuals. Journal of Clinical Sleep Medicine, 7(6), 659–664. https://doi.org/10.5664/jcsm.1476 — 52 healthy adults (27 women, 25 men), overnight polysomnography plus a 3-day food diary; in women, the percentage of fat eaten at night correlated with lower sleep efficiency, longer sleep latency and more wake after sleep onset; in men, nocturnal fat intake correlated with shorter sleep latency. Correlational, small sample.

  4. Gu, C., Brereton, N., Schweitzer, A., Cotter, M., Duan, D., Børsheim, E., Wolfe, R. R., Pham, L. V., Polotsky, V. Y., & Jun, J. C. (2020). Metabolic effects of late dinner in healthy volunteers: A randomized crossover clinical trial. Journal of Clinical Endocrinology & Metabolism, 105(8), 2789–2802. https://doi.org/10.1210/clinem/dgaa354 — 20 healthy adults (10 women), mean age 26, identical dinner at 18:00 vs 22:00 with sleep fixed at 23:00 to 07:00 and overnight polysomnography; late dinner raised overnight glucose, delayed the triglyceride peak, lowered dietary fat oxidation and raised cortisol, with no change in sleep architecture. Effects were largest in habitual early sleepers. Single-night crossover in young healthy volunteers; body weight was not an outcome.

  5. Duan, D., Gu, C., Polotsky, V. Y., Jun, J. C., & Pham, L. V. (2021). Effects of dinner timing on sleep stage distribution and EEG power spectrum in healthy volunteers. Nature and Science of Sleep, 13, 601–612. https://doi.org/10.2147/NSS.S301113 — post hoc analysis of the same 20 volunteers; dinner 1 hour vs 5 hours before bedtime left conventional sleep stages unchanged, with a 2.5% initial increase in delta (deep-sleep) EEG power early in the night that reversed later in the night. Healthy sleepers only.

  6. National Heart, Lung, and Blood Institute. (2022). Healthy sleep habits. In Sleep deprivation and deficiency. U.S. National Institutes of Health. https://www.nhlbi.nih.gov/health/sleep-deprivation/healthy-sleep-habits — consumer guidance, last updated March 2022 (accessed October 2026): "Avoid heavy or large meals within a few hours of bedtime. (Having a light snack is okay.)" No specific cutoff is given.

  7. Fujiwara, Y., Machida, A., Watanabe, Y., Shiba, M., Tominaga, K., Watanabe, T., Oshitani, N., Higuchi, K., & Arakawa, T. (2005). Association between dinner-to-bed time and gastro-esophageal reflux disease. American Journal of Gastroenterology, 100(12), 2633–2636. https://doi.org/10.1111/j.1572-0241.2005.00354.x — matched case-control study, 147 GERD patients and 294 age- and sex-matched controls, self-reported dinner-to-bed time; after adjusting for smoking, drinking and body mass index, a dinner-to-bed time under 3 hours carried an odds ratio of 7.45 (95% CI 3.38–16.4) for GERD compared with 4 hours or more. Observational; cannot show direction of cause or fix a threshold.

  8. Piesman, M., Hwang, I., Maydonovitch, C., & Wong, R. K. (2007). Nocturnal reflux episodes following the administration of a standardized meal. Does timing matter? American Journal of Gastroenterology, 102(10), 2128–2134. https://doi.org/10.1111/j.1572-0241.2007.01348.x — randomized crossover trial in 30 patients with typical reflux symptoms, standard meal 6 hours vs 2 hours before bed, 48-hour wireless pH monitoring; the late meal produced significantly more supine acid reflux (p = 0.002), with larger effects in overweight patients and those with hiatal hernia. Symptom scores did not differ between the two days.

  9. Katz, P. O., Dunbar, K. B., Schnoll-Sussman, F. H., Greer, K. B., Yadlapati, R., & Spechler, S. J. (2022). ACG clinical guideline for the diagnosis and management of gastroesophageal reflux disease. American Journal of Gastroenterology, 117(1), 27–56. https://doi.org/10.14309/ajg.0000000000001538 — "We suggest avoiding meals within 2–3 hours of bedtime," graded a conditional recommendation on a low level of evidence; the guideline notes that an interval under 3 hours between eating and bedtime or lying down is associated with more GERD symptoms and medication use.

  10. Afaghi, A., O'Connor, H., & Chow, C. M. (2007). High-glycemic-index carbohydrate meals shorten sleep onset. American Journal of Clinical Nutrition, 85(2), 426–430. https://doi.org/10.1093/ajcn/85.2.426 — 12 healthy men aged 18 to 35, randomized order, polysomnography; the same high-glycemic-index rice meal eaten 4 hours before bedtime gave a sleep onset latency of 9.0 minutes versus 14.6 minutes when eaten 1 hour before bedtime (p = 0.01); no other sleep variables changed. The authors' proposed mechanism concerns carbohydrate metabolism and tryptophan, not digestion. Very small sample, healthy men, carbohydrate-only meals.

  11. Wehrens, S. M. T., Christou, S., Isherwood, C., Middleton, B., Gibbs, M. A., Archer, S. N., Skene, D. J., & Johnston, J. D. (2017). Meal timing regulates the human circadian system. Current Biology, 27(12), 1768–1775.e3. https://doi.org/10.1016/j.cub.2017.04.059 — 10 healthy young men, 13-day laboratory protocol; delaying all three meals by 5 hours for 6 days did not shift the master-clock markers (plasma melatonin and cortisol) or sleep, but delayed the plasma glucose rhythm by 5.69 hours and shifted PER2 clock-gene rhythms in fat tissue by about 1 hour. Supports repeated meal timing as a signal for peripheral clocks; does not test a single night-time meal.

  12. Kinsey, A. W., & Ormsbee, M. J. (2015). The health impact of nighttime eating: Old and new perspectives. Nutrients, 7(4), 2648–2662. https://doi.org/10.3390/nu7042648 — narrative review of mostly metabolic outcomes; negative outcomes are documented for large mixed meals in people who eat most of their daily intake at night, while small (around 150 kcal) single-macronutrient or small mixed snacks before bed, often given as protein or carbohydrate drinks, did not appear harmful in healthy populations. Not a sleep trial and not a threshold.

  13. St-Onge, M.-P., Roberts, A., Shechter, A., & Choudhury, A. R. (2016). Fiber and saturated fat are associated with sleep arousals and slow wave sleep. Journal of Clinical Sleep Medicine, 12(1), 19–24. https://doi.org/10.5664/jcsm.5384 — 26 normal-weight adults aged 30 to 45 in an inpatient crossover study; on the one day of self-selected eating, higher whole-day fiber intake predicted more slow wave sleep and less stage 1 sleep, a higher share of energy from saturated fat predicted less slow wave sleep, and higher sugar intake was associated with more arousals. Whole-day intake, not bedtime snacks; one day of free eating; the authors call for trials.

  14. Heckman, M. A., Weil, J., & Gonzalez de Mejia, E. (2010). Caffeine (1,3,7-trimethylxanthine) in foods: A comprehensive review on consumption, functionality, safety, and regulatory matters. Journal of Food Science, 75(3), R77–R87. https://doi.org/10.1111/j.1750-3841.2010.01561.x — review of caffeine content across foods and beverages, including chocolate and cocoa products.

  15. Perlis, M. L., Smith, M. T., Benson-Jungquist, C., & Posner, D. A. (2005). Cognitive Behavioral Treatment of Insomnia: A Session-by-Session Guide. New York: Springer. https://doi.org/10.1007/0-387-29180-6 — session-by-session CBT-I manual; stimulus control (the bed as a learned cue for wakefulness) and sleep restriction (excess time in bed, irregular schedule) as the perpetuating factors the treatment targets.

  16. Irish, L. A., Kline, C. E., Gunn, H. E., Buysse, D. J., & Hall, M. H. (2015). The role of sleep hygiene in promoting public health: A review of empirical evidence. Sleep Medicine Reviews, 22, 23–36. https://doi.org/10.1016/j.smrv.2014.10.001 — sleep-hygiene advice alone is a weak treatment for a clinical sleep disorder.

  17. Edinger, J. D., Arnedt, J. T., Bertisch, S. M., et al. (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: An American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 17(2), 255–262. https://doi.org/10.5664/jcsm.8986 — strong recommendation for multicomponent CBT-I in adults with chronic insomnia; suggests clinicians not use sleep hygiene as a single-component therapy.