Pistachios can support sleep as part of an overall pattern, but no study has shown that eating them improves sleep. One ounce provides 71 mg of tryptophan and somewhere between 0.074 and 18.7 micrograms of plant melatonin, amounts far below the doses used in supplement trials. Eat them because they are a good snack, not as a sleep treatment.
That is the honest version. The louder version moving through social feeds says pistachios are a natural melatonin source that belongs on the nightstand. There is a real paper behind the claim, and it deserves a fair reading. It also deserves a calculator. This article does both: what the review found, what is inside an ounce of pistachios, and how far that ounce sits from the doses that produced results in research.

What did the new pistachio and sleep review actually find?
The attention traces back to a narrative review published in Nutrition Research Reviews and covered in October 2026 by Healthline, Medical News Today, and mindbodygreen. The senior author is Marie-Pierre St-Onge of Columbia University, who directs the Center of Excellence for Sleep and Circadian Research there. Her team mapped the nutrients and plant compounds in pistachios against known sleep biology and asked whether the whole food, not any single nutrient, could plausibly support sleep.
Their conclusion was narrow. Pistachios bring together several compounds tied to sleep physiology in one food, which makes them a reasonable candidate for proper trials. The review did not test pistachios on anyone. It ran no feeding study, measured no one’s sleep, and set no dose. As Healthline reported, the authors themselves called for randomized controlled trials to find out whether eating pistachios changes sleep quality, duration, or melatonin levels at all.
Two context points matter. First, much of the supporting evidence comes from studies of isolated nutrients, other foods, lab work, or mechanisms, not from people eating pistachios. Second, the review received support from American Pistachio Growers, and St-Onge serves on that group’s advisory board, a conflict Healthline disclosed. Industry funding does not make the nutrient data wrong. It does mean the framing deserves scrutiny, and it is one more reason to wait for the human trials now being funded before treating this as settled.
Which nutrients in pistachios are linked to sleep?
The case for pistachios rests on a stack of modest amounts, not one standout compound. Here is the stack, with the per ounce figures the review and USDA based sources agree on.
How much tryptophan is in pistachios?
A 1 ounce serving, about 28 grams or roughly 49 nuts in the shell, contains about 71 mg of tryptophan, according to the review figures reported by Healthline and Medical News Today. Tryptophan is an essential amino acid, meaning your body cannot make it, and it is the raw material for serotonin, which the body then converts into melatonin. Pistachios also supply the supporting cast for that conversion: about 0.5 mg of vitamin B6 per ounce and about 31 mg of magnesium per ounce, both cited in the review coverage. B6 helps run the conversion steps. Magnesium supports nervous system regulation more broadly.
The review calls pistachios a good to excellent source of tryptophan for their weight. Fair. But as genetic engineer Sebnem Unluisler told Medical News Today, pistachios are not an exceptionally concentrated source compared with turkey, eggs, or pumpkin seeds, and eating tryptophan does not translate directly into making more melatonin. Absorption, metabolism, and transport across the blood brain barrier all sit in between.
Do pistachios contain melatonin?
Yes, in the plant form called phytomelatonin. This number drives the headlines, and it is the least stable number in the story. According to Medical News Today’s summary of the review, a serving can contain anywhere from 0.074 micrograms to 18.7 micrograms of phytomelatonin, a range of more than 250 to 1 between low and high estimates. mindbodygreen noted that the 18.7 microgram figure comes from one analysis of American pistachios, while other sources report far lower levels. Variety, growing conditions, storage, and measurement method all move the result, a variation the review authors flagged themselves. Nobody can tell you how much melatonin is in the bag on your counter.
What about fiber, polyphenols, and the gut?
A serving provides about 3 grams of fiber, per USDA FoodData Central figures, plus polyphenols and carotenoids. The review’s interest here runs through the gut-brain axis: gut microbes ferment fiber into short chain fatty acids, and those compounds may influence sleep regulation. This is the most speculative layer of the case. The supporting work is largely lab and simulated digestion research, and it does not establish that a bedtime handful changes anyone’s night.

