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.
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.
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.
When sleep problems persist
Speak to your GP if insomnia has lasted for weeks, daytime functioning is affected, or snoring, pain, anxiety or restless legs may be contributing. Food cannot correct an untreated sleep disorder.
The related sleep-and-appetite guide explains how poor rest can affect next-day hunger and spending, but the clinical cause still needs its own assessment.
NHS sleep hygiene leaflets - free, evidence-based basics.
Keep a simple food + sleep log for one week before appointments.
Avoid stacking three new supplements - interactions and cost add up.