Gifts for $25 or Less Spotify Wrapped Neuralink Brain Chip Black Hole Burps Light of 1,000 Trillion Suns Stamp Price Increase Streaming Services to Cancel Melatonin Rival Monkeypox Renamed
Want CNET to notify you of price drops and the latest stories?
No, thank you
Accept
Why You Can Trust CNET
Our advice is expert-vetted and based on independent research, analysis and hands-on testing from our team of Certified Sleep Coaches. If you buy through our links, we may get a commission. Reviews ethics statement

Can't Sleep? You're Eating the Wrong Foods

A nutritionist says these foods are best for promoting better sleep.

avocado salmon and nuts
FCA Foto Digital/E+/Getty Images

We all know that fatty, unhealthy foods can put a damper on your bathroom trips. But according to nutrition experts, what you eat can also have a negative impact on your sleep. In fact, sleep and nutrition seem to go hand in hand. Food gives us the nutrients we need to maintain mental and physical health, and it influences the way our bodies function.  

Sleep also plays an instrumental role in maintaining our mind and body functions. Proper rest helps us build a stronger immune system, improves mental and physical health and keeps us more productive. If you're not getting the recommended 7-8 hours a night of quality rest, you risk high blood pressure, a weakened immune system, depression and other serious conditions like diabetes, heart failure or a stroke. 

From taking sleep supplements like melatonin to changing bedtime routines, most (exhausted) people will try any number of tricks to sleep better. While there are a ton of factors that affect how well you sleep at night, it's worth taking a look at what you're eating each day to see if it's priming you for optimal rest later. 

Here are the best seven foods you can work into your diet to help promote better sleep.

For more ways to improve rest, check out our wellness editors' favorite sleep hacks or see how sleeping with socks on can help. 

How nutrient-rich foods help you sleep 

CNET Sleep Tips logo

The foods below help you sleep better because they all contain nutrients that can promote better health in general, and in turn better  sleep. "Eat a variety of unprocessed, whole foods that are high in antioxidants and fiber. Try to combine foods that provide different macronutrients (carbs, fats and protein), which ensures you're meeting your nutrient needs," says Axe. 

He also adds that it's a good idea to stop eating two to three hours before bed so you have time to digest your food before going to sleep and don't run into issues with acid reflux.

Outside of the macronutrients, Axe says some micronutrients can affect sleep as well. So if you suspect you're deficient in something, you should ask your doctor to run labs to know more. "It's possible that a vitamin D or magnesium deficiency can interrupt sleep. Some evidence also shows that people low in vitamins E and C, and B12 and B6 might also suffer from more sleep problems," says Axe. "Each of these nutrients affects sleep cycles in a different way, such as by playing a role in your circadian rhythm and body's ability to produce melatonin and other calming chemicals."

yogurt with nuts and fruit

Yogurt, nuts and fruit are examples of foods that can help you sleep better.

Cavan Images/Getty Images

Eat these 7 foods for better sleep

"Sleep-promoting foods include those that contain tryptophan (an amino acid that helps with the release of serotonin), magnesium, vitamin D and complex carbs," says Axe. "Foods high in vitamin C and B vitamins can also be helpful." 

These are Axe's top picks for sleep-promoting foods:

1. Whole grains like oats or quinoa

2. Proteins like poultry and fish

3. Leafy greens and cruciferous veggies

4. Free-range eggs

5. Bananas, kiwis, oranges, berries and other fruits

6. Milk and yogurt

7. Nuts, like almonds and cashews

The importance of a balanced meal

"A balanced diet can help manage blood sugar levels and reduce inflammation, which is important for preventing pain and getting sound sleep," says Josh Axe, a clinical nutritionist and co-founder of Ancient Nutrition. "Getting enough macronutrients (carbs, fats and protein) also assists your body in creating calming chemicals like serotonin and melatonin, which help you feel relaxed and sleepy."

Certain foods can help you sleep better if you eat them before bed or when you wake up in the middle of the night -- but the seven foods below can improve rest no matter what time you eat them. Again, the key to eating well for sleep is to eat a mindful, balanced diet overall -- no one food is a magic bullet, but these can help you get some much-needed rest.

Your diet may not be the only thing affecting sleep. Learn how you can fall asleep faster by easing anxiety and how to sleep better as sleeping patterns change with age

The information contained in this article is for educational and informational purposes only and is not intended as health or medical advice. Always consult a physician or other qualified health provider regarding any questions you may have about a medical condition or health objectives.