Food won't knock you out like a sleeping pill, but the right bedtime snack genuinely nudges your body toward sleep — and the wrong one sabotages it. The best sleep foods share a few compounds: tryptophan (a building block for serotonin and melatonin), magnesium and calcium (calming minerals), and in some cases melatonin itself. Here are the ones worth reaching for. (This complements the flip side: the worst foods and drinks before bed.)
The best foods to eat before bed
- Tart cherries / tart cherry juice. One of the few natural food sources of melatonin, with small studies linking it to more and better sleep. (The full evidence.)
- Kiwi. A couple of kiwis an hour before bed showed improved sleep onset and duration in a well-known small study — likely from serotonin and antioxidants.
- Almonds and walnuts. Sources of magnesium and, in walnuts, some melatonin. A small handful is a good magnesium-forward snack. (Why magnesium helps sleep.)
- A banana. Magnesium and potassium (muscle-relaxing) plus tryptophan. Cheap and easy.
- Dairy — warm milk, yogurt, cottage cheese. The "warm milk" cliché has a kernel of truth: dairy supplies tryptophan and calcium, and the ritual itself is calming.
- Oats. A source of melatonin and complex carbs that help tryptophan reach the brain.
- Turkey and other lean protein. The famous tryptophan food — modest, but real as part of a balanced light snack.
The pattern that actually matters
Beyond specific foods, two principles do most of the work:
- Pair a little carbohydrate with tryptophan. Carbs help tryptophan cross into the brain, which is why "tryptophan foods" work better alongside a small complex carb (oats, whole-grain toast) than alone.
- Keep it small and early-ish. A light snack is fine; a heavy meal right before lying down invites reflux and keeps your body digesting when it should be winding down. Aim to finish eating a couple of hours before bed, with only a light snack after if you're genuinely hungry.
What to avoid (the quick version)
Skip big meals, sugar, spicy food, caffeine (including chocolate), and alcohol close to bed — they raise body temperature, spike then crash blood sugar, or fragment sleep. (The full list of what wrecks sleep. · Why late sugar wakes you at 4 AM.)
Food is a supporting player
No snack overrides the fundamentals. The best bedtime nutrition sits inside a cool dark room, a consistent schedule, and unobstructed breathing. For a healthy habitual mouth breather with a clear nose, mouth tape keeps overnight breathing consolidated — the part no food can touch. Not sure what's actually undermining your sleep? The free Titan Sleep Score quiz is a quick check.
FAQ
What is the best food to eat before bed? There's no single winner, but tart cherries, kiwi, a banana, a small handful of almonds or walnuts, or dairy paired with a little complex carb are all solid — they supply tryptophan, magnesium, or melatonin.
Is it bad to eat before bed? A large, heavy, or sugary meal right before bed is disruptive. A small, balanced snack of the foods above is fine and can even help if hunger would otherwise keep you up.
Does warm milk really help you sleep? Partly — dairy provides tryptophan and calcium, and the warm, familiar ritual is calming. It's a gentle nudge, not a sedative.
How long before bed should I eat? Finish larger meals about 2–3 hours before bed; a light sleep-supporting snack can be closer, ideally 30–60 minutes before.
The bottom line
The best foods to eat before bed are small, light, and rich in tryptophan, magnesium, or melatonin — tart cherries, kiwi, banana, nuts, dairy, oats — ideally with a little complex carb. Keep the portion small and the timing sensible, and treat it as one gentle input alongside a cool room, a steady schedule, and clear breathing.