The dose problem: what the math actually looks like
This is the section most coverage skips. Put the review’s own numbers next to the doses used in the studies behind the claims, and the gap is the story.
How many pistachios would match a melatonin supplement?
Work with the high estimate first, the friendliest case. At 18.7 micrograms per ounce, reaching a low supplement dose of 0.5 mg, which is 500 micrograms, takes about 27 ounces of pistachios. That is roughly 1,300 nuts in the shell and, at 159 calories per ounce from USDA FoodData Central, around 4,300 calories. A 1 mg dose, still low for store shelves, takes about 54 ounces, close to 3.4 pounds and roughly 8,600 calories.
Now the low estimate. At 0.074 micrograms per ounce, the same 0.5 mg would require more than 6,700 ounces, over 400 pounds of nuts. Nobody is eating that, which is the point: depending on which measurement you trust, a serving delivers somewhere between a rounding error and about 4 percent of a small supplement dose. For reference, Drugs.com and the Sleep Foundation describe typical adult melatonin dosing as starting at 0.5 to 1 mg, with most people using 1 to 3 mg. One ounce of pistachios at the highest published estimate covers less than 4 percent of the lowest starting dose.
How many pistachios would match the tryptophan study doses?
Healthline cited a 2021 systematic review and meta analysis of tryptophan supplementation that found reduced wakefulness after sleep onset, particularly at doses of at least 1 gram per day. One ounce of pistachios provides 71 mg. Reaching 1 gram from pistachios alone takes about 14 ounces, roughly 690 nuts and about 2,230 calories, every day. Even that comparison is generous, because the trial doses were concentrated supplements, not amino acids arriving inside a fatty, fibrous food alongside competing amino acids.
How does the magnesium in pistachios compare?
An ounce provides about 31 mg of magnesium. In the 2012 Abbasi trial, the one our melatonin vs magnesium for sleep guide examines in full, older adults with insomnia took 500 mg a day. Matching that from pistachios takes about 16 ounces, near 2,540 calories of nuts daily. Pistachios contribute to a day’s magnesium total. They are not a delivery system for a clinical dose, and almonds provide more than twice the magnesium per ounce, a point mindbodygreen made in its coverage.
None of this proves pistachios do nothing. It proves the mechanism cannot be the dose. If a bedtime ounce helps someone sleep, the plausible explanations are boring: it replaced a worse snack, it prevented going to bed hungry, and the combined nudge of protein, fat, and fiber steadied the evening. Real benefits. Just not pharmacology.
If you eat pistachios before bed anyway, how should you do it?
Plenty of people snack at night, and pistachios are a strong choice for that slot. USDA figures put an ounce at 159 calories, about 6 grams of protein, 3 grams of fiber, and 13 grams of fat, mostly unsaturated. That profile fills the gap between dinner and sleep without the sugar spike of most evening snacks. Practical guidance:
- Portion: One ounce, about 49 nuts in the shell. Measure it once so your eye learns the amount, because nuts from a large bag drift upward fast. In shell nuts also slow the eating down and leave a visible pile of shells as a portion record.
- Timing: No evidence shows that timing pistachios like a melatonin tablet does anything. Medical News Today noted that people take melatonin supplements a few hours before bed, with no evidence eating pistachios on that schedule has the same effect. Treat them as a light snack one to two hours before bed, not a large meal at lights out.
- Salted vs unsalted: Choose unsalted or lightly salted at night. Heavy salt drives thirst, and thirst driven waking is a self inflicted sleep problem. The nutrition case was built on plain nuts, not salted, flavored versions.
- Allergy and reflux: Tree nut allergy rules them out entirely, and if reflux flares with fatty food late at night, a fatty snack near bed is the wrong experiment regardless of melatonin content.
How do pistachios compare with other bedtime snacks?
Other nuts sit in the same boat. As dietitian Michelle Routhenstein told Healthline, almonds and walnuts carry similar sleep relevant nutrients, and walnuts currently have the more direct research, including a randomized trial in which daily walnuts raised a urinary melatonin marker and improved sleep quality, as mindbodygreen summarized. Tart cherry products have their own melatonin literature. None of these foods has evidence strong enough to call it a treatment. The useful question is narrower: of the snacks you will actually eat at 9 p.m., which are nutritionally defensible and unlikely to wreck your night? Pistachios pass that test easily, alongside Greek yogurt or a handful of walnuts. Sorting out supplements that actually earn their place in a sleep routine is a separate decision, and the supplement evidence, modest as it is, is still stronger than the food evidence.

The bottom line on pistachios for sleep
The review behind the headlines is a rationale for research, not a result. It says the nutrient profile of pistachios is interesting enough to test properly, and the tests are coming. Until they report, the accurate claim is small: pistachios are a nutrient dense snack containing tryptophan, B6, magnesium, fiber, and a highly variable trace of plant melatonin, in amounts far below any dose shown to change sleep. Keep a bag in the kitchen if you like them. Keep them off the nightstand as medicine.
Frequently asked questions
Do pistachios help you sleep?
Not in any demonstrated way. No clinical trial has tested whether eating pistachios improves sleep quality or duration. The 2026 narrative review in Nutrition Research Reviews found their nutrient profile plausible for sleep support and called for trials. Plausible is where the evidence ends today.
How many pistachios should you eat before bed?
No tested bedtime dose exists. The research figures are based on a 1 ounce serving, about 49 nuts in the shell and 159 calories, a sensible snack portion. More than that buys calories, not more sleep effect.
Are pistachios a good source of melatonin?
They contain phytomelatonin, but the amount per serving ranges from 0.074 to 18.7 micrograms depending on the source, and even the top of that range is under 4 percent of a low 0.5 mg supplement dose. As a melatonin source specifically, they are unreliable and weak.
Is it better to take a melatonin supplement instead?
They solve different problems, and neither is a proven insomnia fix on its own. Supplements deliver a known dose, typically 0.5 to 3 mg, which pistachios cannot match at any sane portion. Persistent sleep trouble is a conversation for a clinician, not a snack aisle decision.
Salted or unsalted pistachios before bed?
Unsalted or lightly salted. The research case is built on the plain nut, and heavy salt before bed promotes thirst and nighttime waking, which works against the goal.