How Long After You Eat Should You Go to Bed?

You should wait at least 2 to 3 hours after eating a full meal before going to bed. This window gives your body enough time to move food through the initial stages of digestion, reducing the risk of acid reflux, disrupted sleep, and blood sugar problems. A light snack closer to bedtime is generally fine, but a large or heavy meal right before lying down can cause real issues.

Why 2 to 3 Hours Is the Standard

When you eat, your stomach produces acid and begins breaking food down mechanically and chemically. This process is most active in the first couple of hours after a meal. Lying flat during that window makes it easier for stomach acid to flow back into your esophagus, since gravity is no longer helping keep things moving downward. The National Sleep Foundation recommends eating a light dinner 2 to 3 hours before bedtime to let your body slowly ease into sleep mode.

The type of food you eat changes how long digestion takes. Simple carbohydrates like white rice or fruit break down in roughly 1 to 2 hours, while proteins and fats need 3 to 6 hours. A bowl of cereal with milk digests much faster than a steak dinner with a side of buttered potatoes. If your last meal was heavy or high in fat, you may want to push that window closer to 3 or even 4 hours.

What Happens When You Lie Down Too Soon

The valve between your stomach and esophagus (called the lower esophageal sphincter) relaxes temporarily throughout digestion. When your stomach is full, the rate of these relaxations increases three- to fourfold compared to when it’s empty. In people prone to acid reflux, those relaxations tend to be more complete, meaning more acid escapes upward. Lying flat removes the gravitational advantage that normally helps keep acid in your stomach, which is why heartburn often strikes at night after a late meal.

Even if you don’t have diagnosed reflux, eating close to bedtime can leave you with that uncomfortable “full” feeling, mild nausea, or a burning sensation in your chest that makes it hard to fall asleep or stay asleep.

Late Eating Affects Blood Sugar and Weight

A study of 845 adults found that eating dinner late, when the body’s melatonin levels are already rising, disrupted blood sugar control. Participants who ate later had melatonin levels 3.5 times higher than those who ate earlier, and their insulin levels dropped while blood sugar stayed elevated. The combination of high melatonin and food intake impaired insulin secretion, meaning the body struggled to process the meal properly. This effect was especially pronounced in about half the participants who carried a common genetic variant, but it showed up across the entire group to some degree.

Weight is part of the picture too. A Harvard trial published in Cell Metabolism tested two identical diets on 16 overweight or obese participants, with the only difference being meal timing. Eating later in the day increased hunger, reduced the number of calories burned, and promoted fat storage. Over time, those shifts could meaningfully contribute to weight gain. The calories themselves aren’t more fattening at night, but your body handles them differently when your internal clock is winding down for sleep.

When a Bedtime Snack Is Fine

Going to bed hungry isn’t ideal either. Low blood sugar overnight can wake you up or leave you restless. A small, nutrient-dense snack 30 to 60 minutes before bed is unlikely to cause problems for most people, as long as you’re not eating a full meal’s worth of food.

The best bedtime snacks combine a small amount of protein or healthy fat with complex carbohydrates. Some good options:

  • Peanut butter on whole grain bread: the fat slows carbohydrate absorption, keeping blood sugar stable overnight
  • A handful of almonds or pistachios: both contain natural melatonin and magnesium, which supports muscle relaxation
  • Greek yogurt with sliced banana: provides tryptophan (a building block for sleep-regulating serotonin) plus potassium and magnesium
  • Cheese on whole grain crackers: another tryptophan source paired with slow-digesting carbs
  • Unsweetened tart cherry juice: one of the richest natural food sources of melatonin

Chamomile tea and warm milk are traditional choices that have some support as well. The key is keeping portions small and avoiding anything spicy, very acidic, or high in sugar, all of which can interfere with sleep quality.

Adjustments for Specific Conditions

If you have acid reflux or GERD, the 2 to 3 hour guideline becomes more of a minimum than a suggestion. Staying upright after eating is especially important because your esophageal valve is already more prone to letting acid through. Elevating the head of your bed can help, but it’s not a substitute for timing your meals earlier.

People with gastroparesis, a condition where the stomach empties unusually slowly (common in diabetes), should stay upright for at least 1 hour after eating. Smaller, more frequent meals digest more predictably than large ones, which matters when your stomach’s emptying rate is unpredictable. If you have diabetes without gastroparesis, the blood sugar findings above are still relevant. Eating your last substantial meal earlier in the evening gives your body time to process glucose before melatonin levels climb.

Practical Tips for Timing Your Last Meal

If you go to bed at 10 p.m., aim to finish dinner by 7 or 7:30. If you’re hungry after that, stick to a light snack from the list above. If your schedule forces you to eat late, for instance after an evening shift, choose smaller portions with easily digestible foods like soup, eggs, or a small serving of fish with vegetables rather than a heavy pasta or fried meal. The less work your stomach has to do, the less likely you are to feel the effects when you lie down.

Paying attention to how you feel matters more than following a rigid rule. If you consistently wake up with heartburn, feel bloated in the morning, or notice your sleep quality drops on nights you eat late, that’s your body telling you to widen the gap. For most people, keeping 2 to 3 hours between a full meal and bedtime hits the sweet spot between comfort, good digestion, and solid sleep.