What Foods Promote Sleep and Which Disrupt It

Several everyday foods can genuinely help you fall asleep faster and stay asleep longer. The key players are foods rich in tryptophan, natural melatonin, magnesium, and certain plant compounds that calm brain activity. The effects aren’t subtle: in clinical trials, some of these foods cut the time it takes to fall asleep nearly in half or added over an hour of total sleep per night.

What makes these foods work is a chain reaction in your brain. Tryptophan, an amino acid found in many protein-containing foods, gets converted into serotonin and then into melatonin in the pineal gland. Sunlight during the day kickstarts serotonin production, and as night falls, that serotonin becomes melatonin, the hormone that signals your body it’s time to sleep. Eating the right foods gives your brain more raw material to work with.

Tart Cherry Juice

Tart cherries are one of the few natural food sources of melatonin, and the research on them is striking. In a study of adults with insomnia, drinking Montmorency tart cherry juice in the morning and again at night resulted in an average of 84 extra minutes of sleep per night compared to a placebo. Sleep also tended to be more efficient, meaning less time lying awake in bed. Look for 100% tart cherry juice concentrate, not cherry-flavored juice blends, since the melatonin content varies significantly between products.

Kiwifruit

Kiwis contain roughly twice the serotonin concentration of tomatoes, along with high levels of vitamins C and E, folate, and antioxidants like flavonoids and carotenoids. Folate deficiency is independently linked to insomnia, so kiwis may help on multiple fronts.

In a four-week study of adults with sleep problems, eating two kiwifruits one hour before bed produced measurable improvements across the board. Sleep onset latency (the time it takes to fall asleep) dropped by 35.4%, nighttime waking decreased by 28.9%, and overall sleep quality scores improved by 42.4%. That’s a meaningful change from a single, inexpensive fruit.

Magnesium-Rich Foods

Magnesium plays a role in over 300 enzyme systems in your body, including ones that regulate your internal clock. Research shows it helps maintain normal circadian rhythms, and in animal studies, magnesium deficiency increased periods of wakefulness and reduced deep sleep. Restoring magnesium brought sleep patterns back to normal. In a double-blind clinical trial of older adults, magnesium supplementation improved insomnia symptoms while increasing melatonin levels and reducing cortisol, the stress hormone that keeps you alert.

The best dietary sources of magnesium are green leafy vegetables (spinach, Swiss chard, kale), whole grains, nuts, and legumes. A large study of Chinese adults found that higher dietary magnesium intake was associated with reduced daytime sleepiness in women over a five-year follow-up period, suggesting the benefits build over time.

High-GI Carbohydrates (With a Timing Catch)

Carbohydrate-rich meals that spike your blood sugar, like white jasmine rice, can actually help you fall asleep faster, but only if you eat them at the right time. In a controlled study of healthy young men, a high-glycemic-index rice meal eaten four hours before bedtime cut sleep onset latency nearly in half: 9 minutes versus 17.5 minutes for a low-glycemic alternative. The same high-GI meal eaten just one hour before bed was far less effective, taking 14.6 minutes instead.

The four-hour window matters because it takes time for the insulin spike to clear tryptophan’s competitors from your bloodstream, giving tryptophan easier access to your brain where it can be converted to serotonin and then melatonin. So a bowl of white rice with dinner at 6 PM can help if you go to bed around 10 PM, but a late-night carb snack won’t have the same effect.

Chamomile Tea

Chamomile contains a compound called apigenin that binds to the same brain receptors targeted by prescription anti-anxiety and sleep medications. It enhances the effect of GABA, a neurotransmitter that quiets brain activity, producing calming and mildly sedative effects. A randomized controlled trial of older adults with insomnia found that chamomile extract improved subjective sleep quality after 28 days. A broader meta-analysis confirmed that chamomile significantly improves sleep quality and anxiety, though it may not fully resolve clinical insomnia on its own.

A warm cup of chamomile tea before bed is a low-risk option worth trying. The ritual itself, winding down with a warm drink, reinforces the behavioral cues your brain associates with sleep.

Warm Milk and Dairy

The old advice about warm milk before bed has some science behind it. Milk contains tryptophan, and certain peptides produced when milk protein (casein) is digested have demonstrated sedative properties in research. Fermented dairy products may offer additional benefits because the fermentation process breaks proteins into smaller peptides that are more readily absorbed. The tryptophan in milk follows the same serotonin-to-melatonin conversion pathway as other tryptophan-rich foods, so pairing it with a small amount of carbohydrate (like a few crackers) can enhance the effect by helping tryptophan cross into the brain more efficiently.

Nuts and Seeds

Walnuts, almonds, and pumpkin seeds bring together several sleep-supporting nutrients: tryptophan, magnesium, and in the case of walnuts, a small amount of naturally occurring melatonin. Walnut-derived peptides have shown sleep-promoting effects in laboratory research. Almonds and pumpkin seeds are among the richest food sources of magnesium, making them a practical evening snack. A small handful is enough; you don’t need large quantities to get the benefit.

Foods That Disrupt Sleep

Knowing what to avoid is just as important as knowing what to eat. Several common foods actively work against sleep quality:

  • High-fat foods slow digestion and can cause heartburn. There’s also evidence that eating high-fat meals later in the day disrupts circadian rhythms, leading to fragmented sleep.
  • Spicy foods trigger indigestion and heartburn, making it physically uncomfortable to lie down.
  • Sugary foods cause rapid blood sugar spikes that can throw off sleep hormones, leading to lighter, less restorative sleep.
  • Caffeine takes 6 to 8 hours to clear your system. An afternoon coffee at 2 PM can still be affecting you at 10 PM.
  • Alcohol may help you fall asleep initially by triggering deep sleep early in the night, but the second half of the night becomes fragmented, with frequent wakeups and disrupted deep-sleep cycles.
  • Chocolate contains enough caffeine that eating a full bar is roughly equivalent to drinking a can of soda.

Timing Your Evening Meals

When you eat matters almost as much as what you eat. The high-GI carbohydrate research makes this clear: the same food can be twice as effective at promoting sleep when eaten four hours before bed instead of one hour before. Your body’s internal clock is optimized to process food from morning through early evening. Eating your last meal between 5 and 7 PM, as recommended by Johns Hopkins Medicine, gives your digestive system time to do its work before you lie down.

Late-night eating forces your body to divide its energy between digestion and the restorative processes that happen during sleep. Heavy meals close to bedtime also increase the risk of acid reflux, which fragments sleep even if you don’t fully wake up. If you do want a sleep-promoting snack closer to bedtime, keep it small: a kiwi, a handful of nuts, or a cup of chamomile tea.