Mila · Nutrition Coach Nutrition — Guides & Tips

Best Foods for Sleep: What to Eat for a Better Night

July 9, 2026 · by the Mila team

The best foods for sleep are ones that supply melatonin, tryptophan, magnesium, or slow-digesting carbs — think kiwi, tart cherries, oats, milk and yogurt, nuts, bananas, and turkey. Just as important as what you add is what you time better: caffeine cut off by early afternoon, alcohol kept modest, and dinner finished a couple of hours before bed.

Food won’t fix a bad sleep routine on its own, but it’s a genuinely useful lever — and one of the easiest to pull. Here’s what the research points to, and how to build it into a realistic evening.

How Food Affects Sleep

A few nutrients and compounds keep showing up in sleep research:

  • Melatonin — the hormone that signals “it’s night” to your body. A handful of foods naturally contain it or seem to nudge levels upward in studies.
  • Tryptophan — an amino acid your body uses to make serotonin and, downstream, melatonin. Found in dairy, poultry, eggs, oats, and seeds.
  • Magnesium and potassium — minerals involved in muscle relaxation and nervous system regulation. Nuts, seeds, leafy greens, bananas.
  • Carbohydrates — a moderate-carb evening meal can help tryptophan reach the brain, which is one reason a small carb-containing snack before bed suits some people better than going to bed hungry.

None of these work like a sleeping pill. The honest framing: certain foods are associated with better sleep quality in studies, and they’re all healthy foods anyway — so the downside of trying them is zero.

The Best Foods for Sleep

Kiwi

One of the most-studied single foods for sleep. In small studies, people eating kiwi in the evening fell asleep faster and slept longer. Two kiwi about an hour before bed is the protocol researchers used — and it doubles as a vitamin C–rich dessert.

Tart cherries

Tart cherries (and their juice) are one of the few natural food sources of melatonin, and small studies link them with modest improvements in sleep duration. A small glass of unsweetened tart cherry juice in the evening is the usual approach; whole cherries work too.

Milk, yogurt, and kefir

The warm-milk-before-bed tradition has some real logic behind it: dairy provides tryptophan and calcium. A cup of milk or a small bowl of Greek yogurt makes a solid pre-bed snack — protein enough to keep you full through the night without sitting heavy.

Oats

Oats contain melatonin, magnesium, and slow-digesting carbs — a rare food that’s evidence-friendly at both ends of the day. A small bowl of oatmeal with banana and a drizzle of honey is about as classic a sleep-friendly snack as exists.

Nuts, especially almonds and walnuts

Walnuts contain melatonin; almonds bring magnesium. A small handful in the evening — emphasis on small, since nuts are calorie-dense — is an easy habit.

Bananas

Magnesium, potassium, and carbs in one peel-and-eat package. Pair with a spoon of peanut butter for staying power.

Turkey, chicken, eggs, and fish

All good tryptophan sources at dinner. Fatty fish like salmon is interesting here: some research associates regular fish intake with better sleep quality, possibly via omega-3s and vitamin D.

Chamomile and herbal teas

Chamomile contains apigenin, a compound studied for mild calming effects. Even setting the compound aside, a warm caffeine-free tea is a genuinely useful wind-down ritual — the routine itself signals bedtime.

What to Limit Before Bed

The “avoid” list moves the needle at least as much as the “add” list:

  • Caffeine after early afternoon. Caffeine has a half-life of roughly five to six hours, so a 4 p.m. coffee is still working at 10 p.m. Coffee, tea, cola, energy drinks, and dark chocolate all count.
  • Alcohol close to bedtime. It can make you fall asleep faster but reliably fragments the second half of the night. If you drink, earlier and less is the sleep-friendly version.
  • Big, heavy, or very spicy meals within ~2–3 hours of bed. Lying down on a full stomach invites reflux and restlessness.
  • Sugary desserts as the last thing you eat. A blood sugar spike-and-dip at midnight is a classic 3 a.m. wake-up. If sweet cravings own your evenings, our guide on how to curb sugar cravings has gentler off-ramps.
  • Lots of liquid right before lights out. Hydrate through the day, taper in the last hour.

Timing: When to Eat for Better Sleep

  • Finish dinner 2–3 hours before bed when you can. Digestion and deep sleep compete.
  • Don’t go to bed genuinely hungry either. Hunger is stimulating. A small snack — yogurt, a banana, oatmeal, kiwi — beats white-knuckling it.
  • Keep timing consistent. Regular meal times support your circadian rhythm the same way a regular bedtime does.

If your evenings tend to dissolve into grazing rather than one intentional snack, that’s a different (and very common) problem — we cover it in how to stop late-night snacking.

A Sleep-Friendly Evening, Start to Finish

  • Dinner (~7 p.m.): salmon or chicken, rice or potatoes, and vegetables — protein plus moderate carbs, nothing enormous.
  • Wind-down (~8:30 p.m.): chamomile tea while screens dim.
  • If hungry (~9 p.m.): two kiwi, or Greek yogurt with a few walnuts, or a small bowl of oats with banana.
  • After that: kitchen closed, water only.

Nothing on that list is expensive or exotic — which is exactly why it’s sustainable.

Keep Perspective: Food Is One Lever

Diet sits alongside the fundamentals, not above them: a consistent sleep schedule, a dark cool room, daylight in the morning, movement during the day, and caffeine discipline. If you’re doing all of that and still sleeping badly for weeks — or you snore heavily, gasp at night, or fight daytime exhaustion — talk to a doctor. Persistent sleep problems deserve real evaluation, not just a kiwi.

FAQ

What is the best food to eat right before bed?

Something small that combines a little protein or tryptophan with slow carbs: Greek yogurt with banana, a small bowl of oatmeal, two kiwi, or a glass of milk. The goal is settling hunger without giving your stomach a big job — roughly 100–200 calories, 30–60 minutes before bed.

Does warm milk actually help you sleep?

Plausibly, modestly. Milk provides tryptophan and calcium, and the warm-drink ritual itself has a real wind-down effect. It won’t sedate you, but as a nightly cue paired with a consistent routine, it earns its reputation.

How long before bed should I stop eating?

A full meal is best finished about two to three hours before bed, mostly to protect against reflux and restless digestion. A light snack is fine much closer — even 30–60 minutes out — especially if going to bed hungry tends to wake you at night.

Do bananas help you sleep?

They’re a reasonable pick: magnesium, potassium, some vitamin B6, and easy-digesting carbs. No single banana will knock you out, but as the carb half of a bedtime snack it’s one of the better choices in the fruit bowl.

Is it bad to sleep on an empty stomach?

For some people it’s fine; for others genuine hunger is stimulating enough to delay or fragment sleep. If you wake hungry at night or lie awake with a rumbling stomach, a small planned snack usually sleeps better than an empty one — it’s the large late meals that cause problems, not a light bite.