Skip to content
Nightwell

Nightwell

Better Sleep & More Energy

  • Sleep
  • Nutrition
  • Energy & Focus
  • Movement
  • Toggle search form
  • Meditation for Focus and Energy: A Beginner’s Guide Energy & Focus
  • Does the Pomodoro Technique Actually Work? Energy & Focus
  • Exercise Snacks: Fit Movement Into a Busy Day Movement
  • Caffeine: How It Really Works (and How to Use It Well) Nutrition
  • Water drop showing 3:12 under a crescent moon, illustration for an article on waking up to pee at night
    Why You Wake Up to Pee at Night (and How to Sleep Through Again) Sleep
  • Person in bed with a clock in a thought bubble, illustration for an article on sleep anxiety
    Sleep Anxiety: When Worrying About Sleep Keeps You Awake Sleep
  • The Energy-Mood Connection: Why Low Energy and Low Mood Go Together Energy & Focus
  • Vitamin D and Fatigue: Does It Really Cause Tiredness? Nutrition

What to Eat — and Avoid — for Better Sleep

Posted on September 4, 2026 By Nightwell 2 Comments on What to Eat — and Avoid — for Better Sleep

The short answer

No single food is a magic sleeping pill — but your diet genuinely shapes how well you sleep. The pattern that helps: whole, plant-leaning foods that supply sleep-friendly nutrients, eaten earlier rather than right before bed. The pattern that hurts: caffeine, alcohol, sugar, and heavy or spicy meals late in the evening. Get the timing and the overall mix right, and you remove some of the most common, and most fixable, causes of poor sleep.

Foods that tend to help

These aren’t miracle cures, but each has some research behind it, and they share a theme: whole foods carrying nutrients your body uses to wind down — melatonin, tryptophan, and magnesium.

  • Kiwi fruit. One small study found that eating two kiwis about an hour before bed helped people with self-reported insomnia fall asleep faster and stay asleep longer.
  • Tart cherry juice. Naturally high in melatonin; small studies link it to fewer night-time awakenings.
  • Nuts like almonds and walnuts, which provide magnesium and a little melatonin.
  • Fatty fish such as salmon, and dairy, both associated with better sleep in dietary studies.
  • Whole grains and complex carbs, which release energy slowly and won’t leave you waking from hunger the way refined carbs can.
  • Leafy greens and seeds, good sources of the magnesium involved in the body’s “off switch.”

The honest caveat: the studies here are mostly small, so treat these as gentle, low-risk additions to your daily diet rather than guaranteed fixes. The bigger win is the overall pattern, not any one superfood.

Foods and drinks that tend to hurt

This side of the ledger has stronger, more consistent evidence — and it’s where most people can make the biggest difference:

  • Caffeine. The obvious one, but it hides in tea, cola, energy drinks, chocolate, and even some decaf. It lingers for hours, so keep it to the first half of the day — here’s when to stop drinking coffee.
  • Alcohol. It feels like a sleep aid because it’s sedating, but it’s one of the biggest disruptors of the second half of the night, cutting into restorative REM sleep and causing more awakenings. It’s a leading reason people feel tired even after a full night in bed.
  • Sugar and refined carbs. High-sugar diets are linked to lighter, more broken sleep and more night-time wakings; refined carbs at dinner can spike then crash your blood sugar, waking you hungry.
  • Heavy, fatty, or fried meals. Slow to digest and linked to less deep, slow-wave sleep — especially rough when eaten late.
  • Very spicy foods. They can nudge up your core body temperature, working against the natural cool-down that helps you drift off (the same reason a cool bedroom helps).

When you eat matters as much as what

Even a healthy meal works against you if it’s too big or too late. Your digestion slows during sleep, so a large dinner right before bed sits heavy and can trigger acid reflux that fragments the night. A good rule of thumb is to finish eating two to three hours before bed. If you’re genuinely hungry later, a small, sleep-friendly snack — a few nuts, a little yoghurt, half a banana — beats either going to bed starving or eating a full meal. Folding that into an evening wind-down routine makes it automatic.

The bottom line

Don’t chase a single “sleep food.” Build a diet around whole, mostly plant-based foods, lean on the sleep-friendly options in the evening, go easy on caffeine, alcohol, sugar, and heavy meals as the night approaches, and give your body a couple of hours to digest before bed. It’s one of the most controllable levers you have — and it works hand in hand with a cool, dark room and a steady wake time.


