Skip to content

Which nuts are best at night? Your guide to a restful sleep

4 min read

According to a 2025 study in the journal Food & Function, consuming walnuts daily can significantly improve sleep quality. But beyond walnuts, several other varieties can help your slumber. So, which nuts are best at night and why are they so beneficial for achieving a restful sleep?

Quick Summary

A small, unsalted portion of certain nuts can aid sleep by providing melatonin, magnesium, and tryptophan. Walnuts, pistachios, and almonds are particularly effective at helping to regulate the sleep-wake cycle and promoting relaxation for a better night's rest.

Key Points

  • Pistachios are high in melatonin: This natural hormone helps regulate your sleep-wake cycle, making pistachios a top choice for a restful night.

  • Walnuts improve sleep efficiency: Rich in melatonin and omega-3 fatty acids, studies show that a handful of walnuts can help you fall asleep faster and stay asleep longer.

  • Almonds are packed with magnesium: Almonds' high magnesium content helps relax muscles and calm the nervous system, which is crucial for promoting sleep.

  • Cashews provide tryptophan: This amino acid is a building block for sleep-inducing hormones like serotonin and melatonin, which cashews supply generously.

  • Practice portion control: Because nuts are calorie-dense, stick to a small handful (about one ounce) of unsalted nuts to avoid digestive issues and excess calories before bed.

  • Timing is important: Eat your nuts one to two hours before bedtime to allow for proper digestion and absorption of their sleep-promoting nutrients.

  • Choose unsalted options: Avoid salted nuts, as high sodium intake is linked to poorer sleep quality and can disrupt your rest.

In This Article

The Science of Sleep and Nuts

For a truly restorative night's rest, your body relies on a delicate balance of hormones and neurotransmitters. Nuts are rich in several key compounds that can help facilitate this process naturally, making them an ideal bedtime snack.

Key Sleep-Promoting Nutrients in Nuts

  • Melatonin: Often called the "sleep hormone," melatonin signals to your body that it's time to sleep and helps regulate your circadian rhythm. Some nuts, particularly pistachios and walnuts, are natural sources of this hormone.
  • Magnesium: This mineral is a natural muscle relaxant that helps calm the nervous system. Many individuals don't get enough magnesium, and deficiencies have been linked to insomnia. Almonds are an excellent source of this calming nutrient.
  • Tryptophan: An essential amino acid, tryptophan is a precursor to serotonin and melatonin. Consuming foods rich in tryptophan can help boost the body's natural production of these sleep-regulating hormones. Cashews are notably high in this amino acid.
  • Omega-3 Fatty Acids: Found in walnuts, omega-3s are linked to heart health and have been shown to support better sleep quality.
  • Zinc: This mineral works with magnesium to help support melatonin production and balance brain chemicals, promoting deeper sleep.

Top Contenders: Which Nuts Shine at Night?

Pistachios: The Melatonin Powerhouse

Among all nuts, pistachios contain some of the highest amounts of natural melatonin, with American-grown varieties boasting a high concentration. A small handful of these green kernels can provide a gentle nudge towards sleep. Pistachios also offer protein and fiber, which help you feel full longer and prevent midnight hunger pangs that might disrupt your sleep. For an added calming effect, they also contain magnesium and vitamin B6.

Walnuts: The Well-Rounded Winner

Walnuts are another excellent choice for a nighttime snack. A recent study confirmed that eating about 40 grams (a large handful) of walnuts daily significantly improved sleep efficiency and reduced the time it took to fall asleep in young adults. This is thanks to their natural melatonin content and healthy omega-3 fatty acids, which aid in serotonin production and reduce inflammation.

Almonds: The Calming Champion

Known for being a fantastic source of magnesium, almonds help activate the parasympathetic nervous system, putting your body in a "rest and digest" state. A 1-ounce serving delivers a healthy dose of this relaxing mineral, along with melatonin and calcium. Calcium helps the brain use tryptophan to produce melatonin, creating a synergistic effect that promotes better sleep.

Cashews and Brazil Nuts: The Supporting Cast

Cashews are rich in tryptophan, providing the building blocks for serotonin and melatonin. They also contain magnesium and potassium, which help to relax muscles. Brazil nuts are another great option, packed with selenium. Studies have shown a link between lower selenium intake and shorter sleep duration, suggesting these nuts can help regulate sleep patterns.

