← Back to guides

Food and sleep

Food, Meal Timing and Sleep: What the Evidence Actually Says

Headlines promise magic foods for sleep. The research is more modest. Here is what is reasonably well supported, what is mixed and what is still early.

Updated 5 min read

Search for foods that help you sleep and you will find long lists. Search for the research behind those lists and you will find something quieter: small studies, associations and a lot of the words may and more research is needed. This guide sorts the common claims by how much support they appear to have, so you can decide what is worth trying.

A reminder: this is general information. If you have a medical condition, take medication, are pregnant or follow a special diet, check with your clinician or a registered dietitian before changing what you eat or take.

Better supported: what and when you eat late

The most consistent advice involves what to avoid close to bedtime. The NIH's National Heart, Lung, and Blood Institute (NHLBI) recommends avoiding heavy or large meals within a few hours of bedtime, and says a light snack is fine. The Sleep Foundation adds that eating late at night, or within about two hours of bedtime, may lead to less restful sleep, and that spicy, fried and high-fat foods eaten in the evening may make acid reflux more likely for some people. Reflux can disrupt sleep.

Caffeine and alcohol timing are covered in our separate guide, but the short version is that both can interfere with sleep and are worth keeping away from bedtime. The Sleep Foundation notes that caffeine may disrupt sleep even when consumed six hours before bed, and that alcohol may help some people fall asleep faster but is linked to lower-quality sleep and more awakenings.

Plausible but limited: overall diet and regular meals

The Sleep Foundation notes that some studies link diets low in fiber or high in saturated fat or sugar to less restorative sleep, and diets with adequate fiber, fruits and vegetables to better sleep. It also says this evidence is weak and mostly associational. It cites a review of 26 studies that concluded there was not enough evidence to confirm that specific foods or eating patterns affect sleep, partly because of how the studies were designed.

The same source suggests irregular meal times may disrupt circadian rhythms, and that the connection can run in both directions: sleeping fewer than seven hours may increase hunger and make sugary, fatty foods more appealing. In other words, the relationship between food and sleep is real but tangled, and it is hard to say which causes which.

Early or small-study evidence: specific sleep foods

Foods such as kiwi, tart cherries, fatty fish, nuts, milk and oats show up in lists of sleep foods. The Sleep Foundation's own overview says there is no silver bullet and no single food guaranteed to help with sleep. Looking at the details helps put them in perspective.

  • Tart cherries: they contain natural melatonin, and a pilot study in people with insomnia reported more sleep time. A pilot study is an early, small study.
  • Kiwi: some research reported faster sleep onset and better quality in people who ate kiwi before bed. The mechanism is unknown, and the evidence is limited.
  • Fatty fish: eating fish about three times a week was linked in one study to better sleep and daytime functioning. The researchers proposed vitamin D and omega-3s as explanations.
  • Nuts, oats, milk and similar foods: they provide nutrients such as magnesium, tryptophan or a little melatonin. The Sleep Foundation notes that for many of these foods the sleep claims rest on nutrient content or proposed mechanisms rather than direct trials.
  • Warm drinks: a warm, familiar bedtime ritual may help some people relax, whatever is in the cup.

If you enjoy these foods, there is little downside to a small portion in the evening, as long as it is light. Just keep expectations modest.

Chamomile and supplements: mixed to inconclusive

The NIH's National Center for Complementary and Integrative Health (NCCIH) describes the evidence for chamomile as inconclusive and notes that allergic reactions are possible. The Sleep Foundation reports that some trials found improved sleep quality with chamomile tea. Taken together, it is a pleasant, caffeine-free ritual with uncertain benefit.

Supplements deserve extra caution. The NCCIH says melatonin may help with jet lag and shift-work sleep problems and may shorten the time it takes to fall asleep, but it does not clearly improve sleep quality, and two clinical guidelines recommend against using it for chronic insomnia. It also notes that long-term safety is unknown and that one study found many melatonin gummies were mislabeled. For magnesium, the NCCIH says research is very limited and results conflict, and that excess intake can cause side effects. Talk with a clinician or pharmacist before starting any supplement.

A practical, low-risk approach

  • Keep large meals to about two to three hours before bed, in line with the Sleep Foundation and NHLBI guidance.
  • If you are hungry, choose a small, light snack, such as fruit, a few nuts or a bit of oatmeal.
  • Notice which evening foods upset your stomach and move those earlier.
  • Eat at fairly regular times across the day.
  • Treat sleep foods as small experiments, not treatments, and keep a note of what you try.

If you are interested in the connection between meal timing and body clocks, The Circadian Code by Satchin Panda, a Salk Institute researcher, covers the body's circadian clocks and how eating windows, light exposure and activity affect them, including time-restricted eating and meal timing relative to sleep. It reflects the author's views and is not medical guidance, so discuss any major diet change with your clinician.

Books related to this guide

Paid links: if you buy a book through the links below, we earn a commission. As an Amazon Associate we earn from qualifying purchases. It does not change the price you pay.

  • Cover of The Circadian Code by Satchin Panda
    Food and sleep

    The Circadian Code

    by Satchin Panda · 2018

    How meal timing, light and daily rhythms connect to sleep.

    Salk Institute researcher Satchin Panda explains the body's circadian clocks and how eating windows, light exposure and activity affect them. The book covers time-restricted eating and the timing of meals relative to sleep.

    Best for: Readers interested in how food timing relates to sleep

    • Kindle
    • Paperback
    • Hardcover
    • Audiobook
    View on Amazon

Sources

Moonlight Guidex provides general information only and is not medical advice; talk with your doctor about any health concerns.

← Back to all guides