What Foods Help You Sleep: Evidence-Based Picks

Several foods genuinely improve sleep quality, and the best-studied options include tart cherry juice, kiwifruit, walnuts, fatty fish, and magnesium-rich foods like seeds and dark leafy greens. These aren’t miracle cures, but they contain compounds your body uses to produce sleep-regulating hormones or to calm your nervous system. The key is consistency: most benefits show up after days or weeks of regular intake, not from a single bedtime snack.

Tart Cherry Juice

Tart cherry juice is one of the most researched sleep foods, and the results are notable. In one trial, adults over 50 who drank about 240 mL (roughly 8 ounces) of tart cherry juice twice a day for two weeks slept an extra 84 minutes per night and had measurably better sleep efficiency. A separate trial found that just seven days of drinking tart cherry juice concentrate (made from roughly 90 to 100 tart cherries diluted in water) significantly increased total sleep time and time spent in bed.

Tart cherries are one of the few natural food sources of melatonin, the hormone that signals your brain it’s time to sleep. They also contain compounds that reduce inflammation, which may help explain why the effects on sleep are more pronounced than you’d expect from melatonin content alone. Look for Montmorency tart cherry juice specifically, as that’s the variety used in most research. Sweet cherries don’t appear to have the same effect.

Kiwifruit

Eating two medium-sized green kiwifruit about an hour before bed has been linked to faster sleep onset. In a four-week study of athletes, average time to fall asleep dropped from about 25 minutes at baseline to 14 minutes, though researchers noted the reduction didn’t quite reach statistical significance in that small group. Kiwis are unusually rich in serotonin, antioxidants, and folate, all of which play roles in sleep regulation. They’re also low in calories, making them a practical pre-bed option that won’t leave you feeling overly full.

Walnuts

A randomized crossover trial of 76 young adults found that eating 40 grams of walnuts daily (a small handful) with dinner for eight weeks significantly improved global sleep quality, reduced the time it took to fall asleep, and lowered daytime sleepiness. The mechanism appears straightforward: walnuts contain both tryptophan and melatonin, and the study confirmed that walnut consumption increased urinary markers of melatonin production. Higher melatonin levels were directly correlated with better sleep efficiency in the participants.

Forty grams is about 14 walnut halves. Adding them to a salad at dinner or eating them as an evening snack is enough to match the study’s protocol.

Fatty Fish

Salmon, mackerel, sardines, and other fatty fish provide two things most people don’t get enough of: vitamin D and omega-3 fatty acids. Both are involved in regulating serotonin, which your brain converts into melatonin at night. A 300-gram portion of Atlantic salmon delivers about 15 micrograms of vitamin D (meeting or exceeding the daily recommendation for most adults) along with nearly 5 grams of omega-3s.

Research on fish consumption and sleep found that people who ate fatty fish regularly had better daily functioning and sleep patterns. Eating fish two to three times per week is a reasonable target, and the benefits extend well beyond sleep into heart and brain health.

Magnesium-Rich Foods

Magnesium plays a direct role in calming the nervous system, and supplementing with it has produced strong results in clinical trials. In a double-blind study of older adults with insomnia, magnesium supplementation increased sleep time, improved sleep efficiency, and reduced the time it took to fall asleep. It also lowered cortisol (the stress hormone) while raising melatonin levels, essentially shifting the body’s hormonal balance toward sleep.

You don’t need a supplement to get more magnesium. The best dietary sources are pumpkin seeds, almonds, cashews, spinach, black beans, and whole grains. A quarter cup of pumpkin seeds alone provides roughly half the daily magnesium recommendation. If you’re consistently sleeping poorly, low magnesium intake is worth considering as a contributing factor, since many people fall short of the recommended amount.

Chamomile Tea

Chamomile’s calming reputation has a biological basis. The herb contains a compound called apigenin, which activates calming receptors in the brain (the same type targeted by anti-anxiety medications, though far more gently). Chamomile extract is roughly 1% apigenin by weight, and animal studies confirm it produces measurable sedative-like activity through these pathways. The warmth of the tea and the ritual of drinking it before bed likely add to the effect, but there is real chemistry at work beyond placebo.

Why Timing Matters More Than You Think

What you eat matters, but when you eat it matters nearly as much. A study comparing high-glycemic meals eaten at different times found that eating four hours before bed cut sleep onset time to about 9 minutes, compared to 17.5 minutes when the same meal was eaten just one hour before bed. Eating too close to bedtime creates a separate problem: a cross-sectional study of university students found that eating within three hours of sleep was associated with a 40% increase in the odds of waking up during the night.

The practical takeaway is to finish your last full meal at least three hours before bed. If you want a small sleep-promoting snack, like kiwifruit or a handful of walnuts, having it about an hour before bed is fine since the portion is small enough not to trigger the digestion-related awakenings seen with larger meals.

The Tryptophan Myth, Partially Corrected

You’ve probably heard that turkey makes you sleepy because of tryptophan, the amino acid your body uses to make serotonin and eventually melatonin. Turkey does contain tryptophan, but so does chicken, cheese, eggs, and dozens of other protein-rich foods. The real issue is that tryptophan competes with other amino acids to enter the brain, and in a typical meal with substantial protein, tryptophan actually loses that competition.

For tryptophan from food to meaningfully boost brain serotonin, the meal would need to be almost entirely carbohydrates with less than 2% of calories from protein. That’s not a realistic meal. The drowsiness you feel after Thanksgiving dinner is far more likely caused by eating a large volume of food (which diverts blood flow to digestion) combined with alcohol, carbohydrates, and the general relaxation of a holiday. Foods like walnuts and tart cherries work through different, more reliable mechanisms than the tryptophan pathway alone.

Putting It Together

If you’re looking to build a sleep-friendly eating pattern, the most effective approach combines several of these foods over weeks rather than relying on any single one on a given night. A dinner with salmon and a side of spinach covers your omega-3s, vitamin D, and magnesium. A small handful of walnuts or two kiwifruit an hour before bed adds a gentle melatonin boost. Chamomile tea rounds out the evening without adding calories. Finish eating at least three hours before you plan to sleep, and keep any pre-bed snacks small. The research consistently shows that these dietary changes produce their strongest effects after two to eight weeks of regular practice.