Comparison Table: Nighttime Nut Benefits

Nut Key Sleep-Promoting Nutrients Best For... Portion Size Notes
Pistachios Melatonin, Magnesium, Vitamin B6 Boosting melatonin levels naturally. ~49 shelled nuts Rich in natural sleep hormone.
Walnuts Melatonin, Omega-3s, Tryptophan Improving sleep efficiency and duration. ~14 halves Supports a healthy sleep-wake cycle.
Almonds Magnesium, Melatonin, Calcium Muscle relaxation and calming the nerves. ~24 whole nuts Aids in the production of melatonin.
Cashews Tryptophan, Magnesium, Potassium Promoting serotonin and melatonin synthesis. ~18 whole nuts Contributes to neurotransmitter function.
Brazil Nuts Selenium, Magnesium Balanced intake of sleep-related minerals. 2-3 nuts Supports natural sleep-wake regulation.

Optimizing Your Nighttime Snack

To get the most out of your pre-sleep snack, a few simple rules apply:

Portion Control Is Key

Because nuts are calorie-dense, a small handful is all you need. A one-ounce serving (approximately 28 grams) is the recommended portion for most nuts and provides the nutritional benefits without being too heavy or hard to digest.

Timing Is Everything

It's best to eat your nutty snack one to two hours before going to bed. This gives your digestive system enough time to process the food without causing discomfort that could keep you awake.

Go Plain and Unsalted

Excessive sodium can be disruptive to sleep and has been linked to poorer sleep quality. Choose unsalted, unroasted, or dry-roasted nuts to avoid unnecessary additives. A high-sugar or highly processed snack is counterproductive to sleep goals.

Pair with Other Sleep-Friendly Foods

Combine your nuts with other foods that enhance sleep, such as a small amount of Greek yogurt (high in protein and tryptophan), or a banana (rich in magnesium and potassium).

A Note on Potential Downsides

While generally beneficial, there are a few considerations. For those with sensitive digestion, consuming nuts too close to bedtime might cause discomfort. Additionally, some people might experience heartburn or acid reflux after eating fatty foods late at night. If you notice any issues, simply adjust the timing of your snack or choose a smaller portion.

Conclusion

Incorporating a small, sensible portion of nuts into your evening routine can be an effective and delicious strategy for improving sleep quality. Pistachios, walnuts, and almonds stand out for their high concentration of natural melatonin, magnesium, and other sleep-promoting nutrients that work synergistically to help you fall asleep faster and stay asleep longer. By choosing the right nuts, controlling your portion size, and paying attention to timing, you can create a powerful, natural sleep aid right in your own kitchen. For further information on foods that promote better sleep, consider reviewing research from authoritative sources like Healthline's take on foods for sleep.

Frequently Asked Questions

Certain nuts are good for sleep because they contain naturally occurring compounds that aid in the body's sleep processes. These include melatonin, magnesium, tryptophan, and zinc, all of which help to regulate sleep cycles and promote relaxation.

Pistachios are notable for containing the highest amount of natural melatonin among nuts. This makes them a particularly effective choice for helping to regulate your circadian rhythm and promoting sleepiness.

No, it is not bad to eat a small, unsalted portion of nuts before bed. In fact, it can be beneficial. However, eating large amounts of nuts, which are calorie-dense, can be hard to digest and potentially disruptive to sleep.

While nuts can provide beneficial nutrients that support sleep, they are not a cure for insomnia. Nuts can aid in promoting relaxation and regulating sleep cycles, but if you have persistent insomnia, it is best to consult a healthcare professional.

For most nuts, a standard portion is about one ounce, or a small handful. This provides the nutritional benefits without being too heavy. For pistachios, this is roughly 49 nuts; for almonds, around 24.

You should opt for unsalted or plain nuts. High sodium intake from salted nuts can lead to poorer sleep quality and may cause you to wake up during the night to use the restroom or because you are thirsty.

Nut butter can also be a great option for a bedtime snack, especially if you find whole nuts difficult to chew. Pairing a tablespoon of nut butter with a small slice of banana or whole-grain toast provides healthy fats, protein, and sleep-supporting nutrients.

References

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Medical Disclaimer

This content is for informational purposes only and should not replace professional medical advice.