Key takeaways:
What you eat and drink — as well as when and how much — may help or hurt your ability to get a good night’s sleep.
Some foods naturally contain hormones that help with the sleep-wake cycle, or nutrients that help release these hormones. Examples include turkey, soybeans, and kiwifruit.
Other foods and drinks may worsen sleep if you consume them before bed. Common offenders are alcohol, caffeine, and spicy foods.
A good night’s rest is one of the most important things you can do for your health. But many people don’t get enough quality sleep every night.
When you don’t sleep well, you’ll likely feel the impact the next day. But there are also long-term effects from a lack of sleep, which have been associated with many health problems, including heart disease, diabetes, and dementia.
You’re probably familiar with some ways to get better sleep — like keeping your room dark and cool, avoiding screens before bedtime, and trying strategies to help lower stress. But did you know that what you eat and drink before bed can also make a difference in sleep quality? If you’re feeling hungry around bedtime, read on to see some suggestions for healthy nighttime snacks.
Search and compare options
Is it bad to eat before bed?
For many people, eating right before bed can interfere with quality sleep. This is especially true if it’s a big meal.
Eating a light meal 2 to 3 hours before bedtime gives your body enough time to digest and get ready for sleep, according to the National Sleep Foundation. But a heavy meal or high-calorie snack at night might confuse your system and throw off your sleep.
Other potential effects of eating rught before bed include:
Stomach discomfort
Elevated cholesterol and blood sugar levels
A small study of healthy adults suggests that eating closer to bedtime is linked to poorer sleep quality in both men and women.
Are there advantages to eating before bed?
Some research suggests that a low-calorie, nutrient-dense snack before bed may help you:
Fall asleep faster and stay asleep longer
Stabilize your blood sugar
Build muscle
That said, it’s not necessary to eat or drink anything for a good night’s sleep. But if you feel hungry at night, being strategic with your food and drink choices can help promote better sleep and overall health.
How long before bed should you stop eating?
There’s no hard rule about when to stop eating before bed. But, in general, most experts recommend avoiding large, heavy meals a few hours before lying down. This is especially true for people with a history of indigestion or GERD (gastroesophageal reflux disease), since lying down soon after eating makes it easier for stomach acid to flow backward into your esophagus.
Personal preference, work schedules, life commitments, activity levels, and health needs all influence when and how often you eat. The best advice is to listen to your body to determine what works best for you. That said, let’s review which nighttime foods may put you in a position to get a good night’s sleep.
Read more like this
Explore these related articles, suggested for readers like you.
What should you eat before bed?
The best food and drink choices are those that naturally contain hormones and chemicals involved in the body's sleep-wake cycle, or circadian rhythm. These include foods rich in:
Melatonin, a hormone that helps regulates our sleep-wake patterns
Serotonin, a brain chemical with many roles, including improving mood and sleep
Tryptophan, an essential amino acid that helps make serotonin and melatonin
Below is a list of eight food and drink options you can try.
1. Turkey and chicken
You might have heard of (or even experienced) a “turkey coma” after indulging in a big holiday dinner. While there are other reasons such dinners contribute to post-meal fatigue — think foods high in carbs and fat — turkey also happens to be a good source of tryptophan.
While turkey is one of the most well-known sources of tryptophan, chicken actually contains a bit more. A 3 oz chicken breast has about 310 mg of tryptophan compared to 244 mg in a 3 oz portion of turkey breast.
2. Whole grains
Many whole grains are good sources of tryptophan. Some examples include:
Oatmeal: One cup of oatmeal contains 147 mg of tryptophan.
Certain whole-grain cereals: Whole-grain cereals, including bran and wheat-based cereals, contain between 25 mg and 113 mg of tryptophan.
Ancient grains: Bulgur, quinoa, and teff are some of many ancient grains that are also rich sources of tryptophan.
3. Cherries (or cherry juice)
Cherries and cherry juice contain melatonin, serotonin, and a number of phytochemicals (plant compounds) that help lower inflammation.
In one small trial of 20 participants, half drank a glass of concentrated Montgomery cherry juice twice a day, while the other half had a different fruit-flavored drink. After 1 week, the group that drank cherry juice had higher levels of melatonin-based compounds than those who didn’t. People in this group also reported sleeping better and longer than those who drank regular fruit juice.
But keep in mind: Even unsweetened varieties (100% tart cherry juice) still contain nearly 25 g of natural sugar. So if you’re trying to limit your sugar intake, this option may not be best for you.
4. Kiwifruit
Kiwifruit contains serotonin and tryptophan. In one small study, eating two kiwis shortly before bedtime increased serotonin levels, while also improving sleep quality and total sleep time. Kiwi is also a high-fiber fruit, which can help keep your blood sugar from rising too high.
5. Seafood
Fatty fish — such as tuna, salmon, and cod — provides the omega-3 fatty acids DHA and EPA, which are known to:
Lower inflammation
Improve brain function
Benefit heart health
Research suggests that a higher intake of fish is linked to better sleep quality. Seafood is also an excellent source of selenium, an antioxidant associated with lower inflammation. A large population-based study found that those with a lower selenium intake had shorter sleep cycles compared to those who consumed more of the nutrient.
6. Dairy products
You’ve probably heard that a warm glass of milk before bed may help you get a good night’s rest. This may hold true for many people because milk and other dairy products are good sources of tryptophan and other nutrients that help make serotonin and melatonin. These nutrients include:
Magnesium
Zinc
Vitamin B6
Some research has also linked probiotic yogurt and fermented dairy, like kefir, to improved sleep.
7. Nuts and seeds
Certain tree nuts — like pistachios and walnuts — may be helpful for improving sleep because of their melatonin content. Similarly, pumpkin seeds, sesame seeds, and sunflower seeds are thought to promote better sleep because of their tryptophan content.
Try adding a ¼ cup of nuts or seeds to a cup of yogurt before bedtime.
8. Eggs
Eggs are a natural source of melatonin. Egg whites are also rich in tryptophan. In one study of older adults in China, participants who ate eggs every day reported better sleep.
Eggs are also one of the richest sources of choline — a nutrient that helps the brain regulate mood, memory, and muscle control. And this might help symptoms of sleep apnea.
Foods and drinks that are bad for sleep
Just as certain foods can help ease your body into a calm, relaxed state, others may interfere with sleep. Here are some of the most common foods and drinks that may keep you from getting a good night’s rest.
1. Alcohol
Many people think of alcohol as a sedative that can help you sleep. But in reality, the effect is the opposite. This is especially true when it comes to heavy drinking. Alcohol can help you fall asleep faster, but it negatively impacts sleep quality.
Alcohol consumption — even in small to moderate amounts — is associated with:
Low REM sleep
Increased time spent awake
Difficulty staying asleep throughout the night
2. Caffeine
Coffee and caffeine have many health benefits, including improving alertness. But feeling alert is not a great quality when you’re trying to prepare to sleep.
Caffeine stimulates the central nervous system, which increases brain activity. This can help with cognition and energy levels. But high levels have been associated with poor sleep quality as well as inadequate sleep time.
Caffeine affects everyone differently. The best guidance is to enjoy caffeine at least 6 hours before bedtime to minimize sleep disruptions. Keep in mind that caffeine is in many products, including coffee, tea, cocoa, and a variety of energy drinks and bars.
3. Sugar-sweetened beverages
A recent review of studies found that children and adults who drank more sugar-sweetened beverages tended to sleep for fewer hours. This doesn't prove that sugary drinks cause shorter sleep, but the researchers said the link was strong enough to warrant further study.
Cutting back on sugar in general is good for your overall health.
4. Spicy foods
Spicy foods can cause heartburn and acid reflux, which can be aggravated by lying down. Stomach acid can work its way back up, causing pain and discomfort in your esophagus.
According to two recent studies, people with GERD often experienced poor sleep quality, shorter sleep duration, and issues with anxiety and depression. So adding spicy food or other foods that aggravate the condition is probably not a good idea.
Frequently asked questions
Foods that contain melatonin, serotonin, or tryptophan may help with insomnia. (See our list above.) But diet is only one factor that can affect insomnia. If you regularly have trouble falling or staying asleep, talk with a healthcare professional. They can work with you to find the best treatment for you, which may include cognitive behavioral therapy, lifestyle adjustments, or medication.
You may have heard that eating before bed can cause nightmares or disrupt your sleep. But there isn’t high-quality evidence to support this. You may simply be more likely to remember your dreams — including nightmares — if you wake up throughout the night. Alcohol and caffeine can make these wakings more likely.
Eating late at night may cause weight gain in some people. Research suggests that late eating can affect hunger hormones and increase appetite, which may lead to eating more overall.
You have lots of options when it comes to melatonin-rich foods. Options include pistachios, almonds, tart cherries, mushrooms, and eggs.
Foods that contain melatonin, serotonin, or tryptophan may help with insomnia. (See our list above.) But diet is only one factor that can affect insomnia. If you regularly have trouble falling or staying asleep, talk with a healthcare professional. They can work with you to find the best treatment for you, which may include cognitive behavioral therapy, lifestyle adjustments, or medication.
You may have heard that eating before bed can cause nightmares or disrupt your sleep. But there isn’t high-quality evidence to support this. You may simply be more likely to remember your dreams — including nightmares — if you wake up throughout the night. Alcohol and caffeine can make these wakings more likely.
Eating late at night may cause weight gain in some people. Research suggests that late eating can affect hunger hormones and increase appetite, which may lead to eating more overall.
You have lots of options when it comes to melatonin-rich foods. Options include pistachios, almonds, tart cherries, mushrooms, and eggs.
The bottom line
What you eat and drink can affect how well you sleep. If you're hungry before bed, a small snack with sleep-supporting nutrients — such as yogurt, nuts, whole grains, or kiwi — may be a good choice. It can also help to avoid large meals and limit alcohol, caffeine, and spicy foods close to bedtime. But food is only one piece of the puzzle. If you regularly have trouble sleeping, talk with a healthcare professional about what else might be getting in the way.
Why trust our experts?



