Certain foods can genuinely help you sleep better, and the reason comes down to a simple chain reaction in your body. Your brain builds melatonin, the hormone that regulates your sleep cycle, from an amino acid called tryptophan. Tryptophan first converts into serotonin, then serotonin converts into melatonin. Foods rich in tryptophan, along with the vitamins and minerals that support each step in that conversion, give your body the raw materials it needs to produce melatonin naturally.
Kiwis: The Strongest Single-Food Evidence
If you want to try one thing tonight, eat two kiwis about an hour before bed. A study published in the Asia Pacific Journal of Clinical Nutrition tracked adults with sleep problems who did exactly that every night for four weeks. Their time to fall asleep dropped by 35%, going from about 34 minutes down to 20 minutes. They also woke up less during the night and reported a 42% improvement in overall sleep quality.
Kiwis are rich in serotonin, antioxidants, and folate, all of which play roles in sleep regulation. They’re also light enough that eating two before bed won’t leave you feeling full or trigger digestive discomfort.
Fatty Fish and the Serotonin Connection
Salmon, mackerel, sardines, and other oily fish are packed with omega-3 fatty acids and vitamin D, both of which are directly involved in your body’s production and regulation of serotonin. A population-based study found that people who ate more oily fish consistently scored better on sleep quality measures, and the relationship was dose-dependent: even among people already eating plenty of fish, adding more servings was associated with further improvement.
You don’t need to eat fish right before bed to get the benefit. Eating fatty fish a few times per week appears to improve your overall sleep patterns over time, rather than acting as a single-night fix. One study found that eating salmon three times a week led to better sleep and improved daytime energy over a period of months.
Tart Cherry Juice
Tart cherries are one of the few natural food sources of melatonin itself. In a controlled trial with athletes, those who drank tart cherry juice spent significantly less time awake during the night compared to a placebo group. The cherry juice group’s nighttime wakefulness dropped from about 63 minutes to 44 minutes, while the placebo group’s actually got worse.
Look for Montmorency tart cherry juice concentrate specifically. Sweet cherries don’t have the same melatonin content. A small glass (about 8 ounces of diluted concentrate) an hour or so before bed is a reasonable amount.
Other Foods Worth Trying
Beyond the foods with the most direct research, several others contain nutrients that support the tryptophan-to-melatonin pathway:
- Turkey and chicken: High in tryptophan. Pairing them with a small amount of carbohydrate (like whole grain crackers) helps tryptophan cross into the brain more efficiently, because carbs trigger insulin release that clears competing amino acids from the bloodstream.
- Nuts, especially almonds and walnuts: Contain both tryptophan and magnesium. Magnesium helps activate the calming neurotransmitter GABA, which quiets nerve activity and helps your body shift into rest mode.
- Warm milk or yogurt: Dairy contains tryptophan, and the calcium in dairy helps your brain use tryptophan to manufacture melatonin. The warmth of heated milk may also contribute to relaxation, though that effect is more about comfort than chemistry.
- Bananas: A good source of both magnesium and potassium, which help relax muscles and nerves. They also contain tryptophan.
Timing and Portion Size Matter
The Cleveland Clinic recommends finishing your last full meal about three hours before bedtime. This gives your body enough time to digest so that the process doesn’t interfere with sleep, while keeping the window short enough that you won’t go to bed hungry. Whether that means your last meal is at 7 p.m. or 10 p.m. depends on your schedule. The three-hour gap is what matters, not a specific clock time.
A sleep-promoting snack is different from a meal. If you’re eating kiwis, a small handful of nuts, or drinking cherry juice before bed, keep it light. Something in the range of 150 to 200 calories is enough to deliver the nutrients without triggering heavy digestion. Large, calorie-dense meals close to bedtime force your metabolism to stay active when it should be winding down.
What to Avoid Before Bed
Some foods actively work against sleep. Caffeine is the obvious one: it blocks the brain chemical that builds sleep pressure, and its effects can linger for six hours or more. But several other foods cause problems that are less well known.
Spicy, acidic, or high-fat foods can trigger acid reflux, which becomes especially disruptive at night. When you lie down, gravity no longer helps keep stomach acid where it belongs, and your swallowing rate drops during sleep, which means acid that does creep up takes longer to clear. This creates a cycle where reflux causes brief awakenings you may not even remember, but that fragment your sleep enough to leave you tired the next day. Tomato-based sauces, citrus, chocolate, fried foods, and alcohol are common culprits.
Alcohol deserves special mention because many people think it helps sleep. While it can make you fall asleep faster, it disrupts sleep architecture in the second half of the night, increasing awakenings and reducing the restorative stages of sleep. A glass of tart cherry juice is a far better nightcap.
Putting It Together
A realistic evening routine for better sleep might look like this: eat a balanced dinner that includes fatty fish or another tryptophan-rich protein about three hours before bed. Then, closer to bedtime, have a small snack like two kiwis, a handful of almonds, or a glass of tart cherry juice. These aren’t dramatic interventions, and no single food will override poor sleep habits like inconsistent bedtimes or late-night screen use. But over days and weeks, consistently giving your body the building blocks for melatonin production can meaningfully shorten the time it takes to fall asleep and reduce how often you wake during the night.