“How long before bed should you stop eating? For a full meal, about 2 to 3 hours, and at least 3 if reflux or heartburn bothers you at night. The rule comes mainly from reflux advice: lying down too soon after a big meal can let stomach acid come back up. If reflux isn't an issue, a small, light snack closer to bedtime is usually fine, and there's no need to go to bed hungry.”
Dinner ran late, bedtime is an hour away, and you're wondering whether that plate will cost you sleep. The common advice is to stop eating 2 to 3 hours before bed, and there's a real reason behind it, though the reason matters more for some people than for others.
This guide explains where the 3-hour rule comes from, what research says about late eating and sleep, who should take the rule seriously and when a small snack is perfectly fine. Then you get six practical tips for an earlier kitchen cutoff that doesn't leave you hungry at midnight.
How long before bed should you stop eating? The 3-hour rule explained
The guideline comes from reflux care more than from sleep research. MedlinePlus explains that after a large meal, or when you lie down too soon after eating, you may feel acid coming up into your throat. That happens when the muscle at the end of your esophagus, the tube that carries food to your stomach, doesn't close properly.
That's why the timing advice centers on lying down. MedlinePlus's advice for GERD includes eating smaller meals, avoiding lying down for at least 2 to 3 hours after eating and not eating close to bedtime.
The NIDDK, part of the National Institutes of Health, is a little more specific. If you have GERD symptoms at night or when you're lying down, it says, eating meals at least 3 hours before you lie down or go to bed may improve symptoms.
Put together, the practical answer is 2 to 3 hours between your last full meal and lying down, leaning toward 3 or more if heartburn is a regular visitor. If you go to bed at 11 p.m., that means finishing dinner by about 8 p.m. If you turn in at 10, aim for 7.
Notice what the rule is really about: lying down on a full stomach. When you're upright, gravity helps keep your stomach contents where they belong. Lie flat and you lose that help, which is also why raising the head of the bed is standard reflux advice. A late snack while you're still up and about is a different situation from a big plate eaten right before you climb into bed.
Does eating late affect sleep? What the research shows
For sleep itself, as opposed to heartburn, the research is thinner. Most of it comes from surveys and small studies, which can show a link but can't prove that late eating causes poor sleep.
One example is a survey of 793 university students in Australia, published in 2020. Those who ate within 3 hours of bedtime were more likely to report waking during the night. Eating late wasn't linked with taking more than 30 minutes to fall asleep or with sleeping 6 hours or less. The authors called their study preliminary and said more research is needed.
Portion size matters too, at least for your health in general. A 2015 review on nighttime eating noted that the harms seen in research mostly involve large mixed meals, often in people who eat most of their food at night. Small nighttime snacks of about 150 calories didn't appear to be harmful and may even have benefits for muscle and metabolic health, though the authors called for more research.
The honest summary: a heavy meal right before you lie down is the pattern worth avoiding, especially if you get heartburn. A small snack is unlikely to cause trouble for most healthy people. If you want to see how your evening habits fit with the rest of a good night, our guide on how to get more deep sleep covers the bigger picture.
Who should stop eating earlier, and who needs a different plan
The 3-hour rule matters a lot for some people and very little for others. Here's how to tell which group you're in.
If you have reflux or heartburn
Occasional reflux is common. MedlinePlus says that if you have symptoms two or more times a week, you may have GERD. For you, the 3-hour gap is worth taking seriously, along with other habits from MedlinePlus and NIDDK:
- Eat smaller meals, especially in the evening.
- Raise the head of your bed, or try sleeping on your left side.
- Wear loose-fitting clothes in the evening.
- Lose weight if needed, since NIDDK notes that losing extra weight can reduce symptoms.
- Learn your triggers. NIDDK lists foods and drinks commonly linked to reflux symptoms: high-fat foods, spicy foods, citrus fruits and tomatoes, chocolate, mint, coffee and other sources of caffeine, and alcohol.
If dinner is your biggest meal
A large, late dinner gives you the most to digest just as you lie down. If you often feel full or uncomfortable at bedtime, an earlier or smaller dinner is the simplest fix to try.
If you keep waking up at night
The student survey above linked eating within 3 hours of bedtime with night waking. If you wake often, an earlier dinner is an easy experiment. Jot down when you ate and how you slept for a week or two, and look for a pattern.
If you have diabetes
Follow your care team's plan for evening meals and bedtime snacks rather than a general rule like this one.
If you work nights
Your "bedtime" might be 8 a.m. The same logic applies: count back from the start of your main sleep, whenever it falls. Our night shift sleep schedule guide shows how to plan that sleep around your shifts.
If a medicine has to be taken with food
Some medicines are meant to be taken with food. If one of yours is due at bedtime, follow the label or your pharmacist's advice, even if that means a small snack late in the evening.
When to see a doctor
- You have heartburn two or more times a week, or it keeps coming back despite these changes.
- Food feels stuck when you swallow, you're vomiting often or you're losing weight without trying. MedlinePlus's GERD article lists these among the reasons to contact your provider.
- You have chest pain with shortness of breath, or pain in your jaw or arm. MedlinePlus says to get medical help right away, because these can be signs of a heart problem.
- Sleep has been poor on most nights for three months or longer, or a partner hears loud snoring or gasping while you sleep.
- You feel low or have thoughts of harming yourself. Reach out to a doctor, or in the US call or text 988.
Is it bad to eat before bed? When a small snack is fine
Not necessarily. If you're truly hungry, a small snack beats lying awake thinking about food. The 2015 review's benchmark was about 150 calories, which is a small bowl or a handful, not a plate.
The best bedtime snacks are light and simple. A few ideas, in small portions:
- A banana or an apple.
- A small bowl of oatmeal or whole-grain cereal with milk.
- A cup of plain yogurt.
- A slice of whole-grain toast with a thin layer of nut butter.
- A small handful of unsalted nuts.
- A few whole-grain crackers with a slice of cheese.
- A small glass of warm milk.
Whatever you choose, keep it small, plain and easy on your stomach: not greasy, not spicy and free of caffeine. Watch for the caffeine hiding in chocolate desserts, black and green tea and many sodas.
If you have reflux, have any snack early enough to stay upright for at least 2 to 3 hours afterward, pick the lighter options and skip anything on your own trigger list. Nuts, cheese and nut butter are higher in fat, so keep those portions small. If reflux isn't an issue for you, a small snack an hour or so before bed is a reasonable middle ground.
What to skip in the last few hours before bed
The CDC's healthy sleep habits include avoiding large meals and alcohol before bedtime, and avoiding caffeine in the afternoon or evening. In practice, that means skipping these late in the evening:
- Big, rich or spicy meals. High-fat and spicy foods are on NIDDK's list of common reflux triggers, and a large portion adds to the load.
- Caffeine in the afternoon and evening. Coffee, tea, cola, energy drinks and chocolate all carry caffeine, so the cutoff applies to more than your coffee mug.
- Alcohol. A nightcap may make you feel drowsy, but the CDC advises avoiding alcohol before bed, and NIDDK lists it as a reflux trigger. If you're tempted to pair a drink with a sleep aid, read our guide to melatonin and alcohol first.
- Large drinks. A big glass of anything right before bed can mean a bathroom trip in the small hours.
- Your personal triggers. If citrus, tomatoes or chocolate reliably bring on heartburn, keep them out of your evening.
None of this means your evening has to feel strict. A dinner you enjoy at a sensible hour, a small snack if you need one and a slower pace can make the last hours before bed something to look forward to.
6 smart tips to stop eating earlier without going to bed hungry
Tip 1: Set a kitchen-closed time
Count back three hours from your usual bedtime and make that last call for full meals. If you sleep at 11 p.m., dinner wraps up by 8. A phone reminder helps for the first week or two, until it becomes a habit.
Tip 2: Front-load your calories
If dinner is your biggest meal, shift some of it earlier. A more filling breakfast or lunch, plus a planned afternoon snack, makes a lighter dinner feel natural instead of like an exercise in willpower.
Tip 3: Take a short walk after dinner
A gentle 10- to 15-minute walk keeps you upright while you digest, which fits the advice not to lie down soon after eating. It also gives the eating part of your day a clear finish line.
Tip 4: Keep a light snack list
Pick your two or three go-to snacks from the list above and keep them on hand. When a late craving hits, the decision is already made, so it doesn't turn into a second dinner.
Tip 5: Stop caffeine early
Have your last coffee or tea by around midday, in line with the CDC's advice to avoid caffeine in the afternoon or evening. Watch for the less obvious sources, like cola, energy drinks and dark chocolate.
Tip 6: Don't go to bed hungry either
An early dinner can backfire if you're starving by 10 p.m. If hunger is keeping you up, have a small snack rather than lying awake. The goal is comfortable, not empty.
A calm wind-down once the kitchen closes
Closing the kitchen earlier frees up the last hour of your evening for winding down: lower lights, a warm shower, a book, a few slow breaths. Our evening routine tips cover the full routine step by step.
If you'd like one more step in that routine, Adapt X.1 is the melatonin-free oral sleep spray we make. You take 6 to 10 sprays (0.75 ml) in your mouth about 30 minutes before sleep, then swallow. It has three ingredients: Zea mays extract (an extract of natural grasses, 60 mg per serving prior to micronization), purified water and natural mint.
In a double-blind, placebo-controlled clinical trial, the people taking it fell asleep 33% faster and had 30% fewer wake-ups in the night than those on placebo. Individual results vary. It contains no melatonin and no sedatives, it's non-habit forming, and there's nothing to sleep off in the morning. It's a sleep spray, not a remedy for heartburn, so keep the meal-timing habits above either way.
Our pages on a natural sleep spray and a natural sleep aid go into more detail. A single bottle covers 30 nights, and most people feel their rhythm settle between weeks two and four of nightly use, which is why there's a 60-night money-back guarantee.
If you have a medical condition, consult a professional before use. The spray contains natural mint, so if mint triggers your reflux, check with your doctor or pharmacist before trying it. If you're pregnant, breastfeeding or take other medicines, especially sleep medicines, ask your doctor or pharmacist first.
At a glance: your evening eating timeline
3 hours before bed: finish your last full meal · keep it moderate in size · give it at least 3 hours if reflux bothers you at night.
Around midday: your last coffee, tea or other caffeine · the CDC advises avoiding caffeine in the afternoon or evening.
An hour or so before bed, if reflux isn't an issue: a small snack only if you're hungry · about 150 calories · nothing greasy, spicy or caffeinated.
About 30 minutes before sleep: lights low, phone away · a calm wind-down step, such as Adapt X.1.
Questions people ask
Is it bad to eat right before bed?
Not always. A small snack is unlikely to hurt most healthy people, and the 2015 review found that small nighttime snacks of about 150 calories didn't appear harmful. A large meal right before lying down is the real problem, especially if you get heartburn.
How long after eating can I go to sleep?
If you have reflux, MedlinePlus advises avoiding lying down for at least 2 to 3 hours after eating, and NIDDK suggests eating meals at least 3 hours before you lie down if your symptoms come at night. Without reflux, a short gap after a light snack is usually fine.
Should I stop eating 3 hours before bed even without reflux?
It's a sensible default, not a strict rule. Three hours gives a full meal time to settle, and the student survey linked eating within 3 hours of bedtime with more night waking. But if a small snack helps you settle, the research doesn't say you need to give it up.
What if I wake up hungry in the middle of the night?
An occasional small snack is fine. If it happens often, your dinner may be too early or too light, so try making it a little more filling or moving it slightly later. If you wake up often for other reasons, that's worth raising with your doctor.
I ate a big meal late. What should I do now?
Don't worry about one night. Stay upright for a while instead of heading straight to bed: tidy the kitchen, take an easy walk or sit and read. If reflux is a risk for you, MedlinePlus lists raising the head of your bed or sleeping on your left side among the habits that may help. Skip the nightcap, and get back to your usual dinner time tomorrow.
The bottom line
So, how long before bed should you stop eating? For most people, about 2 to 3 hours after a full meal, and 3 or more if reflux or heartburn shows up at night. The rule is mostly about not lying down on a full stomach, and the research on sleep itself points the same way without being conclusive.
A small snack is fine when you're truly hungry. Skip big, rich meals, late caffeine and alcohol close to bedtime, and let the last hour of your evening be about winding down rather than eating.