Foods That Help You Sleep
Declan Kennedy
| 19-05-2026
· Food Team
Sleep quality is shaped by a lot more than just a dark room and a consistent bedtime.
What you eat throughout the day — and especially in the evening — directly influences the hormones and neurotransmitters involved in your sleep-wake cycle.
Key players include tryptophan (an amino acid that converts into serotonin and then melatonin), magnesium (a mineral that helps relax muscles and regulate the nervous system), and melatonin itself, which can be found naturally in a small number of foods. Getting these nutrients consistently doesn't guarantee perfect sleep, but research shows that dietary patterns do make a measurable difference.

Almonds and Walnuts: Melatonin in Nut Form

Almonds are one of the more practical sleep-supporting snacks you can reach for in the evening. They contain magnesium, vitamin B, and — perhaps most interestingly — melatonin, the hormone that signals to your body it's time to wind down. Research found that almond extract helped rats sleep longer and more deeply, though human studies are still building. Walnuts also contain melatonin and have been associated with improved sleep quality in some research. A small handful of either nut in the hour before bed is low-effort and backed by reasonable evidence. Avoid salted or heavily processed versions — plain, lightly roasted is the better option.

Tart Cherries: One of Nature's Few Melatonin Sources

Tart cherries are one of the very few food sources of naturally occurring melatonin, which is why they've attracted serious research attention for sleep. Studies have shown that tart cherry consumption can help with insomnia and improve overall sleep quality, likely by raising melatonin levels in the body. A small glass of tart cherry juice in the evening has become popular for this reason. Bananas, oranges, and pineapple also contain melatonin, along with potassium and magnesium that support muscle relaxation and nervous system regulation — both useful for unwinding before bed.

Tryptophan-Rich Foods: Building Blocks for Sleep Hormones

Tryptophan is an amino acid the body uses to produce serotonin, which then converts into melatonin. Foods high in tryptophan include turkey, chicken, fish, eggs, edamame, pumpkin seeds, and tofu. One cup of firm tofu contains a particularly high amount of tryptophan. Soy-based foods also contain isoflavones, which may help regulate sleep duration and quality. The most effective way to use tryptophan-rich foods for sleep is to pair them with complex carbohydrates — brown rice, quinoa, or whole grain bread — since carbohydrates help transport tryptophan across the blood-brain barrier more efficiently.

Magnesium Foods and Chamomile Tea

Magnesium helps promote sleep by binding to GABA receptors in the brain — neurotransmitters known to calm the nervous system and support deeper sleep — and by regulating melatonin production. Dark leafy greens, pumpkin seeds, whole grains, dark chocolate, and bananas are all solid dietary sources. When magnesium intake is adequate, sleep quality and duration tend to improve, especially in people dealing with insomnia. Chamomile tea rounds things out as an easy evening ritual — multiple studies, including a systematic review and meta-analysis, confirm it can significantly improve sleep quality and reduce anxiety, likely through its apigenin content, which binds to receptors in the brain that promote relaxation. Caffeine-free, widely available, and genuinely effective.