Foods and Drinks That Help (or Hurt) Your Sleep

What you eat and drink — and when you eat and drink it — has measurable effects on sleep quality, duration, and the time it takes to fall asleep. Some foods genuinely promote sleep through their nutritional composition. Others disrupt it through mechanisms that aren't always obvious. This guide covers the evidence, the mechanisms, and practical guidance for dietary choices that support better sleep.

Foods That Promote Sleep

Tart Cherry

Tart (Montmorency) cherries have the strongest food-based evidence for sleep improvement. They are one of the few foods that naturally contain melatonin, and also contain tryptophan (a melatonin precursor) and procyanidin B-2, which may increase melatonin bioavailability by inhibiting tryptophan-metabolizing enzymes.

A randomized crossover trial published in the European Journal of Nutrition found that adults consuming tart cherry juice twice daily (morning and evening) slept approximately 39 minutes more per night and showed improved sleep efficiency compared to the placebo drink period. Effects were more pronounced in older adults and those with more severe baseline sleep disruption.

Practical guidance: 8oz of tart cherry juice or 1-2 tablespoons of tart cherry concentrate (diluted) consumed 1-2 hours before bed. Tart cherry capsule supplements are also available. Choose unsweetened forms to avoid a sugar load before bed.

Kiwi

Kiwifruit is one of the more surprising entries in sleep research. A randomized controlled trial by Lin and colleagues (Asia Pacific Journal of Clinical Nutrition, 2011) found that adults who ate two kiwifruits one hour before bedtime for four weeks fell asleep significantly faster (35% reduction in sleep onset time) and slept longer with better sleep efficiency compared to the no-kiwi control period. The mechanisms proposed include kiwi's serotonin content, antioxidant compounds, and folate.

Practical guidance: Two whole kiwifruit, eaten about one hour before bed. This is an inexpensive, nutritionally dense option worth trying.

Fatty Fish

Salmon, mackerel, sardines, and trout are high in omega-3 fatty acids (particularly DHA) and vitamin D — both of which influence serotonin synthesis and circadian rhythm regulation. A study in the Journal of Clinical Sleep Medicine found that adults who ate Atlantic salmon three times per week for six months had significantly better objectively measured sleep (polysomnography) compared to those eating chicken, beef, or pork — with the greatest benefits occurring during winter months when vitamin D production from sunlight is lowest.

Omega-3s appear to increase sleep-promoting serotonin production. Vitamin D regulates the production of key enzymes in the serotonin and melatonin pathways. Vitamin D deficiency is extremely common and is independently associated with poor sleep quality.

Warm Milk

Warm milk before bed has been a folk remedy across cultures for generations. The scientific basis is modest but real. Milk contains tryptophan (a precursor to serotonin and melatonin), calcium (which helps the brain use tryptophan), and small amounts of melatonin. The warmth of the drink also raises then lowers core body temperature, which can facilitate sleep onset. The ritualistic comfort of a warm drink is itself a valid sleep-promoting mechanism through conditioned relaxation.

The tryptophan content in a glass of milk is relatively small compared to the doses used in supplement studies, so the pharmacological effect alone is modest — but combined with the ritual, temperature effect, and calcium content, it's a reasonable pre-sleep option.

Almonds

Almonds are a good source of magnesium (76mg per ounce — about 18% of the recommended daily intake) and melatonin. Magnesium deficiency is associated with insomnia, and supplementing adequate magnesium consistently improves sleep quality. A small handful of almonds before bed provides a meaningful magnesium dose and a modest amount of tryptophan without being a large caloric load.

Bananas

