GoodSleep

Eating before bed: how long to wait, and does it matter for sleep?

Sources checked claim by claim by an AI review. Approved for publishing by Oleksii Y. on . · How we check pages

No study on this page tested a waiting rule in everyday life; one small lab study compared the same meal 4 hours and 1 hour before bed. Several of the studies used 3 hours as a cut-off, and the NHS gives 3 or 4 hours as advice for heartburn. For sleep itself the studies are small or observational: surveys link eating close to bedtime with waking in the night, but they can't show that the meal is the cause.

In a 2020 online survey of 793 university students aged 18 to 29, eating within 3 hours of bedtime was linked with waking up in the night, but not with taking more than 30 minutes to fall asleep or with sleeping 6 hours or less. The link with waking was weaker, and only just remained significant, after adjusting for ethnicity and body mass index.

What the studies of late eating found

The survey above has limits its authors spell out:

The authors call it a preliminary cross-sectional study. It did not record the size or make-up of the last meal, or snacking after dinner, and they write that the effect of changing meal timing on sleep is unknown.

A much larger study used diaries of a single day:

A 2022 analysis of US time-use diaries from 124,239 people aged 15 and over (2003–2018) found that eating or drinking in the hour before bed went with longer sleep, but also with higher odds of being awake for more than 30 minutes after first falling asleep. People who ate or drank further from bedtime had lower odds of short sleep, long sleep and that night waking.

The diaries recorded only that people ate or drank, not what they had, and the authors write that the causal pathways are difficult to discern.

A small study measured sleep in a lab instead of asking about it:

In a 2011 study of 52 healthy adults who kept a 3-day food diary and had their sleep recorded in a lab on two nights (polysomnography), eating near bedtime (dinner and a late-night snack) was linked with poorer sleep measures, and the links differed between men and women. The authors point to the small number of participants and call for more studies.

Not every study points the same way

One small lab study changed the meal and its timing on purpose:

In a 2007 sleep-lab study of 12 healthy young men, a high-glycaemic-index rice meal (jasmine rice) eaten 4 hours before bed shortened the time taken to fall asleep to 9.0 minutes on average, against 17.5 minutes after a low-glycaemic-index rice meal at the same time and 14.6 minutes after the jasmine rice meal eaten 1 hour before bed. No other sleep measures changed, and the authors say the relevance for people with sleep problems still has to be tested.

That is twelve healthy men on three test nights. It is not a reason to eat rice before bed, and it says nothing about people who sleep badly.

Heartburn at night: the 3-hour advice and its evidence

The firmest advice about a gap before bed is for heartburn and acid reflux.

To ease heartburn and acid reflux, the NHS advises not eating within 3 or 4 hours before bed, eating smaller, more frequent meals, and not having food or drink that triggers your symptoms. It lists coffee, tomatoes, alcohol, chocolate and fatty or spicy foods among the things that can cause heartburn or make it worse.

A 2005 case-control study compared 147 people with gastro-oesophageal reflux disease (GERD) with 294 people without reflux symptoms. Going to bed less than 3 hours after dinner went with 7.45 times the odds of GERD compared with waiting 4 hours or more. The authors noted that the usual advice for people with GERD not to eat within 3 hours of going to sleep had a remarkable lack of supporting clinical evidence.

The NHS advises seeing a GP if lifestyle changes and pharmacy medicines are not helping your heartburn, if you have heartburn most days, or if you also have symptoms such as food getting stuck in your throat, frequently being sick, or losing weight for no reason.

What you drink in the evening matters too

The NHS lists the most common causes of insomnia as stress, anxiety or depression; noise; a room that is too hot or cold; an uncomfortable bed; alcohol, caffeine or nicotine; illegal drugs; jet lag; and shift work.

Our sister sites cover two of these:

Checking it for yourself

Since the studies can't tell you whether late meals affect your own sleep, your own record can help. Note when you ate in the evening in the last column of a printable sleep diary for two weeks, and see whether the nights you woke up line up with the late meals. If you wake in the night and can't get back to sleep, see waking up at 3am. If you blame a particular food for bad dreams, see does food cause nightmares?

When to get help

This site offers self-help information, not medical advice, and can't tell you whether you have a sleep condition. Talk to a doctor or other clinician if:

  • poor sleep has gone on for a long time or is making your days hard to manage;
  • you often feel so sleepy in the day that it's hard to stay awake, especially while driving;
  • you or a bed partner notice loud snoring, choking or pauses in your breathing during sleep;
  • your mood is low, or you feel anxious or on edge most days.

If you are thinking about ending your life or harming yourself

You don't have to go through this alone. If you are in immediate danger, call your emergency number (911 in the US and Canada, 999 in the UK, 112 in the EU). You can also talk to someone now:

  • US:988 Suicide & Crisis Lifeline (call or text)988
  • Canada:988 Suicide Crisis Helpline (call or text)988
  • UK & Ireland:Samaritans116 123
  • Other countries:Find a Helpline (free directory of helplines)findahelpline.com

Sources: NIMH (911, 988), 988.ca (9-8-8, 9-1-1), NHS (999), European Commission (112), Samaritans (116 123, UK and Ireland).

Sources

  1. Chung N, Bin YS, Cistulli PA, Chow CM (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. PMC7215804
  2. Iao SI, Jansen E, Shedden K, O'Brien LM, Chervin RD, Knutson KL, Dunietz GL (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. PMC9092657
  3. Crispim CA, Zimberg IZ, dos Reis BG, Diniz RM, Tufik S, de Mello MT (2011). Relationship between food intake and sleep pattern in healthy individuals. Journal of Clinical Sleep Medicine 7(6):659–664. PMC3227713
  4. Afaghi A, O'Connor H, Chow CM (2007). High-glycemic-index carbohydrate meals shorten sleep onset. American Journal of Clinical Nutrition 85(2):426–430. PMID 17284739 (we read the abstract; the page says only what it states)
  5. Fujiwara Y, Machida A, Watanabe Y, et al. (2005). Association between dinner-to-bed time and gastro-esophageal reflux disease. American Journal of Gastroenterology 100(12):2633–2636. PMID 16393212 (we read the abstract; the page says only what it states)
  6. NHS (2023). Heartburn and acid reflux. NHS website, page last reviewed 20 November 2023. nhs.uk
  7. NHS (2024). Insomnia. NHS website, page last reviewed 19 March 2024. nhs.uk

Take your sleep log with you

We're building a companion mobile app to keep your sleep log on your phone and track your sleep efficiency over time. It isn't out yet. Leave your email to get notified when it launches.