Most people should stop eating at least two to three hours before going to sleep. If you typically go to bed at 10:30 p.m., that means finishing your last meal or snack by 7:30 to 8:30 p.m. This window gives your body enough time to digest food so it doesn’t interfere with falling asleep, staying asleep, or processing blood sugar overnight.
If you deal with heartburn or acid reflux, you’ll want a wider buffer of three to four hours. And the specific foods you eat in the evening matter almost as much as the timing.
Why Two to Three Hours Is the Sweet Spot
Digestion is active work. Your stomach churns, your intestines contract, and your body generates heat as it breaks down food. All of this runs counter to what your body needs to fall asleep: a drop in core temperature, relaxed muscles, and minimal metabolic activity. When you eat too close to bedtime, the muscles responsible for digestion keep working when they should be winding down. This can delay sleep onset and reduce the amount of deep, restorative sleep you get.
Research on post-meal body temperature helps explain the mechanism. After eating, your core temperature rises as your metabolism ramps up to process the food. Sleep, on the other hand, requires your core temperature to fall. Eating right before bed creates a tug-of-war between these two processes. A two-to-three-hour gap lets your body finish the most intense phase of digestion and begin cooling down naturally before you try to sleep.
What Late Eating Does to Blood Sugar
Your body handles food differently at night than it does during the day, and the difference is significant. Research from Brigham and Women’s Hospital found that people who ate during nighttime hours had elevated blood glucose levels, while people who ate only during daytime hours showed no notable changes. Nighttime eating also reduced the function of the cells in the pancreas that produce insulin, making the body less efficient at clearing sugar from the bloodstream.
This matters even if you don’t have diabetes. Repeated spikes in overnight blood sugar can gradually push your body toward insulin resistance over time. The researchers found that the people with the greatest disruption to their internal body clock showed the largest impairment in glucose tolerance. Keeping meals aligned with daylight hours, even when sleep schedules are off, helped maintain normal blood sugar regulation.
Late Meals and Weight Gain
Late-night eating doesn’t just affect sleep and blood sugar. It also changes how your body burns fat. A study published in PLOS Biology compared people who ate a late-evening snack with people who ate breakfast instead. Over a 24-hour cycle, the breakfast group burned an average of 15 more grams of fat than the late-snack group. That’s a meaningful difference: over weeks and months, consistently eating late can shift the balance between fat storage and fat burning.
The reason ties back to your circadian rhythm. Your metabolism is primed to process food most efficiently during daylight hours. Eating late at night forces your body to digest and metabolize food during a window when those systems are naturally slowing down, which reduces fat oxidation and favors storage.
When a Bedtime Snack Makes Sense
There are real exceptions to the “stop eating early” guideline. If you take insulin or certain diabetes medications, you may need a small bedtime snack to prevent blood sugar from dropping too low overnight. Nocturnal hypoglycemia can be dangerous, so skipping food before bed isn’t always the right call for people managing diabetes. If you find yourself needing a late snack regularly to avoid low blood sugar, that’s worth discussing with your doctor since medication timing or dosing may need adjustment.
People doing strength training also have a legitimate reason to eat protein before sleep. Research in The Journal of Nutrition showed that consuming protein before bed increased overnight muscle protein synthesis, the process by which your body repairs and builds muscle tissue. Over a 12-week resistance training program, participants who had a protein supplement before sleep gained more muscle mass (about 10% increase in quadriceps size versus 6% in the placebo group) and greater strength. Milk-based proteins like casein and whey were the most effective options.
The key distinction here is what you’re eating. A small serving of protein before bed behaves very differently in your body than a full meal or a carb-heavy snack.
What to Eat (and Avoid) in the Evening
If you’re eating dinner within the recommended window, focus on meals that emphasize fiber and keep saturated fat low. High-fat and heavily processed foods take longer to digest, which extends the metabolic activity that can disrupt sleep. Spicy and acidic foods are common triggers for heartburn when you lie down, so these are best avoided in the hours before bed.
If you do need a small snack closer to bedtime, keep it light. A handful of nuts, a small portion of yogurt, or a banana are easy to digest and won’t generate the same metabolic burden as a full meal. Foods containing tryptophan, the amino acid your body uses to produce both serotonin and melatonin, may offer a slight advantage. Turkey, dairy, and seeds are common sources.
Adjusting the Window to Your Schedule
The two-to-three-hour guideline is based on your actual bedtime, not a fixed hour on the clock. If you work a night shift and go to bed at 7 a.m., you should stop eating by 4 or 5 a.m. If you’re a natural night owl who sleeps at midnight, finishing dinner by 9 p.m. is fine.
What matters more than any specific clock time is consistency. Eating on a regular schedule trains your digestive system to anticipate meals and process them efficiently. Irregular eating patterns, especially late-night meals that happen sporadically, create the most disruption to your circadian rhythm and sleep quality. Pick a cutoff time that works with your life and stick to it most nights. Your body will adjust, and you’ll likely notice improvements in both how quickly you fall asleep and how rested you feel in the morning.

