Sleep, Melatonin, and Nutrition: How Food Helps You Rest Better

photo of person holding alarm clock

Written by: Suren Chiu, RDN LDN

Do you ever lie in bed tired but just can’t fall asleep? While there are many reasons for poor sleep, what you eat can make a big difference.

Let’s talk about how melatonin, your body’s “sleep hormone,” and nutrition work together to help you sleep better and wake up feeling more rested.

What Is Melatonin and Why Does It Matter?

Melatonin is a natural hormone made in your brain. It helps your body know when it’s time to sleep and when it’s time to wake up.

When it gets dark outside, your brain makes more melatonin. When the sun rises—or when you’re staring at bright screens late at night—your brain makes less. That’s why light and bedtime habits play such a big role in your sleep.

But here’s something many people don’t know: the food you eat can help your body make melatonin too.

How Food Helps Your Body Make Melatonin

Melatonin doesn’t just appear out of nowhere. Your body makes it from a nutrient called tryptophan—an amino acid found in protein foods like turkey, eggs, and nuts.

Tryptophan first turns into serotonin (a “feel good” brain chemical), which then turns into melatonin, the sleep hormone.

Your body also needs magnesium, vitamin B6, and zinc to make this process work well. Without these, your body can’t make melatonin as easily.

Advertisements

Foods that help boost melatonin naturally:

  • Tart cherries and cherry juice 🍒
  • Grapes and tomatoes 🍇🍅
  • Walnuts and almonds 🌰
  • Oats and rice 🍚
  • Milk and yogurt 🥛

These foods are like small “sleep helpers” that support your body’s natural rhythms.

delicious dessert with berries on coaster

How Nutrition Affects Sleep Quality

What and when you eat both affect your sleep.

  • Carbohydrates (like rice, oats, or potatoes) can help you fall asleep faster by helping tryptophan reach your brain.
  • Protein foods (like turkey, eggs, and nuts) help keep your blood sugar stable overnight.
  • Heavy or fatty meals right before bed can make it harder to get comfortable and sleep well.

A small, balanced snack before bed—like a banana with peanut butter or warm milk with oats—can be the perfect way to wind down.

Other Things That Affect Sleep

Even if your nutrition is great, sleep can still be disrupted by lifestyle habits.

  • Blue light from phones, tablets, and TVs blocks melatonin and makes it harder to fall asleep. Try turning off screens 30–60 minutes before bed.
  • Caffeine (in soda, coffee, chocolate, or energy drinks) stays in your body for hours. Avoid it late in the day.
  • Alcohol may make you sleepy at first but actually hurts deep sleep later on.

When you combine smart nutrition with good sleep habits, your body can naturally produce melatonin and find its sleep rhythm again.


Simple Tips for Better Sleep

  1. Eat foods that help your body make melatonin — like turkey, milk, and nuts.
  2. Try natural melatonin – rich foods like tart cherries, grapes, and oats.
  3. Avoid caffeine and alcohol before bedtime.
  4. Keep your bedroom dark and cool.
  5. Turn off screens and dim lights before bed.

Good nutrition plus a calm bedtime routine can help your body rest and recharge—no pills needed.


Sleep, melatonin, and nutrition are all connected. The foods you eat can help your body relax, make melatonin naturally, and support a steady sleep routine.

If you’ve been struggling to fall asleep or wake up rested, try adjusting your evening meal and bedtime habits. Sometimes, small changes in nutrition can make a big difference in how you sleep and feel.

Advertisements

References:

Rios, R., Betancourt, J., Pagan, I., & Figueroa, J. (2020). Sleep and nutrition interactions: A review of current evidence. Nutrients, 12(4), 1234.

Arendt, J. (2019). Melatonin: Characteristics, concerns, and prospects. Journal of Biological Rhythms, 34(6), 659–678.

Meng, X., Li, Y., Li, S., Gan, R. Y., & Li, H. B. (2017). Natural melatonin: Food sources, bioavailability, and health implications. Nutrients, 9(4), 367.

Peuhkuri, K., Sihvola, N., & Korpela, R. (2012). Diet promotes sleep duration and quality. Nutrition Research, 32(5), 309–319.

St-Onge, M. P., Mikic, A., & Pietrolungo, C. E. (2016). Effects of diet on sleep quality. Advances in Nutrition, 7(5), 938–949.

Want support that makes food feel simpler?

Get short weekly notes on how your brain, stress, and routines affect eating. No rules, no guilt.

Discover more from Suren Chiu Nutrition

Subscribe now to keep reading and get access to the full archive.

Continue reading