The most widely recommended cutoff is three hours before bedtime. So if you go to sleep at 10 p.m., your last meal should wrap up around 7 p.m. If you’re a night owl hitting the pillow at midnight, finishing by 9 p.m. works fine. The specific clock time matters less than the gap between your last bite and when you lie down.
That three-hour window gives your body enough time to move food through the early stages of digestion, reduces the chance of acid reflux when you’re horizontal, and helps protect sleep quality. But the reasons to stop eating go beyond just comfort. Late-night calories affect your hormones, blood sugar, and long-term metabolic health in ways that earlier meals simply don’t.
Why Three Hours Before Bed Is the Target
Your stomach needs roughly two to four hours to empty a standard meal. When you lie down before that process finishes, partially digested food and stomach acid can travel back up into your esophagus. For people prone to acid reflux, this is a reliable trigger for nighttime heartburn. Research in gastroenterology has found that even healthy subjects typically leave about four hours between dinner and bedtime, and that this gap is associated with fewer reflux episodes during sleep.
Digestion also generates heat and keeps your metabolism active, both of which interfere with the body’s natural cool-down process that initiates deep sleep. Eating too close to bed doesn’t just risk heartburn. It can make your sleep lighter and more fragmented, leaving you groggier the next morning.
Your Body Handles Food Differently at Night
Your ability to process sugar and fat isn’t constant throughout the day. It follows a circadian rhythm, peaking in the morning and declining as evening approaches. In people with prediabetes, glucose tolerance drops dramatically by evening. When researchers gave the same sugary drink to participants at 7 a.m. and again at 7 p.m., blood sugar levels after the evening test were 40 to 62 mg/dl higher than the morning test. The body produced less insulin in the evening and responded to it less effectively.
This isn’t limited to people with blood sugar problems. The pattern holds broadly: your cells are simply better at absorbing and using glucose earlier in the day. Cortisol, the stress hormone that naturally peaks in the morning, plays a major role in driving this rhythm. When cortisol follows its normal daily cycle, it helps keep morning blood sugar processing sharp. When that rhythm weakens, evening blood sugar control suffers even more.
Late Eating Changes Hunger Hormones
Eating late doesn’t just affect the night you do it. It reshapes how hungry you feel the next day. A controlled study from Harvard tracked overweight and obese participants on two identical diets. The only difference was timing: one schedule finished the last meal six and a half hours before bed, and the other pushed the same meals four hours later, finishing just two and a half hours before bed.
The late-eating schedule increased hunger, reduced the number of calories participants burned at rest, and shifted the body toward fat storage. Specifically, participants on the late schedule woke up with a 34% higher ratio of the hunger hormone ghrelin to the satiety hormone leptin. Their leptin levels (the hormone that tells your brain you’re full) dropped nearly 16%, while ghrelin (the hormone that drives appetite) rose about 5%. In practical terms, the same food eaten later made people hungrier the next morning and primed their bodies to store more fat.
The Link to Long-Term Metabolic Risk
The American Heart Association has flagged late-night eating as a pattern associated with poorer heart and metabolic health. A large Japanese study of over 60,000 adults found that people who regularly ate dinner within two hours of bedtime and skipped breakfast had a 17% higher likelihood of developing metabolic syndrome, a cluster of conditions including high blood pressure, elevated blood sugar, and excess abdominal fat.
Inflammation markers tell a similar story. Each 10% increase in the share of daily calories consumed in the evening was linked to a 3% rise in C-reactive protein, a marker of systemic inflammation tied to heart disease. Interestingly, the anti-inflammatory benefits of a longer overnight fast only appeared in women who stopped eating before 6 p.m. Simply extending the fast by skipping breakfast the next morning didn’t produce the same effect. The timing of when you stop eating matters more than the total fasting window.
The AHA’s guidance is straightforward: eat a greater share of your daily calories earlier in the day. Front-loading your intake toward breakfast and lunch, rather than back-loading it into a large dinner and late snacks, is consistently associated with better outcomes for blood sugar, weight, and cardiovascular risk.
What If You Work Night Shifts
Standard advice assumes you sleep at night, but roughly 15 million Americans work evening or overnight shifts. For shift workers, the rules change. An NIH-funded study simulated night shift conditions and found that eating during nighttime hours raised average blood sugar by 6.4%. Participants who restricted their meals to daytime hours, even though they were awake and working at night, showed no significant blood sugar increase at all.
The takeaway for shift workers is to eat during daylight hours whenever possible, even if that means your meals don’t line up neatly with your work schedule. The conflict between your internal body clock and when you eat appears to be a bigger driver of metabolic disruption than sleep loss alone. Packing your calories into the daytime window, before your shift or after you wake from daytime sleep, can reduce the glucose spikes that come with eating when your body expects to be resting.
Practical Guidelines for Your Schedule
The three-hour rule is a solid default, but a few additional details help you apply it realistically.
- Size matters more than timing for small snacks. A light snack under 200 calories, something like a handful of nuts or a small piece of fruit, is unlikely to cause significant reflux or metabolic disruption. The research on late eating largely involves full meals, not minor snacks.
- Composition matters too. High-fat and high-sugar foods take longer to digest and provoke more insulin response. If you do eat closer to bed, lean protein or fiber-rich foods are gentler on both digestion and blood sugar.
- Consistency reinforces your body clock. Eating at roughly the same times each day strengthens your circadian rhythm, which improves insulin sensitivity and sleep quality over time. Erratic meal times weaken these rhythms.
- Don’t go to bed starving. The goal isn’t to white-knuckle your way through hunger. Going to bed very hungry can also disrupt sleep and lead to overeating the next day. A small, protein-rich snack is a reasonable compromise if dinner was hours ago.
The core principle is simple: your body processes food most efficiently during the first two-thirds of your waking day. The closer you eat to bedtime, the less efficiently you digest, the more your blood sugar spikes, and the more your hormones tilt toward hunger and fat storage the following day. Three hours before bed is the minimum buffer. Earlier is generally better.