References
Colrain, I. M., et al. (2018). Alcohol and the sleeping brain. Handbook of Clinical Neurology.
Crispim, C. A., et al. (2011). Relationship between food intake and sleep pattern in healthy individuals. Journal of Clinical Sleep Medicine.
Del Brutto, O. H., et al. (2015). Dietary fish intake and sleep quality: A population-based study. Sleep Medicine.
Fan, H., et al. (2021). Associations of dietary habits and sleep in older adults: A 9-year follow-up cohort study. European Geriatric Medicine.
FoodData Central. (2019). Cereals, Cream of Wheat, regular, 10 minute cooking, dry. U.S. Department of Agriculture.
FoodData Central. (2019). Cereals ready-to-eat, Post Raisin Bran cereal. U.S. Department of Agriculture.
FoodData Central. (2019). Chicken, broilers or fryers, breast, meat only, cooked, roasted. U.S. Department of Agriculture.
FoodData Central. (2019). Turkey, whole, breast, meat only, cooked, roasted. U.S. Department of Agriculture.
González-Gómez, D., et al. (2009). Detection and quantification of melatonin and serotonin in eight sweet cherry cultivars (Prunus avium L.). European Food Research and Technology.
Grandner, M. A., et al. (2013). Dietary nutrients associated with short and long sleep duration. Data from a nationally representative sample. Appetite.
Howatson, G., et al. (2011). Effect of tart cherry juice (Prunus cerasus) on melatonin levels and enhanced sleep quality. European Journal of Nutrition.
Kim, Y., et al. (2021). Bioactivities of phenolic compounds from kiwifruit and persimmon. Molecules.
Kinoshita, T., et al. (2021). Consumption of OLL1073R-1 yogurt improves psychological quality of life in women healthcare workers: Secondary analysis of a randomized controlled trial. BioMed Central Gastroenterology.
Kinsey, A. W., et al. (2015). The health impact of nighttime eating: Old and new perspectives. Nutrients.
Knapp, S., et al. (1975). Calcium activation of brain tryptophan hydroxylase. Life Sciences.
Lin, H., et al. (2011). Effect of kiwifruit consumption on sleep quality in adults with sleep problems. Asia Pacific Journal of Clinical Nutrition.
MedlinePlus. (2024). Tryptophan.
Meng, X., et al. (2017). Dietary sources and bioactivities of melatonin. Nutrients.
National Sleep Foundation. (2025). Get healthy sleep by eating right on schedule
Okuyama, M., et al. (2017). Associations among gastroesophageal reflux disease, psychological stress, and sleep disturbances in Japanese adults. Scandinavian Journal of Gastroenterology.
On, Z. X., et al. (2017). The association between gastroesophageal reflux disease with sleep quality, depression, and anxiety in a cohort study of Australian men. Journal of Gastroenterology and Hepatology.
Özcan, H., et al. (2019). Effects of kefir on quality of life and sleep disturbances in postmenopausal women. Holistic Nursing Practice.
Paroni, R., et al. (2019). Bioactive phytochemicals of tree nuts. Determination of the melatonin and sphingolipid content in almonds and pistachios. Journal of Food Composition and Analysis.
Richard, D. M., et al. (2009). L-tryptophan: Basic metabolic functions, behavioral research and therapeutic indications. International Journal of Tryptophan Research.
Rodak, K., et al. (2021). Caffeine as a factor influencing the functioning of the human body—friend or foe? Nutrients.
Shahdadian, S., et al. (2023). Association between short sleep duration and intake of sugar and sugar-sweetened beverages: A systematic review and meta-analysis of observational studies. Sleep Health.
St-Onge, M., et al. (2023). Exploring the role of dairy products in sleep quality: From population studies to mechanistic evaluations. Advances in Nutrition.
Verde, A., et al. (2022). Melatonin content in walnuts and other commercial nuts. Influence of cultivar, ripening and processing (roasting). Journal of Food Composition and Analysis.
Vujović, N., et al. (2022). Late isocaloric eating increases hunger, decreases energy expenditure, and modifies metabolic pathways in adults with overweight and obesity. Cell Metabolism.
Watson, E. J., et al. (2016). Caffeine consumption and sleep quality in Australian adults. Nutrients.
















