Skip to main content

Pistachios, mushrooms, eggs, and more: These foods high in melatonin may help you sleep better

Get a better sleep naturally with melatonin foods

Man sleeping on soft white pillow
Timur Weber / Pexels

Getting a quality night’s sleep becomes more and more of a challenge as we age. Some of us have tried blackout curtains, sleep masks, weighted blankets, or any number of supplements promising better rest. If you’re looking for an all-natural solution, though, melatonin is the way to go. Melatonin is a hormone produced naturally in the pineal gland in the brain. Among several functions, melatonin plays a key role in regulating the body’s circadian rhythms, or sleep-wake cycles. Accordingly, the pineal gland produces more melatonin when the sun goes down, and levels dip at daybreak. Foods that are high in melatonin or even melatonin supplements are a popular way to increase the concentration of melatonin and possibly improve the quality and quantity of sleep.

Melatonin supplements are typically non-habit forming and safe for adults and children in doses of around 0.5 to 5 milligrams. However, melatonin supplements may cause drowsiness, nausea, and dizziness, and they can interfere with certain medications.

Basket of brown free-range eggs
Julian Schwarzenbach / Pexels

Foods for your grocery list to help with sleep

Fortunately, if you’re looking to support your body’s own natural melatonin levels but don’t want to rely on supplements, there are several sleep-aid foods that contain melatonin. Adding any of these foods high in melatonin to your dinner plate or bedtime snack routine may help regulate your sleep patterns over time and help you get more restful sleep. Though little nutritional data exists about the specific concentration of melatonin in different foods, the following foods are known to be particularly high in melatonin. Add these foods with melatonin to support your sleep schedule.

A portion of Milk on a dark wooden background.
HandmadePictures / Shutterstock


Warm milk has long been used as a relaxing bedtime beverage, as many people find it acts as a mild sedative and promotes restorative sleep. This effect is likely due to the fact that milk contains the power duo of sleep-supportive compounds melatonin and tryptophan. The essential amino acid well-known to be present in turkey, tryptophan increases serotonin and melatonin concentrations, which make it effective for improving the sleep cycle. Each 8-ounce glass of milk provides 106 mg of tryptophan (38% RDI) and is also one of the best dietary sources of melatonin.

Bowl of cherries

Tart cherries

Tart cherries are a unique variety of cherries, which are far sourer than standard sweet cherries you might buy in the grocery store. Tart cherries are high in anti-inflammatory compounds, as well as melatonin, and have made their way into the health food and natural supplement market for their ability to alleviate arthritis pain, improve heart health, and aid sleep. Typically sold as tart cherry juice or concentrate, try swirling a little into yogurt or cottage cheese.

Raw pistachios in shells
Alexas_Fotas / Pixabay


Several varieties of nuts contain melatonin, such as almonds and cashews, but pistachios are particularly high in melatonin. Like other nuts, pistachios also contain fiber, omega-3 fatty acids, vitamin E, and antioxidants, so they make for a filling, nutritious snack.

koshu wine grapes vineyard japan
Geobacillus / Getty Images


Grapes and goji berries are both high in melatonin. The concentration of melatonin does vary based on the variety of grapes, the growing conditions, and the climate, but red grapes tend to be the best source. Goji berries are a superfood native to China touted for anti-aging properties and rich antioxidant content. They are typically sold as dry goji berries and can be added to muffins, cereal, trail mix, and yogurt, or eaten as is.

Brown button mushrooms
Waldemar Brandt / Unsplash


Mushrooms contain both tryptophan and melatonin, making them a great dinner food to promote sleep. With the wide variety of mushroom types, you can vary the preparation method and type almost endlessly.

Fresh cobs of corn
Yulia Naumenko / Getty Images


Corn is rather ubiquitous in the American diet in one form or another. This beloved staple is also high in melatonin, so it may help regulate your sleep cycle.

Oats in porridge with fruit
Getty Images


Whole grains are demonized by some popular diets, but they can offer many health benefits and contain fiber, B vitamins, and several important minerals. They may also aid sleep. Whole oats are rich in melatonin; plus, each cup of oatmeal contains an impressive 94 mg of tryptophan, which is equal to 33% of the RDI for a 154-pound person, making for a potent one-two punch for optimal sleep. Try oatmeal, granola, oat porridge, or homemade protein bars with rolled oats.

