The 11 p.m. ceiling you keep hitting
You know the feeling. You did everything right — in bed by a reasonable hour, phone face-down, room dark — and still you surface at 2 a.m., warm and restless, the kind of awake that feels chemical rather than mental. You blame stress, or the day, or your age. But there's a quieter suspect, and it's sitting on the table at 9:45 p.m.: a late dinner.
Most of us treat eating and sleeping as separate departments of the evening. They aren't. The same internal clock that decides when you feel drowsy also decides how well your body handles a plate of food, and the two systems are talking to each other constantly. When you eat late, you're not just filling your stomach — you're sending a wake-up signal to a body that was trying to power down.
Digestion is a furnace, and sleep needs the cold
Start with temperature, because it's the most physical part of the story. To fall asleep and stay asleep, your core body temperature has to drop. This isn't a metaphor — it's one of the most reliable signals the brain uses to gate deep sleep. In the evening, your body begins shedding heat through the skin of your hands and feet, and that internal cooling is what lets slow-wave sleep take hold.
Eating works directly against this. Digesting and metabolizing a meal produces heat — a measurable rise called diet-induced thermogenesis. Your body spends energy breaking down food, and a chunk of that energy escapes as warmth. Eat a substantial dinner close to bedtime and you've stoked a small furnace exactly when your physiology is trying to let the fire go out. The cooling curve flattens, deep sleep gets harder to reach, and you spend more of the night in lighter, more interruptible stages.
Your blood sugar keeps office hours
The second mechanism is subtler and, to most people, genuinely surprising: your ability to handle carbohydrates is not the same at 8 p.m. as it was at 8 a.m.
Glucose tolerance follows a daily rhythm. In the morning, your body is primed to take a load of sugar and clear it from the bloodstream efficiently. As the day wears on, that efficiency fades. The same bowl of rice produces a higher, longer blood-sugar spike in the evening than it would have at breakfast, partly because the pancreas releases insulin more sluggishly at night and partly because your cells respond to it less eagerly. This is your circadian clock at work — there's a master clock in the brain, but there are also clocks in your liver, pancreas, and gut, and by evening they've shifted into a mode that simply isn't built for a big influx of fuel.
Why does this touch sleep? Because a turbulent blood-sugar night — a sharp rise followed by a counter-regulatory dip a few hours later — is a recipe for the 3 a.m. wake-up. When glucose falls, the body can release stress hormones like cortisol and adrenaline to bring it back up, and those are the last hormones you want surging in the middle of the night. The late, carb-heavy dinner you ate to wind down can become the reason you're staring at the ceiling before dawn.
Melatonin and food are a bad pairing
There's a third thread, and it ties the first two together. Melatonin, the hormone that tells your body it's night, doesn't only make you sleepy — it also suppresses insulin release. This makes perfect sense from an evolutionary standpoint: night is for resting, not for processing meals, so the night-time hormone quietly tells the pancreas to stand down.
The problem arises when melatonin and a meal overlap. Eat right as your melatonin is rising — which is to say, in the couple of hours before your natural bedtime — and you've created a collision. Melatonin is telling your pancreas to ease off insulin; your dinner is demanding insulin right now. The result is a worse glucose response than the same food would cause earlier in the evening. People who carry a common genetic variant affecting the melatonin receptor are especially sensitive to this, but the basic conflict applies to everyone. Late eating asks two systems to do opposite jobs at the same time.
The reflux you feel and the arousals you don't
There's also the plainly mechanical issue. Lie down with a full stomach and you remove gravity's help in keeping stomach contents where they belong. Acid reflux at night doesn't always announce itself with heartburn — it can produce micro-awakenings you never consciously register, fragmenting sleep without ever fully waking you. You'll remember the night as "restless" without knowing why. A stomach that has largely finished its work before you lie down simply doesn't generate these interruptions.
Stack these mechanisms and the picture is consistent: a late dinner raises your core temperature, spikes and then crashes your blood sugar, fights your own melatonin, and sets up mechanical disruption — four separate routes to a shallower, choppier night.
What "earlier" actually means
The useful news is that the fix is a single lever, and it's one you control: finish eating earlier. The research on time-restricted eating points in the same direction as the sleep science — when people compress their eating into a window that ends in the late afternoon or early evening, rather than grazing until bedtime, their overnight glucose steadies and many report sleeping better, independent of how much they ate.
You don't need a clinical-sounding rule. A practical target is to close the kitchen roughly three hours before you intend to sleep. If bed is 10:30, aim to finish dinner by 7:30. That window gives the stomach time to empty, lets the thermogenic bump fade before your cooling curve matters, and keeps your largest insulin demand clear of the rising tide of melatonin.
The honest obstacle isn't knowledge — it's life. Dinner is when the family gathers, when the day finally exhales, when the food is hottest and the company is best. Telling someone to skip or shrink dinner is a non-starter, and it should be. The goal was never to eat less of the meal that matters most. It's to give that meal a little more runway before sleep, and to stop the after-dinner drift of nibbles, sweets, and one more cup of something that keeps the digestive furnace lit past its bedtime.
Letting the window do the deciding
This is the small reframe that makes it stick: instead of policing each evening by willpower, you set a window once and let it carry the decision. If your fasting window closes at 7:30, the question "should I have that snack at nine?" never really comes up — the window already answered it. The structure does the remembering so you don't have to.
That's the idea behind Upvas. It's built on the recognition that dinner is sacred — the meal you plan your day around — and that the productive thing to move is the edge of your eating window, not the meal itself. You tell it when your real dinner happens, and it shapes the fast around that anchor, nudging the close of your window earlier without asking you to surrender the part of the evening that matters. You get the metabolic and sleep benefits of an earlier finish while still sitting down to the dinner you actually want.
If you've been chasing better sleep through every door except the dining room, it might be worth trying the one that's been there all along. You can see how it works at upvas.lumenlabs.works — and tonight, maybe just close the kitchen a little earlier and notice how you wake.