top of page

The Best and Worst Foods for Sleep: What to Eat Before Bed

Most people focus on optimising sleep through routines, bedtime habits, and environmental changes, but few realise how much of an impact diet has on sleep quality. What you eat throughout the day, especially in the hours leading up to bedtime, can determine whether you drift off peacefully or struggle with restlessness and insomnia.


Certain foods contain nutrients that promote relaxation, regulate sleep-inducing hormones like melatonin and serotonin, and stabilise blood sugar levels overnight. On the other hand, some foods disrupt sleep, cause night-time awakenings, or make it harder to fall asleep in the first place.


In this guide, we’ll take a deep dive into the best and worst foods for sleep, breaking down the science behind each one and giving you actionable advice on what to eat (and avoid) before bed.

Stack of dark chocolate with ridges on marble surface. Pieces are broken, revealing a textured interior. Dark, rich colors create a rustic feel.
Dark chocolate is packed full of magnesium

The Science Behind Sleep-Boosting and Sleep-Disrupting Foods


The Role of Melatonin and Serotonin in Sleep

Melatonin is the body’s primary sleep hormone. It regulates the sleep-wake cycle and signals to the brain that it’s time to sleep. Serotonin, often called the "feel-good" hormone, is a precursor to melatonin and also plays a role in relaxation and sleep quality with around 90% of serotonin being made in the gut. Certain foods naturally boost the production of these hormones, making it easier to fall and stay asleep.


Discover more about the relationship between your gut and sleep here.


The Impact of Blood Sugar on Sleep

A spike in blood sugar before bed can lead to a surge in insulin, followed by a blood sugar crash that wakes you up in the middle of the night. Eating foods with a low glycemic index (GI) can help keep blood sugar stable and prevent overnight disturbances.


Caffeine, Alcohol, and Sleep Disruptors

Some foods and beverages act as stimulants or interfere with deep sleep cycles. Understanding which ingredients to limit or avoid is key to achieving restorative sleep.


The Best Foods for Sleep


1. Foods Rich in Tryptophan (A Precursor to Melatonin and Serotonin)

Bread, two cheese wedges, and white flowers on a textured surface. The cheese is creamy and firm, with rustic bread nearby.
Although it can aid sleep, cheese should be consumed in moderation

Tryptophan is an essential amino acid that serves as a building block for serotonin, which in turn gets converted into melatonin. Consuming tryptophan-rich foods can enhance sleep quality.


Best Sources of Tryptophan:

  • Pumpkin seeds – One of the best plant-based sources of tryptophan.

  • Tofu and tempeh – Excellent for those on a vegetarian diet.

  • Turkey and chicken – Commonly linked with post-Thanksgiving sleepiness.

  • Eggs – Contain both tryptophan and vitamin D, which aids serotonin production.

  • Cheese – A dairy source of tryptophan, though it should be consumed in moderation before bed.


2. Magnesium-Rich Foods (For Relaxation and Muscle Recovery)

Almonds arranged on a speckled gray plate against a light beige background. The setting is minimalist, with a warm, natural tone.

Magnesium is a crucial mineral for relaxation, muscle recovery, and nervous system regulation. Low magnesium levels have been linked to insomnia and restless sleep.


Best Magnesium Sources:

  • Dark leafy greens (spinach, Swiss chard, kale)

  • Nuts and seeds (almonds, walnuts, sunflower seeds)

  • Bananas – Also rich in potassium, which aids muscle relaxation.

  • Avocados – Contain magnesium, potassium, and healthy fats for sustained sleep.


3. Complex Carbohydrates (To Stabilise Blood Sugar)

Roasted sweet potato wedges on a white plate, garnished with herbs. Background shows a whole sweet potato on a textured surface.

Unlike simple sugars, complex carbohydrates help maintain steady blood glucose levels throughout the night.


Best Complex Carb Sources:

  • Oats – Naturally boost melatonin production.

  • Sweet potatoes – Contain sleep-promoting potassium and magnesium.

  • Brown rice – Provides a slow release of energy overnight.

  • Whole grain bread – Helps transport tryptophan into the brain.


4. Healthy Fats (To Reduce Nighttime Wake-Ups)

Grilled salmon topped with red onion, pomegranate seeds, and green onions on asparagus. Vibrant and fresh on a light blue plate.

Healthy fats help reduce inflammation and prevent hunger pangs that might wake you up.


