woman lying on bed, leftover food on plate
1 / 11

What You Eat Affects How You Sleep

If you could pick foods that may help you get the best sleep possible, would you? And if you knew which foods may hinder your restful slumber, would you avoid them? Now's your chance to learn just that for a good night's sleep. Though the science is not solid, being mindful of what you eat and drink before bed may help.

Swipe to advance
Woman drinking milk, close-up
2 / 11

Reach for Tryptophan-Rich Foods

We've all heard of warm milk's ability to send us off to dreamland. Do you know why it's true? Dairy foods contain tryptophan, which is a sleep-promoting substance. Other good sources include nuts and seeds, bananas, honey, and eggs.

Swipe to advance
Cheese and crackers
3 / 11

Indulge Your Carb Craving (a Little Bit)

Carbohydrate-rich foods may help. So a few good late-night snacks might include a bowl of cereal and milk, nuts and crackers, or bread and cheese.

Swipe to advance
Man looking in refrigerator at night
4 / 11

Have a Snack Before Bedtime

If you have insomnia, a little food in your stomach may help you sleep. Drinking some milk may help, too. But keep the snack small. A heavy meal will tax your digestive system, making you uncomfortable and unable to get your ZZZs.

Swipe to advance
Cheeseburger and French fries, close-up
5 / 11

Limit High-Fat Foods

Research shows that people who often eat these foods gain weight and their sleep cycles tend to get disrupted. Why? A heavy meal activates digestion, which can lead to nighttime trips to the bathroom.

Swipe to advance
Hot chocolate with marshmallows
6 / 11

Beware of Hidden Caffeine

It's no surprise that an evening cup of coffee might disrupt your sleep. But don't forget about less obvious caffeine sources, like chocolate, cola, and tea. Even decaf coffee has a trace of it -- but not enough to be a problem. For better sleep, cut all caffeine from your diet 4 to 6 hours before bedtime.

Swipe to advance
Two Aspirin Pills in Hand
7 / 11

Medications May Contain Caffeine

Over-the-counter and prescription drugs that may have caffeine in them include pain relievers, weight loss pills, diuretics, and cold medicines. These and other medications may have as much or even more caffeine than a cup of coffee. Check the label of nonprescription drugs or the prescription drug information sheet to see if your medicine interferes with sleep or can cause insomnia.

Swipe to advance
Couple watching television and drinking red wine
8 / 11

Skip the Nightcap

Alcohol may help you fall asleep faster, but you might not sleep well, waking up often, tossing and turning, and even having headaches, night sweats and nightmares. It can help to down a glass of water for each alcoholic drink, to dilute the alcohol's effects. But for a good night's sleep, it's better to avoid alcohol 4 to 6 hours before bedtime.

Swipe to advance
Man eating chinese food at computer
9 / 11

Beware of Heavy, Spicy Foods

Lying down with a full belly can make you uncomfortable, since the digestive system slows down when you sleep. It can also lead to heartburn, as can spicy cuisine. If you indulge in a heavy meal, finish it at least 4 hours before bedtime.

Swipe to advance
Person reaching round door to touch light switch
10 / 11

Cut the Fluids by 8 P.M.

Staying hydrated throughout the day is great for your body, but cut it off before bed. You don't want to have to keep getting up to go to the bathroom after you turn in.

Swipe to advance
Man smoking by electric lamp, silhouette
11 / 11

Don't Smoke to Relax

Even if it's one of your favorite ways to unwind, smoking isn't a good idea -- night or day. Nicotine is a stimulant, with effects similar to caffeine. Avoid smoking before bedtime or if you wake up in the middle of the night. Keep trying to quit -- it's hard, but it's worth it.

Swipe to advance

Up Next

Next Slideshow Title

Sources | Medically Reviewed on 09/11/2019 Reviewed by Neha Pathak, MD on September 11, 2019

(1) Siri Stafford / Stone / Getty Images
(2) Medioimages / Photodisc  / Getty Images
(3) Lynda Schemansky / age fotostock / Photolibrary
(4) Bryce Lankard / Stone / Getty Images
(5) Thomas Northcut / Photodisc  / Getty Images
(6) Bryce Lankard /Stone / Getty Images
(7) Blue Line Pictures /Iconica / Getty Images
(8) Siri Stafford / Digital Vision / Getty Images
(9) PM Images / Taxi / Getty Images
(10) Laurence Dutton / Photographer's Choice / Getty Images
(11) David De Lossy / Photodisc / Getty Images



Mayo Clinic: "Caffeine content for coffee, tea, soda and more."

National Sleep Foundation: "Food and Sleep."

Sleep.com: "Eating Before Bed – The Good and the Bad."

HowStuffWorks.com: "How Caffeine Works."

Nemours. KidsHealth.org: "What Is Caffeine."

University of Wisconsin-Stevens Point web site: "Caffeine Containing Products."

University of Wisconsin-Stevens Point web site: "Caffeine Containing Products."

University of Maryland Medical Center, Sleep Disorders Center: "Sleep Hygiene: Helpful Hints to Help You Sleep."

HelpGuide.org: "How to Sleep Better."

Reviewed by Neha Pathak, MD on September 11, 2019

This tool does not provide medical advice. See additional information.

THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for general informational purposes only and does not address individual circumstances. It is not a substitute for professional medical advice, diagnosis or treatment and should not be relied on to make decisions about your health. Never ignore professional medical advice in seeking treatment because of something you have read on the WebMD Site. If you think you may have a medical emergency, immediately call your doctor or dial 911.