Raw and cooked egg
Alexas_Fotos / Pixabay


Eggs are sometimes called nature’s perfect food. They are a complete source of protein, which means they contain all the essential amino acids, as well as plenty of other vital nutrients such as vitamin D, folate, selenium, and riboflavin. Eggs may also support sleep, as they are a food rich in melatonin and tryptophan.

Steamed white rice
Alexander Ortega / Shutterstock


Rice not only contains melatonin and tryptophan but also the carbohydrate content has been found to improve sleep. One study found that after implementing a rice-based diet, subjects experienced a significant improvement in sleep quality and reduced oxidative stress.

Man sleeping in a T-shirt
Africa Studio / Shutterstock

Why do you need melatonin?

As the focus is on sleep, here are some sleep-related issues that could create the need for melatonin foods in a diet.

Regulating sleep-wake cycle

  • Insomnia: Melatonin is mainly used to help people fall asleep faster and improve sleep quality, especially for those with insomnia. Its role in regulating the body’s circadian rhythm, known as the sleep-wake cycle, makes it effective in this regard.
  • Jet lag: Disruptions in the circadian rhythm due to traveling across time zones can be eased by melatonin supplementation. It can help adjust the body’s internal clock to the new time zone, promoting faster sleep at the desired time.
  • Shift work: Individuals working unusual hours may benefit from melatonin to adjust their sleep schedule and cope with circadian rhythm disturbances.

It’s important to know that melatonin isn’t a cure-all and has its limitations as far as helping with sleep, and its effectiveness can vary from person to person.

Editors' Recommendations

Amber Sayer
Former Digital Trends Contributor
Amber Sayer is a fitness, nutrition, and wellness writer and editor, and was previously a Fitness Editor at Byrdie. She…
High protein diets: Everything you need to know
Thinking about a new diet? Here's what a high protein approach looks like
Healthy foods

Fitness goals usually fall under one of two categories: working out more and eating better. This can involve following a high protein diet, adding more veggies to dinners, and getting into a running routine. However, there is no need to wait for January, because you can make positive changes at any time of the year!

Now, there are so many routes one can go when considering a diet. Fortunately, a high-protein approach is one of the easiest to pull off. Moreover, it's a diet that will likely involve some changes to what you eat, but not so dramatically that you'll give up on it after a few weeks.

Read more
How to lose weight: Eat these foods that help you feel fuller longer
Add these foods to your meal plan
spinach and avocado on toast

Fad diets were once all the rage. Want to know how to lose weight? Standard advice centered around creating a massive calorie deficit by not eating (or barely eating). Thankfully, those days are behind us. Weight loss isn't about not eating anything at all. Generally, no foods are off the menu — unless you're allergic or they cause issues like severe GI discomfort (or you simply no longer wish to eat them).

Instead, losing weight is about consuming foods that keep you satisfied and energized for longer, so you're not tempted to consume too many calories later. Dropping pounds can be a delicious endeavor if you know what to add to your grocery list (and, later, plate). Let's indulge in the best foods for weight loss.

Read more
11 foods high in gluten to avoid on a gluten-free diet
Learn what has gluten and possible alternatives
Foods high In gluten

The increase in people being diagnosed with celiac disease has shed light on the potential inflammatory and gut-disruptive effects of gluten foods on some. Celiac disease is an autoimmune condition that involves a gluten allergy; you may also experience non-celiac gluten sensitivity (NCGS). Luckily, the market is now abundant with gluten-free options for those who need them.
Gluten is a protein found in certain grains. While it is perfectly healthy for plenty of people, those with celiac disease or NCGS may experience bloating, abdominal discomfort, inflammation, diarrhea, and in the case of celiac, structured damage to the absorptive villi structures in the gut. If you’re finding yourself reacting to foods high in gluten, you should consider cutting out gluten for a period of time to see if your symptoms go away. Not sure what the culprits are? Below, we share a list of 11 foods high in gluten.

Gluten is a protein found in grains such as wheat, rye, barley, and triticale, which is a hybrid of wheat and rye. As such, most conventional flours are high in gluten. Any white or wheat flour that includes wheat will be high in gluten. There are, however, alternative gluten-free flours for baking and cooking for those with gluten sensitivities. Examples of gluten-free flour include rice flour, tapioca flour, and chickpea flour. Chickpea flour, which is made from garbanzo beans, has the advantage of providing some fiber and protein.

Read more