Bananas provide a useful combination of tryptophan, potassium, and magnesium — nutrients that support muscle relaxation and the serotonin/melatonin synthesis pathway. A medium banana contains about 27mg of magnesium. They also contain a modest amount of carbohydrate that may assist tryptophan transport across the blood-brain barrier (insulin facilitates tryptophan's preferential uptake relative to competing amino acids).

Whole Grains

Whole grains (oats, barley, whole wheat bread) have a moderate glycemic index and provide carbohydrates that stimulate insulin release, which facilitates tryptophan transport to the brain for serotonin synthesis. A light carbohydrate snack 1-2 hours before bed (e.g., a small bowl of oatmeal) may modestly facilitate sleep onset in some people. This is person-specific — those sensitive to blood sugar fluctuations may respond differently.

Chamomile Tea and Passionflower Tea

Both have active compounds with genuine sleep-promoting properties (apigenin in chamomile; flavonoids with GABAergic activity in passionflower). See the Herbal Remedies guide for detailed evidence. From a practical standpoint, a cup of chamomile or passionflower tea 30-60 minutes before bed is among the most useful dietary interventions — low-risk, low-cost, and with meaningful evidence.

Foods and Drinks That Disrupt Sleep

Caffeine

Caffeine is the most widely consumed psychoactive substance in the world, and its sleep-disrupting effects are dose-dependent and cumulative. Caffeine works by blocking adenosine receptors. Adenosine is a sleep-pressure molecule that accumulates during waking hours — blocking it removes the biological signal for sleepiness.

Caffeine's half-life in most adults is approximately 5-6 hours, though genetic variation in the CYP1A2 enzyme means half-lives ranging from 2-12 hours across individuals. A practical implication: a 200mg coffee (large cup) at 2pm still has 100mg active at 7-8pm for average metabolizers. At midnight, it still has ~50mg active. This is enough to meaningfully impair sleep onset and deep sleep quality even when you don't feel wired.

Caffeine Timing Guide

BedtimeLast Caffeine (Average Metabolizer)Last Caffeine (Slow Metabolizer)
10pm12-1pm8-9am
11pm1-2pm9-10am
12am2-3pm10-11am

Common caffeine sources: coffee (~80-100mg per 6oz drip), espresso (~60-70mg per shot), black tea (~40-70mg per 8oz), green tea (~25-45mg per 8oz), cola (~30-40mg per 12oz), energy drinks (80-300mg per can).

Alcohol

Alcohol is widely used as a sleep aid — and widely misunderstood in this role. It does help you fall asleep faster and may increase deep sleep initially. What it does that most people don't realize: alcohol severely disrupts REM sleep, particularly in the second half of the night. As alcohol is metabolized (usually 3-5 hours after drinking), a rebound effect occurs, producing frequent awakenings, night sweats, vivid dreams, and early morning awakening.

The result is sleep that is fragmented and non-restorative even when total time in bed seems normal. Regular alcohol use as a sleep aid creates a progressive cycle: alcohol increasingly disrupts sleep architecture, leading to more subjective sleep problems, leading to increased use. Evening alcohol is one of the most common and underappreciated causes of poor sleep quality in adults.

Spicy Foods

Spicy foods disrupt sleep through two mechanisms. First, capsaicin (the active compound in chili peppers) raises core body temperature — the opposite of what's needed for sleep initiation, which requires a core temperature drop. Second, spicy foods can exacerbate acid reflux (GERD), which causes nighttime heartburn, coughing, and awakenings.

Avoid spicy foods within 3 hours of bedtime, particularly if you're prone to reflux or temperature sensitivity.

High-Sugar and High-Glycemic Foods

Large high-glycemic meals or sugary snacks before bed produce a blood glucose spike followed by a reactive drop that can trigger cortisol and adrenaline release in the early morning hours — typically 2-3am — causing awakening. This pattern (waking between 2-4am feeling alert or anxious) is a common presentation of sleep disruption from blood sugar dysregulation. A protein-containing snack or lower-glycemic alternative reduces this risk.

Heavy, High-Fat Meals

High-fat meals slow gastric emptying and take longer to digest. Eating a large, fatty meal close to bedtime means the digestive system is still highly active when you're trying to sleep, diverting blood flow and maintaining a physiological state incompatible with deep sleep. Research has found that high-fat diets are associated with reduced slow-wave sleep. Allow at least 3 hours after large meals before attempting sleep.

Tyramine-Containing Foods

Tyramine is an amino acid derivative found in aged cheeses (cheddar, blue cheese, parmesan), cured and processed meats, fermented foods (sauerkraut, soy sauce), and some wines. Tyramine stimulates the release of norepinephrine — a neurotransmitter that promotes wakefulness and arousal. Sensitive individuals may find that consuming these foods in the evening produces difficulty falling asleep or nighttime awakening. This effect is most pronounced in people who take MAO inhibitor antidepressants, for whom tyramine-rich foods are contraindicated.

Hydration Balance

Adequate hydration throughout the day supports sleep, but consuming large amounts of fluid in the 1-2 hours before bed increases the likelihood of nocturia (nighttime urination), which fragments sleep. Taper fluid intake in the 2 hours before bedtime. If you wake at night to urinate more than once and it's affecting sleep quality, discuss this with a physician — it can indicate conditions including diabetes, BPH, or sleep apnea (which changes fluid handling through its effects on intrathoracic pressure).

Ideal Dinner Timing

The general guidance is to finish eating at least 3 hours before bed. This allows:

  • Core body temperature to drop (digestion raises it)
  • The digestive system to wind down
  • Blood glucose to stabilize
  • Reflux risk to be reduced

A small protein-containing snack 1 hour before bed (e.g., Greek yogurt, a handful of almonds, cottage cheese) is different from a full meal and is appropriate for people who wake hungry at night or have blood sugar regulation issues.

Quick Reference: Sleep-Promoting vs. Sleep-Disrupting Foods

Promotes SleepMechanismDisrupts SleepMechanism
Tart cherryMelatonin + tryptophanCaffeineAdenosine receptor blockade
KiwiSerotonin, antioxidantsAlcoholREM suppression, rebound
Fatty fishOmega-3, vitamin DSpicy foodsRaises temp, causes reflux
AlmondsMagnesium, melatoninHigh-sugar snacksBlood sugar crash at 2-3am
Warm milkTryptophan, calciumLarge high-fat mealsActive digestion, delayed gastric emptying
Chamomile teaApigenin (GABA-A)Aged cheese, cured meatsTyramine stimulates norepinephrine
Passionflower teaGABAergic flavonoidsLarge fluids late at nightNocturia and fragmented sleep
Whole grains (light)Tryptophan transport

Frequently Asked Questions

Does warm milk actually help you sleep?
Modestly, yes — through multiple mechanisms. The tryptophan content, while small, contributes to serotonin and melatonin synthesis. The calcium helps the brain use tryptophan efficiently. The warmth of the drink produces a mild temperature effect. And the ritual itself, if practiced consistently, becomes a conditioned sleep cue. The psychological comfort factor is real and scientifically valid, not just "in your head."
Does alcohol really help you sleep?
Alcohol makes you fall asleep faster — this is real. But it substantially reduces REM sleep, suppresses slow-wave sleep in the second half of the night, and produces rebound awakening as it's metabolized. The sleep you get after drinking is architecturally abnormal and less restorative. Regular use progressively worsens sleep quality and is one of the most common causes of difficulty staying asleep. If you're using alcohol to fall asleep most nights, this is worth discussing with a healthcare provider.
What time should I stop drinking coffee?
For a 10pm-11pm bedtime, most people with average caffeine metabolism should stop at 1-2pm. If you're a slow caffeine metabolizer (genetically determined — you can test this) or sensitive to caffeine's effects, stopping by 10-11am may be necessary. If you regularly drink coffee in the afternoon and also struggle with sleep onset or early morning awakening, experimenting with an earlier cutoff is a worthwhile first step before trying any supplement or medication.
Is it okay to eat before bed?
A small, low-glycemic snack 30-60 minutes before bed is generally fine and may help some people (especially those with blood sugar regulation issues or who wake hungry). A full meal within 3 hours of bed is not ideal — it raises core body temperature, keeps digestion active, increases reflux risk, and is associated with reduced sleep quality. The composition matters too: high-fat, high-sugar, or spicy foods are more disruptive than protein-based or complex carbohydrate snacks.
Can changing my diet really improve my sleep?
Dietary changes alone are unlikely to resolve significant insomnia, but they can meaningfully reduce the dietary factors that worsen it. Cutting off caffeine by 1-2pm, stopping alcohol use as a sleep aid, avoiding large late meals, and incorporating sleep-promoting foods like tart cherry and chamomile tea collectively make a real difference. In the context of good overall sleep hygiene, dietary optimization is a worthwhile, low-risk intervention with no side effects.
This content is for educational purposes only and is not a substitute for medical advice, diagnosis, or treatment. Speak with a qualified healthcare provider before making significant dietary changes, especially if you have health conditions or take medications.