Home / Blog

How Long Before Bed Should You Eat? The 3-Hour Rule, Explained

Finish a full meal about 3 hours before bed, and at least 2 hours if you get heartburn. A small snack closer to bedtime is usually fine.

Most people should stop eating a full meal about 3 hours before bed, and no later than 2 hours before. That gap gives your stomach time to empty before you lie down, which lowers the chance of heartburn and reflux. A small snack closer to bedtime is usually fine if you're genuinely hungry.

The American College of Gastroenterology's 2022 reflux guideline suggests avoiding meals within 2 to 3 hours of bedtime. That's the most solid number there is, and it's a sensible target even if you've never had heartburn.

Free toolSleep CalculatorBest bedtime or wake-up time, based on 90-minute sleep cycles.

How long before bed should you stop eating?

Aim to finish dinner 3 hours before you go to bed, with 2 hours as the minimum. Find your usual bedtime below to see your cutoffs.

Bedtime Finish dinner by (3 h) Latest meal (2 h)
9:30 PM 6:30 PM 7:30 PM
10:00 PM 7:00 PM 8:00 PM
10:30 PM 7:30 PM 8:30 PM
11:00 PM 8:00 PM 9:00 PM
11:30 PM 8:30 PM 9:30 PM
12:00 AM 9:00 PM 10:00 PM

Not sure what your bedtime should be? The sleep calculator works it out from your wake-up time, then you can count back from there.

Why the timing matters: reflux and digestion

Lying down with a full stomach makes it easier for stomach acid to flow back up into your esophagus. When you're upright, gravity helps keep food and acid where they belong. Flat in bed, that help is gone.

In a Japanese study of 147 people with reflux disease and 294 matched people without it, those who went to bed less than 3 hours after dinner had about 7 times the odds of reflux disease compared with people who waited 4 hours or more. It was an observational study, so it shows a link, not proof of cause. Still, it lines up with the guideline advice.

Reflux at night can also wake you up or make it harder to fall asleep, even if you don't recognize it as heartburn. A sour taste, coughing or a burning feeling in your chest after lying down are all common signs.

Does meal size change how long you should wait?

Yes. The bigger and richer the meal, the longer you should give it before lying down. A large, high-fat dinner tends to take longer to leave your stomach than a light one.

Here's a practical way to think about it:

  • Big or heavy meal (a restaurant dinner, pizza, a holiday plate): give it the full 3 hours, or more if you can.
  • Normal dinner: 2 to 3 hours is a good target.
  • Small snack (a piece of fruit, a small bowl of cereal, a few crackers): many people are fine with about an hour, as long as it doesn't trigger symptoms.

If you run late and have to choose, eat a smaller dinner rather than a normal-sized one right before bed.

How long before bed is it OK to eat a snack?

A light snack an hour or so before bed is fine for most people who don't get reflux. Going to bed genuinely hungry can keep you awake too, so a small snack can help more than it hurts.

Keep it small and simple. The foods most often linked to nighttime reflux are the usual suspects: fatty or fried foods, spicy food, chocolate, citrus, tomato-based dishes, and carbonated drinks. Alcohol and caffeine also tend to make it worse, and both disrupt sleep on their own. See when to stop drinking alcohol before bed for that side of the evening.

How long before bed should I eat if I get heartburn?

If you get heartburn, give yourself at least 3 hours between your last meal and bedtime. That's where the guideline and the research agree most clearly.

A few other steps can help:

  1. Move dinner earlier rather than just making it smaller, if your schedule allows.
  2. Stay upright after eating. A walk or light chores beat the couch.
  3. Raise the head of your bed if symptoms hit at night. The ACG guideline suggests this for nighttime reflux.
  4. Build eating into your wind-down. If your bedtime routine starts an hour before bed, make the kitchen close before that.

See a doctor if heartburn is persistent, such as happening most weeks, waking you at night, or not improving with these changes. Also see one promptly for trouble or pain swallowing, food feeling stuck, vomiting, unexplained weight loss, or black stools. Ongoing reflux is treatable, and it's worth ruling out other causes.

What if you work late or go to bed early?

Count back from your actual bedtime, not the clock. If you go to bed at 9:30 PM, dinner at 7:30 PM is already cutting it close. If you work a late or overnight shift, the same 2-to-3-hour gap applies before your main sleep, even if that's in the morning. The shift work sleep calculator can help you plan that sleep window.

If you're chronically finishing dinner right before bed because your bedtime is too early for your schedule, it may be worth shifting the whole evening later. A consistent, realistic bedtime is easier to plan meals around than one you keep missing.

Frequently asked questions

How long before bed should you stop eating?

Finish a full meal about 3 hours before bed, and no later than 2 hours before. The American College of Gastroenterology suggests avoiding meals within 2 to 3 hours of bedtime.

How long before bed is it OK to eat?

A normal dinner is best 2 to 3 hours before bed. A small, light snack about an hour before bed is usually fine if you do not get heartburn.

Is it bad to go to bed right after eating?

It can be. Lying down with a full stomach makes reflux more likely, and people who go to bed within 3 hours of dinner are more likely to have reflux disease.

When should I see a doctor about nighttime heartburn?

If it happens most weeks, wakes you at night, or does not improve with earlier and smaller dinners. Trouble swallowing, vomiting, weight loss or black stools need prompt attention.

This article is general information, not medical advice. If you're often exhausted despite enough time in bed, snore loudly, or have been told you stop breathing in your sleep, see a doctor.