Quick Answer: The best foods before bed are those rich in tryptophan, magnesium, and natural melatonin -- think tart cherries, almonds, turkey, and kiwi. These nutrients help your brain produce serotonin and melatonin, the hormones that signal it is time to sleep. Eat them 30 to 60 minutes before bed for best results.
In This Guide
Reading Time: 6 minutes
What you eat in the hours before sleep has a measurable effect on how quickly you fall asleep, how long you stay asleep, and how rested you feel in the morning. At Mattress Miracle, we often hear from customers who have invested in a great mattress and still struggle with restless nights. Sometimes the missing piece is not the bed -- it is what is on the plate before bed.
Why What You Eat Affects Sleep
Your brain relies on specific amino acids and minerals to manufacture sleep hormones. Tryptophan is an essential amino acid that your body converts first into serotonin and then into melatonin. Magnesium activates the parasympathetic nervous system, helping your body shift into rest mode. Natural melatonin from food can complement what your pineal gland produces.
Sleep Science
A 2016 study published in the Journal of Clinical Sleep Medicine found that higher fibre and lower saturated fat intake during the day was associated with more restorative slow-wave sleep. Your evening food choices are part of a longer dietary pattern that shapes sleep architecture across the whole night.
The gut-brain axis also plays a role. About 90 percent of the body's serotonin is produced in the gut, which means digestive health directly influences your capacity to produce sleep hormones. Fermented and fibre-rich evening foods support both digestion and sleep quality.
Tryptophan-Rich Foods
Tryptophan is the most direct nutritional path to better sleep. To be effective, tryptophan needs a small amount of carbohydrate alongside it -- the carbs trigger insulin release, which clears competing amino acids from the bloodstream and gives tryptophan better access to the brain.
| Food | Tryptophan (per 100g) | Best Pairing |
|---|---|---|
| Turkey breast (cooked) | ~290 mg | Whole grain crackers |
| Pumpkin seeds | ~576 mg | Small banana |
| Cottage cheese | ~148 mg | Sliced peach |
| Eggs | ~167 mg | Whole grain toast |
| Cheddar cheese | ~320 mg | Apple slices |
A small turkey and whole grain cracker snack about an hour before bed is one of the most effective tryptophan-delivery combinations you can make. It does not need to be large -- a handful of crackers with a few slices of turkey is enough.
Magnesium Sources
Magnesium is sometimes called the "relaxation mineral" because it regulates GABA receptors in the brain -- the same receptors targeted by many sleep medications. Low magnesium is strongly associated with restless legs syndrome and nighttime waking.
- Almonds: 76 mg per 30g serving -- one of the most sleep-friendly snacks available
- Spinach: 78 mg per 100g -- works well in a light evening salad
- Pumpkin seeds: 150 mg per 30g -- also a tryptophan source, making them doubly effective
- Dark chocolate (70%+): 64 mg per 30g -- also contains small amounts of serotonin
- Avocado: 29 mg per half fruit -- also provides potassium, which relaxes muscles
Comfort Tip
A small handful of almonds (about 20 nuts) eaten 45 minutes before bed provides both magnesium and tryptophan in one convenient snack. Pair with a small glass of warm milk for an additional calcium and tryptophan boost.
Natural Melatonin Foods
While food sources of melatonin contain much smaller amounts than supplements, research shows they can still meaningfully shift circadian rhythms when consumed regularly in the evening.
Tart cherries are the standout melatonin food. A 2012 study in the European Journal of Nutrition found that adults who drank tart cherry juice twice daily experienced significant increases in sleep time and sleep efficiency. Tart cherry juice concentrate (diluted with water) is the most practical form.
Kiwi fruit is another surprising melatonin source. Research from Taiwan found that adults who ate two kiwis one hour before bed for four weeks fell asleep 35 percent faster and slept 13 percent longer. Kiwis also provide serotonin and antioxidants that reduce oxidative stress during sleep.
Walnuts contain small amounts of melatonin along with alpha-linolenic acid (ALA), an omega-3 fatty acid. Just six to eight walnuts in the evening covers the sleep-supporting bases without being a heavy pre-bed food.
Pineapple is less commonly discussed but has been shown in some research to raise blood melatonin levels by over 200 percent after consumption. A few slices in the evening is a pleasant and light option.
Foods to Avoid Before Bed
Just as some foods promote sleep, others actively disrupt it. Avoiding these in the two hours before bed makes a significant difference.
- Caffeine (coffee, tea, cola, dark chocolate in large amounts): blocks adenosine receptors, suppressing sleep drive for up to six hours
- Alcohol: causes fragmented sleep in the second half of the night and suppresses REM sleep
- Spicy foods: raise core body temperature, which interferes with the natural temperature drop needed to initiate sleep
- High-fat meals: slow digestion and can cause reflux when you lie down
- High-sugar foods: cause blood sugar spikes and crashes that can trigger nighttime waking
Timing and Portions
Timing matters as much as food choice. A large meal right before bed diverts blood flow to digestion and raises core body temperature, both of which delay sleep onset. The goal is to be comfortably satisfied, not full.
From Dorothy at Mattress Miracle
"The sweet spot for a sleep-promoting snack is 30 to 60 minutes before you want to be asleep. Keep it under 200 calories if possible, and combine a small carbohydrate with a tryptophan or magnesium source. The carb-protein combination is really the key -- neither works as well alone."
Finish your last full meal at least two to three hours before bed. If you are genuinely hungry closer to sleep, a small targeted snack is far better for sleep quality than going to bed hungry, which can also cause nighttime waking due to low blood sugar.
A Note from Brantford
Many of our customers at Mattress Miracle work shift hours at local manufacturing and healthcare facilities. If your schedule means you are eating "dinner" at unusual times, the same principles apply -- focus on the 30-to-60-minute window before your intended sleep time, whatever hour that falls.
Shop: Adjustable Beds at Mattress Miracle
Find Your Perfect Mattress at Mattress Miracle
We are a family-owned mattress store in Brantford, helping our community sleep better since 1997. Come try mattresses in person and get honest, no-pressure advice.
441 1/2 West Street, Brantford, Ontario
Call 519-770-0001Frequently Asked Questions
Is warm milk actually effective before bed?
Warm milk provides tryptophan and calcium, and research does support a modest sleep benefit. The warmth also has a psychological calming effect. It is not a silver bullet, but it is a legitimate sleep-support tool, especially as part of a consistent bedtime routine.
How long before bed should I eat my last snack?
Aim for 30 to 60 minutes before your target sleep time. This gives tryptophan time to cross the blood-brain barrier and begin serotonin conversion, without your body still actively digesting when you are trying to fall asleep.
Can eating before bed cause weight gain?
A small, well-chosen snack under 200 calories does not cause weight gain in otherwise healthy adults. Total daily calorie intake determines weight, not meal timing. Poor sleep from going to bed hungry can actually increase appetite hormones the next day, potentially causing more overeating.
What is the single best food to eat before bed?
If you had to pick one, tart cherry juice concentrate is the most research-supported option for sleep. A small glass diluted in water, taken 30 minutes before bed, provides natural melatonin and has shown measurable improvements in sleep time in clinical trials.
Sources
- St-Onge MP, et al. "Fiber and saturated fat are associated with sleep arousals and slow wave sleep." Journal of Clinical Sleep Medicine. 2016;12(1):19-24.
- Howatson G, et al. "Effect of tart cherry juice on melatonin levels and improved sleep quality." European Journal of Nutrition. 2012;51(8):909-916.
- Lin HH, et al. "Effect of kiwifruit consumption on sleep quality in adults with sleep problems." Asia Pacific Journal of Clinical Nutrition. 2011;20(2):169-174.
- Peuhkuri K, et al. "Diet promotes sleep duration and quality." Nutrition Research. 2012;32(5):309-319.
- Halson SL. "Sleep in elite athletes and nutritional interventions to enhance sleep." Sports Medicine. 2014;44(Suppl 1):S13-S23.
Visit Our Brantford Showroom
We are located at 441½ West Street in downtown Brantford. Free parking available. Our team does not work on commission, so you get honest advice based on your needs.
Mattress Miracle -- 441½ West Street, Brantford, ON -- (519) 770-0001
Hours: Monday--Wednesday 10am--6pm, Thursday--Friday 10am--7pm, Saturday 10am--5pm, Sunday 12pm--4pm.
If better nutrition is one piece of your sleep puzzle, the other piece is a mattress that truly supports your body. Come in and let us help you find it.
Shop This Topic at Mattress Miracle
Popular picks at Mattress Miracle:
- Restonic ComfortCare Dalton & Albany pocketed-coil mattress
- Whitney flippable mattress
- Somnia 3.0 pillow
Or shop our mattress collection in our Brantford showroom.