Foods for Better Sleep: What to Eat, Avoid, and Consider Before Bed

Have you ever gone to bed feeling exhausted, only to find yourself strangely alert, restless, or waking repeatedly throughout the night?
Stress, hormones, screens, and an uncomfortable bedroom can all affect sleep. Yet another important influence may be sitting much closer to home: what you eat, how much you eat, and when you eat it.
Food does far more than satisfy hunger. Every meal influences digestion, blood glucose, insulin, body temperature, hormones, and the body’s internal clock. Your evening meal can gently prepare you for rest—or leave your body working hard when it should be slowing down.
At Diet Confetti, we believe better sleep does not begin only when your head touches the pillow. It can begin several hours earlier, in the kitchen.

Your daytime and nighttime metabolism
The body follows a roughly 24-hour circadian rhythm. This internal clock helps regulate sleepiness, alertness, digestion, appetite, blood glucose control, and hormone production.
During the day, the body is generally better prepared to receive and process food. As evening approaches, melatonin begins to rise and the body gradually shifts towards rest and repair.
Research suggests that eating very late may produce a larger or more prolonged glucose response than eating the same meal earlier. Late meals may also overlap with rising melatonin levels, when the body can handle glucose less efficiently. This does not mean that one late dinner will harm your health, but regularly eating large meals close to bedtime may work against your natural rhythm. [Research review]
The Diet Confetti three-hour guideline
A practical everyday guideline is to finish your main evening meal approximately three hours before bedtime.
This is not a strict rule. Some people feel comfortable eating two hours before bed, while others—particularly those with reflux, slow digestion, or a preference for large dinners—may need longer.
The aim is simple: give your body time to complete the busiest phase of digestion before you lie down.
Finishing dinner earlier may help reduce:
uncomfortable fullness and bloating;
reflux or heartburn;
overheating and restlessness;
large nighttime fluctuations in blood glucose;
repeated bathroom visits;
the feeling that your body is still “busy” when your mind wants to sleep.
Think of the evening as a gradual landing, not an emergency stop. Dinner should begin the descent into sleep—not start a second working day inside your body.
Why large, sugary evening meals may disturb sleep
Rapidly digested carbohydrates—such as sweets, pastries, sweetened cereal, white bread, sugary drinks, and large refined-flour meals—can allow glucose to enter the bloodstream relatively quickly.
The pancreas responds by releasing insulin, which helps move glucose into cells. In some people, particularly after a very sugary meal, glucose may then fall quickly enough to produce hunger, shakiness, warmth, sweating, or increased alertness.
The body has protective systems that prevent blood glucose from falling too low. Hormones such as glucagon, adrenaline, and cortisol may become involved when a genuine or rapidly developing low occurs. However, it would be inaccurate to suggest that every rise in insulin automatically causes a surge in stress hormones.
The more useful message is:
Large portions of refined carbohydrates eaten alone may create greater metabolic fluctuations than a modest, balanced meal containing fibre, protein, and healthy fat.
The relationship between carbohydrates and sleep is complex. Carbohydrates are not universally sleep-disrupting; some studies have even found modest sleep benefits from particular carbohydrate-containing meals. The source, portion, timing, and individual glucose response all matter. [Research review]
Gentler evening carbohydrate choices
Instead of a large bowl of sweetened cereal or several slices of white toast, consider slower-digesting, fibre-rich foods such as:
lentils, chickpeas, or beans;
a small portion of brown rice or quinoa;
cooked or fresh vegetables;
a small sweet potato;
a fibre-rich homemade lentil bun;
whole fruit rather than fruit juice.
These foods are not sleeping tablets, but they are generally more satisfying and tend to produce a gentler metabolic response than highly processed sweets.

