Closeup image of a woman eating and holding a bowl of fresh mixed vegetables salad by fork
Good sleep is essential for both physical and mental health. Many people know that eating heavy meals late at night can disturb sleep, but fewer realize that what you eat during the day plays a powerful role in how well you sleep at night.
Instead of relying on supplements or sleep aids, research shows that simple dietary changes can support better sleep naturally. Let’s explore how food choices, nutrients, and healthy daily eating habits can help you fall asleep faster and sleep more deeply.
Sleep and digestion are closely connected. When you eat a large or rich meal close to bedtime, your body stays busy digesting food instead of preparing for rest. This can lead to discomfort, restlessness, and frequent waking during the night.
But food can also work in your favor. Certain nutrients help the brain produce hormones that control sleep, such as melatonin and serotonin. When your diet lacks these nutrients, sleep quality often suffers.
Rather than focusing on a single “sleep food,” experts agree that overall eating patterns throughout the day matter much more than one snack before bedtime.
Melatonin is often called the sleep hormone. It controls your sleep–wake cycle and increases naturally when it gets dark. While your body produces melatonin on its own, some foods also contain it or help your body make more. One key nutrient is tryptophan, an essential amino acid. Tryptophan helps the body produce serotonin, which later turns into melatonin.
Foods rich in tryptophan include:
For tryptophan to work properly, it should be eaten with fibre-rich carbohydrates like oats, brown rice, lentils, or wholegrain bread. This helps it reach the brain more effectively.
Studies consistently show that people who eat more fruits and vegetables tend to sleep better. Increasing fruit and vegetable intake has been linked to:
Plant-based foods provide fibre, antioxidants, vitamins, and minerals that reduce inflammation in the body. Lower inflammation is strongly associated with better sleep quality.
Whole plant foods that support sleep include:
These foods also improve gut health, which is important because the gut and brain communicate through what is called the gut–brain axis. A healthy gut can send calming signals to the brain that support restful sleep.
Magnesium is another nutrient strongly linked to better sleep. It helps calm the nervous system by reducing levels of cortisol, the body’s main stress hormone.
Many adults do not get enough magnesium due to diets high in ultra-processed foods and low in whole plants.
Good natural sources of magnesium include:
Research suggests magnesium can improve deep sleep and REM sleep, especially in people who already struggle with poor sleep. While supplements may help some people, getting magnesium from food is usually the best first step.
It’s not only what you eat, but when you eat that affects sleep.
Helpful eating habits for better sleep:
Eating earlier helps your body clearly separate daytime activity from nighttime rest. This supports your internal body clock, also known as the circadian rhythm.
Some research also suggests that eating breakfast in bright daylight may support melatonin production later at night. Light exposure in the morning helps reset the body clock and improves sleep consistency.
While food plays a powerful role, sleep does not depend on diet alone. Other factors that affect sleep include:
Diet can greatly support sleep, but it cannot fully treat sleep disorders such as insomnia or sleep apnoea. If sleep problems are severe or long-lasting, professional medical advice is important.
That said, improving your diet is one of the safest and most effective ways to support better sleep naturally—and it benefits your overall health at the same time.
There is no single miracle food that guarantees perfect sleep, but a plant-rich, balanced diet eaten at consistent times can play a powerful role in improving sleep quality. Prioritizing daily fruits and vegetables, wholegrains and legumes, magnesium-rich foods, and sources of tryptophan paired with fibre helps support the body’s natural sleep–wake cycle. Choosing earlier, lighter dinners further reduces digestive strain and promotes restfulness at night. When these dietary habits are combined with regular movement, adequate sunlight exposure, and effective stress management, nutrition becomes a valuable tool for achieving deeper, more restorative sleep.
American drivers and businesses are facing higher energy expenses as the Trump administration attempts…
Growing frustration over household expenses and declining public services has fueled a wave of…
For parents of premature babies, the first opportunity to hold their newborn can be…
Repeated attacks on Saudi airports have raised fresh concerns about the widening regional conflict and…
Not every parent who postpones a child's vaccination opposes vaccines. Some want to discuss…
Tesla is bringing the idea of a flying car closer to reality, at least…