At 11pm, after a day of draining emails and endless scrolling, reaching for crisps rarely feels like a decision. The usual verdict is weak willpower. That explanation is simple but incomplete. Under pressure, the brain does something sensible in the short term: it seeks the fastest available comfort and reward. Sugar and fat deliver almost instantly. Stress activates the body’s stress-response system and can raise cortisol, a glucocorticoid hormone. A UCSF team argued that chronically high levels make pleasurable things—especially sugar and fat—feel more urgent. Eating them then quiets the system, closing a loop. Much of this model comes from rodent studies, so human evidence is suggestive rather than conclusive. One lab study found that women whose cortisol spiked most after a stress task ate more and chose sweeter foods, while the effect vanished on a calm day. Another classic experiment shows that willpower isn’t the whole story. People asked to memorize seven digits were far more likely to choose chocolate cake over fruit salad than those holding two digits. A stressful week is like a seven-digit number that never stops. Sleep deprivation does something similar: brain scans show reduced activity in frontal regions that weigh choices, while the amygdala—handling emotional pull—ramps up. Reward gets louder; judgment gets quieter.
Stress often comes with uncertainty—a restructure, a relative’s test results—outcomes outside your hands. Food, by contrast, works exactly as advertised: you want it, you have it, it delivers in seconds. That reliability matters when nothing else responds. Stress also shifts behavior from deliberate planning to automatic habit. Self-control draws on the same mental resources stress already depletes. Demanding discipline mid-crisis is like asking someone to run faster while carrying a fridge. Then comes shame: late-night cupboard raids trigger self-recrimination, itself a stressor that raises the odds of a repeat. Decide before the moment: if-then plans tie a specific trigger to a replacement response. A meta-analysis found these plans work better for adding healthy foods than removing unhealthy ones. Prioritize sleep—it restores the exact brain function that stress switches off. Change your environment: what’s within arm’s reach at night matters more than resolve. Name the feeling before opening anything; twenty seconds of “this is dread about Thursday” may interrupt the sequence. Finally, offer your brain a different fast reward—cold shower, loud music, a short walk.