Dark chocolate and hidden evening stimulants
Dark chocolate contains valuable plant compounds, but it may not be the ideal late-night treat for everyone.
Chocolate can contain both caffeine and theobromine, natural stimulants that may increase alertness, slightly raise heart rate, or cause restlessness in sensitive people. The darker the chocolate, the more cocoa it usually contains—and potentially the more stimulating compounds it provides.
A small piece in the afternoon may feel perfectly comfortable. A large portion shortly before bed may be a different story.
Other sources of late-day caffeine may include:
black and green tea;
energy drinks and cola;
pre-workout drinks;
coffee-flavoured desserts;
dark chocolate;
some headache and cold medicines.
Caffeine can remain active for many hours, and people metabolise it at very different rates. You may be able to fall asleep after coffee yet still experience lighter or more fragmented sleep.
Heavy meals can keep digestion busy
Rich meals containing large amounts of fried food, fatty meat, creamy sauces, or several courses can delay stomach emptying and increase feelings of heaviness.
You may have heard that red meat takes seven or eight hours to digest, while chicken takes five or six. In reality, digestion does not follow one exact timetable. It depends on the portion, fat content, cooking method, accompanying foods, and the individual’s digestive health.
Food also does not normally sit in a healthy stomach and “ferment” all night. Stomach acid and digestive movement continue to work. Fermentation occurs mainly when undigested carbohydrates reach bacteria in the large intestine, where they may produce gas.
The practical conclusion, however, remains useful: a large steak, fried chicken dinner, or heavy mixed meal shortly before bed may leave some people feeling hot, overly full, reflux-prone, or restless.
Meat does not need to be avoided in the evening. A smaller portion, earlier timing, and lighter preparation may simply be easier on your sleep. Try pairing a modest serving of chicken, fish, eggs, tofu, or another protein with plenty of vegetables rather than making a large, fatty protein portion the centre of a late meal.
Is dairy inflammatory?
Dairy is sometimes described as automatically inflammatory, but that claim is too broad. For most people who tolerate it, dairy is not inherently an inflammation-producing food.
Some individuals may nevertheless react to lactose, milk proteins, high-fat dairy products, or particular fermented foods. Late-night dairy may be uncomfortable for someone who experiences:
lactose intolerance;
milk-protein allergy;
reflux;
bloating after rich cheese or cream;
individual sensitivity to aged or fermented cheese.
A milk allergy is different from lactose intolerance and can be serious. Anyone with a suspected allergy should seek medical assessment rather than experimenting at home.
For people who tolerate dairy, a small portion of unsweetened yoghurt or kefir may be perfectly suitable. What matters is your body’s response, not a universal claim that dairy is either wonderful or harmful for everyone.

Foods that may support a calmer evening
No single food can cure insomnia. However, certain foods may fit particularly well into a soothing, balanced evening routine.
Montmorency tart cherries
Montmorency cherries are a variety of sour or tart cherry, rather than the usual sweet dark cherry.
Tart cherries contain small amounts of naturally occurring melatonin and plant compounds that may influence sleep-related pathways. Several small studies have reported improvements in certain sleep measures after consuming tart cherry juice, although results have not been consistent across all populations and products. [Study]
Because juice can contain a concentrated amount of natural sugar, choose an unsweetened product, keep the serving modest, and consider diluting it with water.
Kiwifruit
Small studies suggest that eating kiwifruit in the evening may improve sleep onset, duration, or efficiency in some people with sleep difficulties. Kiwi also provides fibre, vitamin C, and beneficial plant compounds. Larger studies are still needed, but it may be a gentle option to explore. [Study]
One kiwi may be enough for a light evening snack. Anyone with a kiwi allergy or oral itching should avoid it.
Legumes
Lentils, beans, chickpeas, and peas provide fibre, complex carbohydrates, protein, and minerals, including magnesium. They may create steadier fullness than sugary snacks.
A very large bowl immediately before bed, however, may cause gas—especially if you are not accustomed to eating legumes. Enjoy them as part of an earlier dinner, perhaps in a velvety soup, a gently spiced stew, or a soft homemade lentil bake.
Magnesium-rich foods
Pumpkin seeds, almonds, cashews, leafy greens, beans, and whole grains naturally provide magnesium, a mineral involved in normal nerve and muscle function.
Food is an excellent starting point because it provides magnesium alongside fibre and other valuable nutrients.
Banana
Bananas contain fibre, potassium, vitamin B6, and some magnesium. They can raise blood glucose—the effect depends on ripeness, portion size, and individual metabolism—but half a small banana may make a convenient light snack.
For greater staying power, pair it with a spoonful of unsweetened nut or seed butter, provided there are no allergies.
Eggs
A boiled egg provides protein without a large amount of sugar. It may suit someone who is genuinely hungry but does not want a sweet snack. Keep the portion modest, particularly if eggs tend to cause fullness or reflux.
Oats and whole grains
A small bowl of unsweetened oats may suit people who tolerate grains well. Add cinnamon, seeds, or a few berries rather than generous amounts of honey or sugar.
Herbal tea
A warm, caffeine-free tea can become part of a calming ritual. Lemon balm, holy basil, chamomile, and passionflower are traditional choices, although evidence for treating clinical insomnia remains limited.
The ritual itself—the warmth, slower pace, and regularity—may be as meaningful as the herb.
Keep the cup modest. A very large drink immediately before bed may lead to disruptive nighttime bathroom visits.