Best Sources of Healthy Fats:

  • Olive oil – Helps regulate inflammation and cortisol levels.

  • Fatty fish (salmon, sardines, mackerel) – Contain omega-3s that support serotonin production.

  • Chia seeds and flaxseeds – Good sources of omega-3 fatty acids and fiber.


Tea cup and blue thistle flowers on a torn book page, set against a dark background, conveying a calm, vintage atmosphere.

  • Chamomile tea – Contains apigenin, an antioxidant that promotes relaxation.

  • Valerian root tea – Known for its natural sedative properties.

  • Tart cherry juice – A natural source of melatonin.

  • Golden milk (turmeric latte) – Contains turmeric, which reduces inflammation and supports deep sleep.


The Worst Foods for Sleep

Barista making coffee using an espresso machine, holding a brown paper cup. Background features stacked cups and a red towel.
Unsurprisingly, coffee isn't ideal for sleep

1. Caffeine-Rich Foods and Beverages

Caffeine blocks adenosine, a brain chemical that promotes sleepiness. Even consumed hours before bed, caffeine can disrupt deep sleep.


Worst Offenders:

  • Coffee (even decaf contains small amounts of caffeine!)

  • Tea (black, green, white) – Though lower in caffeine than coffee, they can still interfere with sleep.

  • Chocolate – Contains both caffeine and theobromine, a stimulant that increases heart rate.

  • Energy drinks and sodas – Often high in sugar and caffeine.


2. Spicy and Acidic Foods (Cause Heartburn and Discomfort)

Garlic bulb, tomatoes, and basil leaves on a dark textured surface. The vibrant red and green contrast with the black background.

Spicy foods can cause acid reflux, which worsens when lying down, leading to disturbed sleep. Benjamin Bunting, sports nutritionist and founder of beForm Nutrition, recommends avoiding tomatoes in the evening:

"Their acidity can lead to issues like indigestion, heartburn and acid reflux, which can keep you tossing and turning all night. However, enjoying them at breakfast, lunch or dinner is great as they're rich in vitamin C and potassium."

Foods to Avoid:

  • Hot peppers and chili-based dishes

  • Tomato-based sauces (pasta sauce, salsa)

  • Citrus fruits (oranges, lemons, limes, grapefruits)


3. High-Sugar Foods (Blood Sugar Crashes and Sleep Disruptions)

Chocolate chip cookies cooling on wire racks atop a textured table, next to a red and white checkered cloth. Warm, inviting atmosphere.

Excess sugar causes blood sugar spikes followed by crashes, which can lead to waking up in the middle of the night.


Foods to Avoid:

  • Candy and desserts (ice cream, cakes, cookies)

  • Sugary cereals

  • Sweetened yogurts


4. Alcohol (Disrupts REM Sleep)

A person in a white shirt swirls white wine in a clear glass. The background is blurred, creating a relaxed, elegant atmosphere.

Alcohol may make you feel drowsy, but it significantly disrupts REM sleep, the restorative stage of the sleep cycle. Dr Sophie Bostock, the resident Sleep Expert at Bensons for Beds recommends avoiding alcohol if you're prioritising sleep:


"While it might make you feel drowsy at first, alcohol fragments your sleep cycles and can lead to snoring. That's because it's a sedative, and it relaxes the throat muscles which can make the airway more likely to collapse, and make snoring worse."

Alcoholic Drinks That Harm Sleep:

  • Red wine – Contains histamines that can trigger insomnia.

  • Beer – Contains compounds that interfere with deep sleep.

  • Cocktails with mixers – The sugar content further exacerbates sleep issues.


5. Processed and Fatty Foods (Cause Digestive Issues and Poor Sleep)

Hands holding a tray with two burgers and fries. Burgers have cheese, bacon, and tomato. Dark apron and wooden background visible.

Heavy, greasy foods take longer to digest and can lead to acid reflux or discomfort.


Worst Offenders:

  • Fast food (burgers, fries, fried chicken)

  • Chips and processed snacks

  • Cheese-heavy meals (pizza, nachos, mac and cheese)



Final Thoughts: Creating a Sleep-Supportive Diet

The foods you eat have a profound effect on your sleep quality. By prioritizing sleep-friendly foods rich in tryptophan, magnesium, and complex carbs while avoiding caffeine, alcohol, and processed foods, you can significantly improve your ability to fall asleep and stay asleep. Making mindful food choices before bed can be the difference between tossing and turning or waking up refreshed and energized.


If you struggle with poor sleep, start paying attention to what you eat in the evening. Your diet might be the missing key to unlocking better rest and overall well-being.

Comentarios


bottom of page