Several common foods and drinks can keep you awake or reduce the quality of your sleep, even when you feel tired. The biggest culprits are caffeine, alcohol, spicy foods, and anything likely to trigger acid reflux. Some of these work by stimulating your brain directly, while others raise your body temperature or cause physical discomfort that pulls you out of deep sleep.
Caffeine Stays Active Longer Than You Think
Caffeine is the most obvious sleep disruptor, but the reason it works so well at keeping you alert is worth understanding. Your brain naturally builds up a chemical called adenosine throughout the day, which gradually makes you feel sleepy. Caffeine blocks the receptors that adenosine binds to, essentially preventing your brain from receiving the “time to wind down” signal. Research published in the Journal of Sleep Research confirms that caffeine promotes wakefulness primarily by blocking one specific subtype of these receptors.
The problem is that caffeine’s half-life in the body is roughly five to six hours. That means if you drink a cup of coffee at 3 p.m., about half the caffeine is still circulating at 8 or 9 p.m. The FDA considers 400 milligrams per day (about two to three 12-ounce cups of coffee) a safe upper limit for most adults, but even moderate amounts consumed in the afternoon can delay the time it takes you to fall asleep. Caffeine also hides in less obvious places: dark chocolate, green tea, certain sodas, and some pain relievers. If you’re having trouble sleeping, cutting off all caffeine by early afternoon is a simple first step.
Alcohol Disrupts the Second Half of Your Night
A glass of wine before bed might make you feel drowsy, but alcohol is one of the most deceptive sleep disruptors. It changes the structure of your sleep in a very specific pattern: during the first half of the night, it increases deep slow-wave sleep while suppressing REM sleep (the stage linked to memory, learning, and emotional processing). Then in the second half, the effects flip. Your body starts waking up more frequently, and your sleep efficiency drops.
A study in late adolescents measured this directly. After alcohol consumption, sleep efficiency in the second half of the night fell from about 90% to 86%, with significantly more time spent awake after initially falling asleep. The expected rebound in REM sleep during the second half never materialized either, meaning participants lost REM time without getting it back. This is why people who drink before bed often wake up at 3 or 4 a.m. feeling restless or alert. The sedative effect has worn off, and what remains is fragmented, lower-quality sleep.
Spicy Foods and Body Temperature
Your body temperature needs to drop slightly for you to fall asleep easily. Spicy foods work against this process. Capsaicin, the compound that gives chili peppers their heat, activates temperature-sensing receptors throughout your body, including in your skin and internal organs. These receptors, called TRPV1 channels, are the same ones that respond to actual heat, so your body reacts to capsaicin as if your core temperature is rising.
This triggers a cascade of heat-loss responses: blood vessels near the skin dilate, you may start sweating, and your thermoregulation system shifts into a higher gear. The result is a period of elevated metabolic activity that can last for hours. Research on capsaicin’s thermoregulatory effects shows that the body temperature disruption from a single dose can persist for six hours or more, with a rebound increase in body temperature in the hours that follow. Eating a spicy meal close to bedtime means your body is still working to manage its internal temperature when it should be cooling down for sleep.
Aged Cheeses, Cured Meats, and Brain Stimulation
This category surprises most people. Aged and processed cheeses (think parmesan, blue cheese, aged cheddar), along with cured meats like salami and pepperoni, contain high levels of tyramine. This compound triggers the release of norepinephrine, a neurotransmitter that increases alertness and brain activity. It’s essentially hitting the gas pedal on your nervous system right when you want it to idle.
A charcuterie board or pizza loaded with aged cheese and pepperoni as a late dinner can leave your brain more stimulated than you’d expect from what feels like a simple meal. If you regularly eat these foods in the evening and struggle with falling asleep, the tyramine connection is worth testing.
Foods That Trigger Acid Reflux
Acid reflux during sleep is a particularly effective sleep destroyer because of how your body handles it differently at night. During the day, you swallow frequently and produce saliva that helps neutralize stomach acid in your esophagus. During sleep, swallowing nearly stops and saliva production ceases. This means any acid that creeps up into your esophagus stays there longer and travels further than it would while you’re awake.
Research using simultaneous acid monitoring and sleep tracking found that 90% of nighttime reflux events were associated with brief arousals from sleep. You may not fully wake up or remember these episodes, but they fragment your sleep architecture and reduce overall sleep quality. People with sleep disturbances and heartburn showed significantly longer acid exposure times during sleep compared to controls without these issues. The relationship also works in reverse: sleep deprivation makes reflux symptoms feel worse the next night, creating a cycle that’s hard to break.
The foods most likely to trigger nighttime reflux include tomato-based sauces, citrus fruits, chocolate, fried or high-fat foods, garlic, and onions. Carbonated drinks and peppermint can also relax the valve between your stomach and esophagus, making reflux more likely.
High-Sugar and Refined Carbohydrate Foods
The relationship between sugary foods and sleep is more nuanced than you might expect. A study on high-glycemic foods (white bread, sugary cereals, candy, white rice) found that they actually shortened the time it took people to fall asleep, dropping it from about 17.5 minutes to 9 minutes when eaten four hours before bed. This happens because carbohydrates increase levels of tryptophan in the blood, a building block for the sleep-promoting chemical serotonin.
The catch is timing and what happens after you fall asleep. The same high-glycemic meal eaten just one hour before bed was significantly less effective, taking about 14.6 minutes for sleep onset instead of 9. And the rapid blood sugar spike from refined carbohydrates is followed by a crash that can trigger stress hormones, potentially causing you to wake up in the middle of the night. The practical takeaway: a small portion of complex carbohydrates a few hours before bed may help you fall asleep, but a large sugary snack right before bed is more likely to backfire.
Timing Matters as Much as Food Choice
Even sleep-neutral foods can become a problem if you eat them too late. The National Sleep Foundation recommends eating a light dinner two to three hours before bedtime to give your body time to shift from digestion into sleep mode. A heavy meal of any kind close to bedtime forces your digestive system to stay active, raises your core body temperature from the metabolic effort of breaking down food, and increases the likelihood of reflux when you lie down.
Reflux in particular becomes a sleep issue because of gravity. When you’re upright, stomach acid stays where it belongs. Lying down within an hour or two of a large meal removes that advantage. If your schedule makes early dinners impossible, keeping the meal small and avoiding the specific trigger foods listed above can help minimize the damage to your sleep.

