
Capsaicin — the compound that makes chilli peppers hot — increases core body temperature and metabolic rate, both of which interfere with the thermoregulation needed to fall asleep. Eating spicy meals within 2-3 hours of bedtime is associated with longer sleep onset and more fragmented sleep.
Falling asleep requires a drop in core body temperature of roughly 1-1.5 degrees Celsius. This decline signals the suprachiasmatic nucleus to ramp up melatonin production and initiate sleep. Anything that raises or sustains core temperature close to bedtime works against this process — and spicy food does exactly that.
How Capsaicin Disrupts Sleep
Capsaicin binds to TRPV1 receptors, which regulate heat sensation and pain. When you eat something spicy, these receptors trigger a thermogenic response: blood vessels dilate, metabolism increases, and core body temperature rises. The body interprets this as excess heat and attempts to cool down through sweating and peripheral vasodilation — but this process takes time.
Studies measuring the effect directly have found that meals containing capsaicin or hot sauce consumed in the evening increased sleep onset latency (the time it takes to fall asleep) and reduced total sleep time. One study using Tabasco sauce and mustard added to evening meals found that participants took measurably longer to fall asleep and spent less time in deep sleep stages compared to nights when they ate the same meals without the spicy additions.
The mechanism is straightforward: the body cannot complete its pre-sleep temperature decline while simultaneously trying to dissipate capsaicin-induced heat. The two processes work against each other.
Temperature Is Not the Only Factor
Spicy food also increases the likelihood of acid reflux and indigestion, particularly when eaten close to lying down. Gastroesophageal reflux is independently associated with sleep fragmentation — waking up during the night — and discomfort that delays sleep onset. For people prone to reflux, the combination of capsaicin's thermogenic effects and its irritation of the oesophageal lining creates a compounded problem.
Other Foods That Affect Sleep
Spicy food is not the only dietary factor that influences sleep quality. Several others have consistent evidence behind them:
Foods That Disrupt Sleep
High-sugar meals eaten in the evening are associated with more nighttime awakenings and less time in deep sleep. A study in the Journal of Clinical Sleep Medicine found that higher sugar intake correlated with lighter, more fragmented sleep.
High-fat meals slow gastric emptying, which means the digestive system remains active longer. Eating a fat-heavy meal close to bedtime increases the chance of reflux and keeps metabolic activity elevated when it should be declining.
Caffeine has a half-life of 5-6 hours in most adults, meaning half the caffeine from a 3 PM coffee is still circulating at 9 PM. It blocks adenosine receptors, directly opposing the sleep drive that builds across the day. Individual sensitivity varies widely, but as a general guideline, stopping caffeine intake 8-10 hours before bed avoids most interference.
Alcohol initially acts as a sedative, but as the liver metabolises it during the second half of the night, it fragments sleep, suppresses REM sleep, and increases wakefulness. Even moderate amounts — two standard drinks — measurably reduce sleep quality in the second half of the night.
Foods That May Support Sleep
Tryptophan-rich foods — turkey, chicken, eggs, dairy, nuts, and seeds — provide the amino acid precursor to serotonin and melatonin. The effect is modest and depends on the overall composition of the meal (carbohydrates enhance tryptophan uptake into the brain), but these foods are a reasonable choice for evening meals.
Tart cherries are one of the few natural dietary sources of melatonin. Small studies have found that tart cherry juice consumed in the evening increased sleep time by an average of 84 minutes in adults with insomnia, though the evidence base is still limited.
Almonds and walnuts contain both tryptophan and magnesium, which plays a role in muscle relaxation and nervous system regulation.
Meal Timing Matters as Much as Content
The consistent finding across dietary sleep research is that when you eat matters as much as what you eat. A 2-3 hour buffer between your last meal and bedtime allows core temperature to decline, digestion to progress, and insulin levels to stabilise before sleep onset.
This does not mean going to bed hungry, which can also disrupt sleep. A light snack — something small, low in sugar, and not spicy — is unlikely to interfere. The problems arise with large, rich, or thermogenically active meals eaten within the final 1-2 hours before bed.
James Chen

