Night and Rest
Sleep problems

Walnuts at dinner may improve sleep quality in young adults

An 18-week trial found that eating 40 grams of walnuts with dinner increased melatonin production and improved sleep onset and quality in healthy young adults.

An 18-week trial found that eating 40 grams of walnuts with dinner increased melatonin production and improved sleep...

A recent trial shows that eating walnuts with dinner may improve sleep quality without medication. In an 18-week study, 76 healthy adults aged 20-35 who consumed 40 grams of walnuts nightly saw increased melatonin production and fell asleep faster.

Participants followed a Mediterranean-style diet throughout the randomized trial. They wore wrist trackers for seven consecutive days to monitor sleep patterns. The recommended serving size was 30 to 40 grams, or a small handful. Researchers noted that participants were aware of their walnut consumption, which could have affected their expectations.

Intervention and timeline

The study was conducted in 2025. It involved two eight-week phases separated by a two-week washout period where participants ate no walnuts.

For the first eight-week phase, one group ate 40 grams of walnuts with dinner each day. After the two-week washout, the groups switched for the second eight-week phase. The study received funding from the California Walnut Commission. The authors stated the funder did not influence the study's design or data interpretation.

Sleep outcomes

Sleep quality was measured using a global score assessing sleep latency, efficiency, number of awakenings, and time awake after falling asleep. During the walnut-eating phase, participants took less time to fall asleep. They also scored higher on the global sleep quality measure.

Evening melatonin production increased significantly. Participants also reported less daytime sleepiness. Overall sleep quality scores improved while daytime sleepiness decreased.

Mechanistic insights

The sleep benefits align with measurable biological changes from walnut consumption. Researchers linked the improvements to the nuts' natural content of sleep-supporting compounds.

CompoundAmount per serving
Tryptophan84.6 milligrams
Melatonin118 nanograms

The tryptophan-to-competing amino acid (CAA) ratio was 0.058. The study measured melatonin production via urine samples and tracked sleep patterns using wrist devices.

Limitations and cautions

The sample size was modest and limited to young adults, so findings may not apply to older or clinical populations. The Mediterranean-style diet followed by all participants may have independently contributed to sleep changes.

Walnuts are not a substitute for medical treatment for insomnia or other sleep disorders. Adding a small handful of walnuts to a dinner meal may be a simple, natural way to support better sleep.

Related coverage

More from Sleep problems