Most experts recommend waiting two to four hours after a full meal before going to bed, with three hours being the most commonly cited target. This gives your stomach enough time to move food along before you lie down, reducing the chance of acid reflux, disrupted sleep, and metabolic effects that can add up over time.
Why Three Hours Is the Standard
The reasoning is straightforward: when you eat, your stomach fills with food and ramps up acid production to break it down. While you’re upright, gravity helps keep that mixture where it belongs. When you lie down too soon, there’s nothing stopping stomach acid from creeping up into your esophagus, causing heartburn or reflux. As a Mayo Clinic gastroenterologist puts it, digestion is meant to happen while you’re upright and awake.
Solid foods take longer to leave the stomach than liquids. After a typical solid meal, there’s a 20- to 30-minute lag before the stomach even begins emptying in earnest, followed by a longer, steadier phase of digestion. Liquids move through much faster. This is why a light snack an hour or two before bed is generally fine, while a heavy dinner needs a wider buffer.
What Happens to Your Metabolism
Reflux isn’t the only concern. Eating close to bedtime changes how your body processes food at a hormonal level. A large study of 845 adults found that eating a late dinner caused melatonin levels to rise 3.5 times higher than with an earlier meal. That spike in melatonin interfered with insulin secretion, leaving blood sugar elevated while insulin levels dropped. In other words, the same meal eaten late at night produces a worse blood sugar response than the same meal eaten earlier.
This effect was especially pronounced in people who carry certain genetic variants tied to blood sugar regulation, roughly half the study’s participants. For anyone watching their glucose levels, meal timing isn’t just about comfort. It directly affects how well your body handles carbohydrates.
Late Eating and Weight Gain
A Harvard study tested whether the timing of meals matters for weight, even when the food itself is identical. Sixteen participants followed two different schedules: one where they finished dinner six and a half hours before bed, and another where the same meals were shifted four hours later, ending just two and a half hours before bed. The late schedule increased hunger, reduced the number of calories participants burned, and promoted fat storage. None of those changes had anything to do with eating more food. The calories were the same. Only the timing changed.
Over weeks and months, those shifts in appetite hormones, calorie expenditure, and fat cell behavior could meaningfully contribute to weight gain. This is one reason nutritionists increasingly treat meal timing as a real factor in weight management, not just total calories.
If You Need to Eat Close to Bedtime
Sometimes a late dinner or bedtime snack is unavoidable. When that’s the case, what you eat matters more than usual. High-protein, high-fiber, low-carbohydrate snacks are the least disruptive options. Good choices include:
- Greek yogurt
- A hard-boiled egg
- A tablespoon of peanut butter with celery
- A light cheese stick
- Air-popped popcorn
- Salad greens with cucumber and a splash of vinaigrette
These keep portion size small and avoid the carbohydrate load that triggers the worst blood sugar disruption late at night. Avoiding spicy, acidic, or fatty foods also reduces reflux risk.
Sleeping Position Can Help
If you do end up lying down sooner than ideal, your sleeping position makes a real difference. Elevating the head of your bed by six to eight inches using blocks or a wedge under the mattress helps gravity keep stomach acid down. Stacking extra pillows might seem like the easier fix, but that tends to bend your body at the waist, which actually increases pressure on the stomach and can make reflux worse.
Sleeping on your left side also helps, since the anatomy of your stomach means acid pools away from the opening to your esophagus in that position. These aren’t replacements for the three-hour window, but they’re useful backup strategies on nights when timing doesn’t work out.
Adjustments During Pregnancy
Pregnant women are especially prone to acid reflux because the growing uterus pushes upward on the stomach, and hormonal changes relax the valve between the stomach and esophagus. The standard advice holds: eat a small dinner and avoid food for at least three hours before bed. Keeping meals smaller throughout the day, rather than eating two or three large ones, can also reduce pressure on the stomach and make nighttime reflux less likely.
A Practical Timeline
For a full dinner with protein, fat, and carbohydrates, aim for three hours before bed. If you’re having a lighter meal or a snack that’s mostly protein or fiber, two hours is usually sufficient. Liquids clear the stomach faster, so a glass of water or herbal tea within an hour of bed is rarely a problem (though it may mean a middle-of-the-night bathroom trip). If your schedule forces you to eat late, keep the portion small, skip the carbs, and elevate your head when you sleep.