How Long Should You Wait After Eating Before Bed?

Wait at least three hours after eating before you go to bed. This gives your body enough time to move food through the initial stages of digestion while you’re still upright, reducing the chance of acid reflux, disrupted sleep, and metabolic effects that come with lying down on a full stomach.

The three-hour window isn’t tied to a specific clock time. If your last meal is at 7 p.m. or 10 p.m., the gap matters more than the hour on the clock. That said, what you ate and how much of it you ate can shift the math.

Why Three Hours Is the Standard

Digestion is designed to happen while you’re upright. When you eat, your stomach produces acid to break food down. Gravity helps keep that mixture of food and acid where it belongs. Lie down too soon and the contents of your stomach can push back up into your esophagus, causing heartburn or silent reflux that fragments your sleep without you fully realizing it.

Three hours is enough for a typical mixed meal to move substantially out of the stomach and into the small intestine. It’s also short enough that you won’t climb into bed feeling hungry, which can be just as disruptive to sleep as feeling overly full.

What Happens When You Eat Too Close to Bedtime

Late eating affects more than just comfort. In a study from the Endocrine Society, people who ate dinner late (around 10 p.m. instead of 6 p.m.) had peak blood sugar levels about 18 percent higher than when they ate earlier, even though the meal was identical. The amount of fat their bodies burned overnight dropped by roughly 10 percent. Over time, patterns like this can contribute to weight gain and reduced insulin sensitivity.

If you have diabetes or prediabetes, the timing effect is especially relevant. Snacking on carbohydrate-rich foods after dinner can lead to elevated blood sugar the following morning, making it harder to maintain steady levels throughout the day.

Fatty Meals Need More Time

Not all meals leave your stomach at the same rate. After eating a typical solid meal, there’s an initial 20 to 30 minutes where very little emptying happens at all. From there, the composition of the meal determines the pace. Liquids, especially low-calorie ones like water or herbal tea, move through quickly. Solid food takes longer, and fat is the biggest factor in slowing things down.

Fat in the small intestine triggers a brake on stomach contractions, essentially telling the stomach to pause until the fat is absorbed. A high-fat dinner, think a rich pasta dish, fried food, or a heavy steak, can sit in your stomach significantly longer than a lighter meal built around lean protein and vegetables. If your dinner was on the heavier side, stretching that gap closer to four hours is a reasonable adjustment.

Reflux and Sleeping Position

For people who deal with chronic heartburn, the three-hour rule is less of a suggestion and more of a baseline. Lying flat with a full stomach is one of the most reliable triggers for nighttime reflux episodes. If you do end up in bed sooner than planned after eating, sleeping on your left side can help. A study of 57 people with chronic heartburn found that acid cleared from the esophagus much faster when participants slept on their left side compared to their back or right side. The number of reflux episodes didn’t change, but the duration of acid exposure dropped, which reduces both discomfort and long-term tissue damage.

Elevating your upper body with a wedge pillow also helps by restoring some of the gravitational advantage you lose when lying flat.

If You Need to Eat Before Bed

Sometimes the three-hour window just isn’t realistic. Late work shifts, evening workouts, or simply being hungry before bed all happen. In those cases, what you eat matters more than the fact that you’re eating.

Keep it small, ideally around 150 calories, and choose foods that are easy to digest and won’t spike your blood sugar. One study found that a low-calorie snack containing either protein or simple carbohydrates eaten 30 minutes before sleep actually boosted morning metabolism. The key is avoiding large, fatty, or heavily spiced portions.

Some foods actively support sleep quality:

  • Bananas and almonds provide magnesium and potassium, both of which support muscle relaxation. A banana and an ounce of almonds together deliver over 100 milligrams of magnesium.
  • Kiwis showed measurable sleep benefits in one study. Adults who ate two kiwis an hour before bed fell asleep faster and slept longer after four weeks.
  • Tart cherries or tart cherry juice contain melatonin and have been shown to reduce symptoms of insomnia.
  • Oats contain both magnesium and melatonin.
  • Yogurt provides calcium, protein, and a neurotransmitter called GABA that helps calm the nervous system before sleep. A 100-gram serving of plain yogurt has about 121 milligrams of calcium.
  • Pistachios have the highest melatonin content of any nut, plus tryptophan, an amino acid your body uses to produce both melatonin and serotonin.

Fruits like pineapple, oranges, and bananas have been shown to increase melatonin production about two hours after eating, so they work well as an earlier evening snack if you’re looking to support your natural sleep signals.

A Simple Rule of Thumb

Three hours after a normal dinner. Four hours if the meal was large or high in fat. And if you’re genuinely hungry closer to bedtime, a small snack built around the foods above will do far less damage to your sleep than tossing and turning with a growling stomach. The goal is to go to bed neither full nor hungry, giving your digestive system a head start before you take gravity out of the equation.