What should you eat if you feel hungry in bed?
Before returning to the kitchen, pause and ask yourself:
Am I physically hungry, thirsty, anxious, overstimulated, or simply accustomed to eating at this time?
Physical hunger usually builds gradually and can be satisfied by ordinary food. Emotional or habit-driven hunger may appear suddenly and demand something specific—often sweet, salty, or crunchy.
If you genuinely need food, choose a small, simple snack rather than a second dinner. Suitable possibilities include:
half a banana with a little nut or seed butter;
one boiled egg;
a small piece of a lentil bun;
a few spoonfuls of unsweetened yoghurt, if tolerated;
one kiwi;
a small handful of pumpkin seeds;
a few spoonfuls of hummus with cucumber;
a small serving of plain oats.
The aim is to quiet hunger without creating uncomfortable fullness. No food is guaranteed to leave blood glucose unchanged. The goal is simply a modest, balanced choice that is less likely to produce a sharp rise than sweets, juice, or refined cereal.
Frequent or intense nighttime hunger deserves attention. It may indicate that dinner is too small, daytime food intake is inadequate, meals lack protein or fibre, blood glucose control needs assessment, or a medicine or health condition is affecting appetite.
A simple sleep-friendly dinner formula
A calm evening meal should be satisfying without feeling heavy. Use this flexible formula:
Part of the meal | What to include |
|---|---|
Half the plate | Cooked or fresh vegetables |
One quarter | A moderate portion of protein |
One quarter | A fibre-rich carbohydrate |
Finishing touch | A modest amount of healthy fat |
For a nourishing dinner that feels comforting rather than clinical, try:
velvety lentil and vegetable soup with a small homemade bun;
baked fish with tender courgettes and a little brown rice;
a gently spiced chickpea and vegetable stew;
a spinach omelette with a small roasted sweet potato;
herb-roasted chicken with colourful vegetables and quinoa.
The best dinner is not necessarily the smallest possible dinner. Going to bed ravenously hungry can also disturb sleep. Aim to feel comfortably nourished—not stuffed and not deprived.
Supplements and herbs: useful, but not risk-free
Supplements may be helpful in selected situations, but they should not be treated like harmless sweets. They can cause side effects, affect medical conditions, and interact with medicines.
Professional guidance is especially important for children and teenagers; pregnant or breastfeeding women; people with liver, kidney, thyroid, or autoimmune conditions; and anyone taking prescription medication.
Magnesium
Magnesium supports normal nerve and muscle function, as well as blood glucose regulation. Some studies suggest that supplementation may modestly support sleep or anxiety, particularly in people with low magnesium status, but it is not a reliable cure for insomnia. [Office of Dietary Supplements]
Form | Practical considerations |
|---|---|
Magnesium glycinate | Often marketed for relaxation and generally considered gentle on digestion, although evidence that it is uniquely superior for sleep remains limited. |
Magnesium citrate | Generally well absorbed but may loosen stools or cause cramping. It may suit someone who also experiences constipation. |
Magnesium malate | Often promoted for daytime use or muscle discomfort. There is no strong evidence that it is stimulating, but some people prefer taking it earlier. |
Magnesium oxide | Contains a high proportion of elemental magnesium but is less completely absorbed than several other forms and is more likely to have a laxative effect. |
When comparing products, check the amount of elemental magnesium, not only the total compound weight. People with impaired kidney function should not take magnesium supplements without medical guidance.
Myo-inositol and D-chiro-inositol
Inositol is a vitamin-like compound involved in cell signalling and insulin pathways.
Myo-inositol is the most abundant form in the human body and has been studied primarily in relation to insulin sensitivity, polycystic ovary syndrome, reproductive health, and some anxiety-related conditions. One clinical study involving pregnant women reported improvements in certain self-reported sleep measures, but this is not enough to establish it as a general sleep treatment. [Study]
D-chiro-inositol also participates in insulin signalling and is mainly used in metabolic and PCOS formulations. It is not simply a stronger version of myo-inositol, and there is much less direct evidence for its use in sleep.
Anyone considering inositol for PCOS, fertility, pregnancy, diabetes, or alongside glucose-lowering medication should consult a qualified clinician.
Ashwagandha
Ashwagandha may modestly support sleep or stress in some people, although the evidence is still developing. It can cause drowsiness or digestive symptoms, may interact with medicines, and has been associated with rare cases of liver injury.
It is generally not recommended during pregnancy or breastfeeding and may be unsuitable for people with thyroid or autoimmune conditions. [NCCIH guidance]
“Natural” does not mean risk-free. Ashwagandha deserves more care than its relaxed wellness image may suggest.
Valerian, holy basil, lemon balm, and passionflower
Valerian has traditionally been used for sleep, but clinical results are inconsistent and its effectiveness for chronic insomnia has not been clearly established. Possible adverse effects include headache, stomach upset, daytime dullness, excitability, and vivid dreams. It should not be casually combined with alcohol, sedatives, or other sleep-inducing products. [NCCIH guidance]
Holy basil, also known as tulsi, has a long traditional history as a calming herb. Some people enjoy it as an evening tea, but good-quality evidence for insomnia is limited. Concentrated extracts require greater caution because they may affect blood glucose or interact with medicines.
Lemon balm is traditionally used for calmness and digestive comfort. Early research is interesting, but it is not a proven insomnia treatment. As a caffeine-free tea, it may still be a pleasant part of a relaxing routine.
Passionflower is also traditionally associated with calmness, but human research remains limited. It may cause drowsiness, dizziness, or confusion, particularly when combined with other sedating products. [NCCIH guidance]
Melatonin is a hormone, not just another vitamin
Melatonin is a hormone naturally produced by the body in response to darkness. It helps signal that biological night has arrived.
Supplemental melatonin may be useful for certain circadian problems, including jet lag, delayed sleep-wake phase disorder, or some shift-work-related sleep difficulties. It is not necessarily the best answer for every person with insomnia.
Possible side effects include:
daytime sleepiness;
headache;
dizziness;
nausea;
vivid dreams or nightmares.
The long-term safety of routine use has not been fully established, and supplement quality and labelled dosage can vary. Current evidence does not show that ordinary use permanently “destroys” the body’s hormones, but melatonin should still be used thoughtfully because it is biologically active. [NCCIH guidance]
More is not necessarily better. A larger dose may increase next-day grogginess or vivid dreaming without improving sleep. Children and teenagers should use melatonin only under professional guidance.
The Diet Confetti evening reset
Better sleep is rarely created by one miracle ingredient. It usually develops from several gentle, consistent signals working together.
Finish your main dinner approximately three hours before bed.
Keep the meal satisfying, but not oversized.
Choose fibre-rich carbohydrates more often than refined sweets.
Avoid caffeine and late-night dark chocolate if you are sensitive.
Dim the lights after dinner.
Drink only a modest amount close to bedtime.
Have a light snack only when genuine hunger is present.
Keep mealtimes and bedtime reasonably consistent.
Introduce only one new supplement at a time.
Look for patterns rather than judging one imperfect night.
A food and sleep diary can be surprisingly revealing. Record your dinner time, main foods, caffeine intake, bedtime, nighttime waking, and how you feel the following morning. After a couple of weeks, useful patterns may begin to emerge.
A comforting collection is coming
We are preparing a special collection of Diet Confetti evening recipes inspired by the qualities we value before sleep:
easy digestion;
gentle, steady nourishment;
fibre-rich whole foods;
moderate portions;
comforting flavours;
balanced meal composition;
simple preparation;
a calm and cosy evening feeling.
Expect warming ideas made with lentils, colourful vegetables, eggs, soft bakes, soothing soups, tart cherries, kiwi, seeds, and other naturally nourishing ingredients.
Because a sleep-friendly meal should never feel clinical or boring. It should feel as though the day is slowly closing around you: a warm bowl, a quiet kitchen, and a gentle message to the body.
You have been nourished. The work is finished. Now you may rest.
An important final note
Persistent insomnia is not always a food problem. Regular snoring, gasping, breathing pauses, severe reflux, restless legs, intense nighttime hunger, frequent urination, unexplained pain, anxiety, depression, or extreme daytime sleepiness should be discussed with a healthcare professional.
Food can support sleep beautifully, but it should not delay assessment for sleep apnoea, hormonal conditions, blood glucose disorders, iron deficiency, medication effects, or other medical causes. Persistent insomnia may also benefit from evidence-based treatment such as cognitive behavioural therapy for insomnia.
This article provides general educational information and is not a substitute for personalised medical advice, diagnosis, or treatment.
Frequently Asked Questions
Quick answers to the most common queries about this article