Articles
Health & Medical · 10 min read

Foods that may help you sleep better

A realistic look at evening meals, caffeine, alcohol and hunger, with kitchen habits that may make sleep a little easier.
Food and sleep have a two-way relationship. A short night can make us hungrier and more impulsive the next day, while a very large meal, reflux or too much caffeine can make it harder to settle. There is no single ‘sleep food’, but a few ordinary habits can remove avoidable obstacles.
Try to leave some time between a substantial evening meal and bed, particularly if you are prone to heartburn. Include enough carbohydrate and protein that you are not lying awake hungry. Caffeine can linger for hours, and alcohol may make you drowsy initially while disrupting sleep later in the night.
These are adjustments, not a cure for persistent insomnia. A hot bedroom, pain, anxiety, shift work, snoring or a disrupted routine may matter much more than dinner. If poor sleep has lasted for weeks or is affecting your ability to function safely, speak to your GP.

Evening meal timing

Where life allows, finish a large evening meal a few hours before sleep. Shift workers can apply the same idea relative to their own bedtime rather than a conventional clock.
If you are genuinely hungry later, have a small snack such as yoghurt, fruit or wholegrain toast. A planned supper is more restful than lying awake hungry or ordering a large meal close to bed.
Early-start days: lighter protein + carb supper the night before.
Reflux-prone? Finish tomato-heavy sauces earlier in the day.
Keep snack portions small - a second dinner delays sleep.

Magnesium from ordinary food

Magnesium supports normal nerve and muscle function, but an expensive bedtime powder is rarely the starting point. Nuts, seeds, beans, whole grains and leafy vegetables provide it across ordinary meals.
Evidence for supplements and sleep is mixed. Discuss persistent symptoms or a suspected deficiency with a clinician rather than treating every poor night as a mineral problem.
Pumpkin seeds, almonds, and cashews - sprinkle on porridge or salad.
Wholegrain bread, oats, and brown rice - daytime staples that also feature at supper.
Spinach and beans - overlap with budget pulse cooking across the week.
Dark chocolate in small amounts - pleasure and minerals, not a prescription.

Protein and carbohydrates together

Tryptophan is an amino acid found in eggs, dairy, tofu, fish and meat. It contributes to normal biology, but one tryptophan-rich food does not act as a sleeping tablet.
A balanced evening meal containing protein and carbohydrate, such as beans on toast or lentil soup with bread, may feel comforting and prevent later hunger. No specialist sleep drink is required.
Choose an ordinary evening meal that leaves you comfortably satisfied.
A warm bowl of porridge or soup may be soothing, but it is not a sleeping treatment.
If you need a late snack, choose one you find satisfying; no special nutrient ratio is required.

What to limit before bed

Notice caffeine across coffee, tea, cola, energy drinks and chocolate, then choose a cutoff that protects your sleep. Alcohol may make you drowsy initially but often disrupts the second half of the night.
Large, rich or very spicy meals may worsen reflux for some people. Test your own pattern rather than adopting a long universal avoidance list.
If sleep is fragile, test an earlier caffeine cut-off and see whether it helps.
Energy drinks late in the day can make sleep more difficult.
Fizzy or caffeinated mixers may worsen reflux or sleep for some people.

Routine matters more than rare superfoods

A regular supper and wind-down routine usually matter more than a rare drink marketed for sleep. Keep a simple soup, dhal or freezer meal for evenings when a late dinner would otherwise become the only option.
Dimming the kitchen and finishing work away from food can help when home working has blurred the boundary between the desk and the snack cupboard.
Same breakfast time where possible - anchors the day.
Batch one freezer soup for hectic weeks.
Phone off charger in the kitchen - fewer 10pm scroll snacks.
Health & Medical
On this page
1
Evening meal timing
2
Magnesium from ordinary food
3
Protein and carbohydrates together
4
What to limit before bed
5
Routine matters more than rare superfoods
6
When sleep problems persist
Late snack ideas
Small bowl of porridge with banana.
Yoghurt and a few berries.
Wholegrain toast with nut butter.
Warm milk is fine if you like it, not mandatory.
Quick wins
Large late meals, caffeine and alcohol can disturb sleep, but no single food cures insomnia.
Nuts, seeds, whole grains and beans provide magnesium as part of an ordinary diet; supplements are not a proven universal sleep remedy.
A light planned snack can help if hunger keeps you awake, without needing a special nutrient formula.
Build a week around this advice
Browse quick & easy recipes
Healthy eating guide
Open meal planner
Sleep and appetite
Decision fatigue at 6pm
Trust & sources
Written for Meal Pilot by Dr James, MBBS - a practising NHS GP in the United Kingdom. The information below reflects UK public-health guidance (including NHS Eatwell principles and SACN reference intakes). It is educational, not a personal prescription: always follow advice tailored to you by your own GP, practice nurse or registered dietitian.
Author
Dr James, MBBS
Reviewed by
Meal Pilot clinical evidence review
Last reviewed
2026-06-20
Sources
· Edinger JD et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: AASM clinical practice guideline. 2021.
· Gardiner C et al. The effect of caffeine on subsequent sleep: systematic review and meta-analysis. Sleep Medicine Reviews. 2023.
· Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: systematic review and meta-analysis. BMC Complementary Medicine and Therapies. 2021.
· Colrain IM et al. Alcohol and the sleeping brain. Handbook of Clinical Neurology. 2014.
Meal Pilot
Smart meal planning, price comparison and recipes for happier, healthier households across the UK.
Get the Meal Pilot app
Plan meals, track your cupboard, and shop smarter on the go.
© 2026 Meal Pilot Ltd. All rights reserved.