Foods That May Help You Sleep Better

August 3, 2026

As we age, sleep can become lighter and more easily interrupted. According to the National Sleep Foundation’s 2025 Sleep in America Poll, restful sleep remains elusive: almost half have trouble staying asleep at least three nights a week, while about four in 10 face similar challenges falling asleep.

For some people, diet can be the key to getting a good night’s sleep. While what we eat will not resolve every sleep issue, it is one factor within our control. By making thoughtful choices about what is on your plate, you can give your body what it needs for deeper, more restorative rest.

The Sleep-Nutrition Connection

Before diving into specific foods, it helps to understand why diet influences sleep in the first place. The connection starts with a biological pathway: the amino acid tryptophan is converted into serotonin, which the body then converts into melatonin, the hormone that helps regulate the sleep-wake cycle. Foods containing tryptophan give the body the raw material it needs to produce more melatonin as evening approaches.

Minerals play a supporting role as well. Magnesium and potassium help relax muscles and calm the nervous system, both of which support the transition into sleep. Stable blood sugar levels matter too. A sharp rise or drop in blood sugar overnight can trigger the release of stress hormones, which may wake the body prematurely.

While none of these mechanisms guarantee better sleep on their own, together they explain why a handful of specific foods keep showing up in sleep-related research.

Foods that may Support Better Sleep

The foods below contain nutrients that have been linked to improved sleep in scientific research and may be a helpful addition to an evening routine.

Tryptophan-Rich Foods

Poultry, eggs, dairy, fatty fish, soybeans, and pumpkin seeds are all high in tryptophan, the amino acid that starts the pathway toward melatonin production. Fatty fish carries an added benefit: it is also a good source of omega-3 fatty acids, which observational research has associated with earlier sleep onset, longer sleep duration, and improved sleep quality.

When choosing these foods, avoid versions high in saturated fat, such as high-fat cheeses, chicken wings, or deep-fried fish. These take longer to digest and may cause discomfort when eaten near bedtime.

Magnesium-Rich Foods

Low magnesium levels have been linked to insomnia and reduced sleep quality, a connection that matters particularly for older adults, since magnesium absorption declines with age. Nuts, seeds, avocados, black beans, leafy greens, and bananas are all good sources.

Many of these foods are also good sources of calcium, fiber, and potassium – all of which may assist with improved sleep. Calcium helps the brain convert tryptophan into melatonin and plays a role in regulating slow-wave sleep. Higher fiber intake has been associated with more time spent in deep, restorative sleep. Lower potassium levels have been linked to worsened sleep quality.

Melatonin-Containing Foods

Some foods can supply the body with melatonin directly. Tart cherries are among the most studied examples. While people do not always notice a difference subjectively, objective sleep measurements in research reviews have found increases in total sleep time and sleep efficiency among tart cherry consumers.

Kiwis may be the most complete package of all. In addition to melatonin, they contain the amino acids serotonin and tryptophan, along with a digestive enzyme called actinidain that helps the body absorb those amino acids more efficiently. Kiwis are also rich in folate, and folate deficiency has been linked to insomnia. In controlled research, eating two kiwis about one hour before bed helped participants fall asleep faster, sleep longer, and experience improved overall sleep quality.

Foods that Can Interfere with Sleep

Just as some foods support sleep, others can increase alertness, disrupt sleep later in the night, or cause discomfort that makes it harder to get uninterrupted rest.

  • Caffeine: Caffeinated coffee and tea, soda, energy drinks, and even chocolate all contain caffeine and depending on your metabolism, can stay in your system for up to 10 hours. People who are sensitive to caffeine may need to stop consuming it by early afternoon, not just avoid it at bedtime.
  • Alcohol: While a “nightcap” might make you feel drowsy initially, alcohol disrupts the sleep cycle later in the night, leading to more frequent waking and less REM sleep.
  • Large or rich meals close to bedtime: Heavy, high-fat, or spicy meals eaten too close to bedtime can contribute to indigestion, reflux, or discomfort that interferes with falling and staying asleep. Additionally, timing your meals may do more than help improve sleep quality. A pilot study presented by researchers at Rutgers University found that older women who stopped eating four hours before bed and limited their daily eating window to eight or nine hours showed modest cognitive benefits.
  • Sugary desserts: Sweet desserts cause a spike in blood sugar, followed by a release of insulin that can sometimes push blood sugar too low. When this happens, the body may release cortisol and adrenaline to bring levels back up, and these fluctuations can disturb sleep. Choosing low-glycemic foods, such as fruits, vegetables, whole grains, nuts, and lean meats, helps the body maintain more stable blood sugar overnight and may support better sleep quality.

Food Is Only One Part of Healthy Sleep

No single food acts like a sleeping pill. The goal is to follow a balanced eating pattern that supplies helpful nutrients paired with other sleep-supportive habits: keeping a consistent bedtime and wake time, getting daylight exposure and physical activity during the day, limiting late-afternoon naps, and reducing screen exposure in the hour before bed.

If sleep difficulties continue despite changes to your diet and bedtime routine, it is worth discussing the issue with a physician rather than assuming that dietary adjustments alone will resolve it. Persistent sleep problems can sometimes signal an underlying condition that deserves its own attention, and a healthcare professional can help identify the right next step.

 

Live Life Better

Contact Us Today
Skip to content