This article is for general information and education and isn’t medical advice. If you have a health condition, reflux, or ongoing sleep problems, please talk to a qualified healthcare professional or dietitian.

Sources: Sleep Foundation — Food and Drink for Better Sleep; Johns Hopkins Medicine — Diet and Sleep; University of Michigan — Best Diet for Healthy Sleep

Sleep

Post navigation

Previous Post: Why You’re Tired Even After 8 Hours of Sleep
Next Post: Alcohol and Sleep: Why the Nightcap Backfires

Related Posts

  • Bed seen from above with two pillows and two separate duvets, illustration for an article on sharing a bed
    Sharing a Bed: How to Sleep Well With a Partner Sleep
  • Alcohol and Sleep: Why the Nightcap Backfires Sleep
  • Exercise and Sleep: Does Working Out Help You Sleep Better? Sleep
  • Clock turning back one hour, illustration for adjusting your sleep when the clocks go back
    Clocks Go Back: How to Adjust Your Sleep (Without Losing a Week) Sleep
  • How Blue Light Really Affects Your Sleep Sleep
  • Magnesium for Sleep: What the Evidence Shows Sleep

Comments (2) on “What to Eat — and Avoid — for Better Sleep”

  1. Pingback: Smart Snacks for Steady Energy (No Crash) – Nightwell
  2. Pingback: Meal Timing: Does When You Eat Affect Your Energy? – Nightwell

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Affiliate · Our sleep picks

Sleep better, starting with your bed

Luxe hybrid mattress with pocket springs and comfort layers

✓ Handmade in Britain
✓ 60-night refund window
✓ Free UK delivery
✓ Up to 10-year guarantee

LuxeTherm Hybrid – for hot sleepers who want firmer support

Luxe Nova Hybrid – plush feel for side sleepers

Neck-support pillow – for back and side sleepers

Memory foam topper – a cheaper comfort upgrade

We may earn a commission if you buy through these links. UK brand – check delivery to your country.

Woman over 40 doing a short home strength workout

For women 40+

7-Minute Home Workouts

✓ Follow-along video sessions

✓ Beginner-friendly, no gym needed

✓ $27 one-time, money-back guarantee

See the program →

Affiliate link: we may earn a commission at no extra cost to you.

Hyperbolic Stretching flexibility program

For men & women

Full-Body Flexibility

✓ 24 guided stretching videos

✓ Hips, hamstrings & full-body mobility

✓ For beginners and advanced, any age

See the program →

Affiliate link: we may earn a commission at no extra cost to you.

The Mediterranean Diet 30-Day Challenge program

Personal meal plan

Mediterranean 30-Day Challenge

✓ Free 60-second quiz to start

✓ Meal plan, recipe book & guides

✓ Simple recipes with real food

Take the quiz →

Affiliate link: we may earn a commission at no extra cost to you.

Headphones with sound waves for focus, relax and sleep music

FOCUS · RELAX · SLEEP

Brain.fm Focus Music

✓ Music designed to help you focus, relax & sleep

✓ Built on published brain research

✓ 30-day free trial, cancel anytime

Try it free for 30 days →

Affiliate link: we may earn a commission at no extra cost to you.

  • Do Multivitamins Actually Work? What the Science Nutrition
  • Morning Sunlight: The Free Energy Booster You’re Ignoring Energy & Focus
  • Gut Health and Energy: The Microbiome Connection Nutrition
  • Napping: How Long and When (Without Wrecking Your Night) Sleep
  • What time should you stop drinking coffee? Sleep
  • Protein 101: How Much You Really Need and Why It Matters for Energy Nutrition
  • Clock turning back one hour, illustration for adjusting your sleep when the clocks go back
    Clocks Go Back: How to Adjust Your Sleep (Without Losing a Week) Sleep
  • Why You’re Tired Even After 8 Hours of Sleep Sleep

Legal

  • Privacy Policy
  • About Nightwell
  • Legal Notice

Some articles on Nightwell contain affiliate links. If you buy through them, we may earn a small commission at no extra cost to you.

Explore

  • Sleep
  • Nutrition
  • Energy & Focus
  • Movement

Follow

Follow onPinterest

@nightwellhealth

Sleep, focus and energy tips, pinned weekly.

Copyright © 2026 Nightwell.

Powered by PressBook News WordPress theme