About Us

We're the creators of BetterSleep, a leading wellness app helping over 60 million people around the globe sleep better.

We’re on a mission to help people around the world live a happier, healthier life, through expert-led meditations, sleep stories, brainwaves and more.

Share article
Best Foods for Sleep: Fiber, Gut Health & the Mediterranean Diet - Evidence Synthesis
sleep

Best Foods for Sleep: Fiber, Gut Health & the Mediterranean Diet - Evidence Synthesis

by Ivan Nonveiller
7min
Share article

Looking for a natural way to improve your sleep? The answer may be simpler than you think, and you can start today with the food on your plate! And no, it’s not a “superfood hack” that you’ve seen on social media, it’s a science-backed approach to supporting sleep via gut health. The foods that reliably improve sleep do it by feeding your gut microbiome, which is responsible for regulating sleep. The major key to a healthy gut microbiome is fiber, but you won’t find that at the top of any superfood hype list. While foods like tart cherry and kiwi are excellent contributors to overall health, it’s the pattern of your diet that makes all the difference. A wide range of plants, fiber and fermented foods change the way your gut microbiome operates, which in turn helps regulate sleep.

Come along as we dive into an evidence-based exploration of what foods can actually make a difference on your sleep health in an achievable way, and which “superfoods” are mostly hype.

How Food Changes Your Sleep

The way we eat has more of an impact on our sleep than most people realize. The gut-brain axis is an often overlooked factor in sleep health, but in truth, gut health is foundational for getting good quality, restful sleep. But what is the gut-brain axis and why does it matter to our sleep?

The gut-brain axis

Our internal organs are in constant communication with each other to ensure the proper regulation of all of our bodily functions. The gut-brain axis is an intricate two-way communication pathway between the digestive tract and the brain. Using neural, hormonal, microbial and immune signals to transmit information along this axis, the network passes information back and forth, each constantly influencing the other, to manage digestion, mood, cognition and of course, sleep. Though many folks are vaguely aware that what you eat affects how you sleep, it’s rare to fully conceptualize the depth of dependence our sleep quality has on our gut health.

So how does it work? Think of your gut microbiome like a forest. A healthy forest has a variety of trees, plants, insects and animals, all of which have specific roles in keeping the forest stable and thriving. If there were only one species of tree in the forest, it would be susceptible to all sorts of diseases and infestations. The gut ecosystem is similar, in that it requires a wide range of microorganisms to remain balanced. The diversity of our microbiome supports the healthy functioning of our bodies.

The gut-brain axis functions best when it receives the right building blocks. Fiber is crucial, as it passes through the small intestine still mostly intact. In the colon, gut microbes ferment certain types of fiber, turning them into short-chain fatty acids. These molecules send messages throughout the body which in turn signal certain bodily actions, like feeling full, stabilizing blood sugar, or reducing inflammation. Since all of these actions are associated with better sleep, it makes a compelling case for a diet rich in fiber from a diverse range of whole food plants.

Without a diverse gut microbiome, sleep can become fragmented, inconsistent and generally disrupted. In fact, a systematic review of 36 scientific papers associating metabolic disorders with sleep disorders concludes that “dietary choices promote microbial composition and metabolites, causing both the amelioration and impairment of [metabolic syndrome] and sleep homeostasis.” The review found that the gut-brain axis has a direct influence on sleep health, and that dietary changes can help or hinder a person’s ability to get good-quality sleep.

Your gut bacteria help manufacture sleep-regulating signals that your body can’t make alone. Getting the building blocks of your diet right will do more to improve gut health, and therefore sleep health, than any single trending food. So what’s the best formula to get these foundations on track? Experts suggest eating a diverse range of fruits and vegetables on a daily basis. “These foods provide fiber, which we have shown is associated with deeper, less delicate sleep,” explains Marie-Pierre St-Onge, Ph.D., director of the Center of Excellence for Sleep Research and Circadian Rhythms at Columbia University Irving Medical Center. In addition to fiber, plants supply polyphenols and unsaturated fats, two more essential contributors to microbiome health.

The #1 Lever Almost No List Mentions: Fiber

You’ve probably heard doctors preaching about the benefits of fiber for years, but did you know that fiber is the main driver of gut health? Supporting the gut-brain axis is a long-term solution to getting deeper, more restful sleep, and fiber is essential for a robust microbiome. A 2016 crossover study concluded that diets higher in fiber correlated with more deep, slow-wave sleep. Conversely, those who consumed more saturated fats and sugar experienced more nighttime awakenings and reported overall worse sleep quality. The study also found that when participants ate a controlled, nutritionally balanced diet, they fell asleep within an average of 17 minutes per evening. After consuming a self-selected menu (which tended to be higher in saturated fat, sugar and carbohydrates, and lower in fiber), those same participants took an average of 29 minutes to fall asleep.

According to nutritionists, we should aim for around 30 grams of fiber per day. High fiber foods include fruits and vegetables, legumes, seeds, nuts and whole grains. Because certain fruits and veggies are higher in fiber than others, experts recommend eating a diverse range of plants each week. In fact, a large-scale study called The American Gut Project reported that “one of the most compelling findings was that people who consumed at least 30 different plant types per week had a significantly more diverse gut microbiome compared to those consuming fewer than 10 plant types per week.” Plants also provide polyphenols, healthy fats, pre- and probiotics, resistant starches, and much more, all of which help to build a thriving and resilient gut ecosystem. Healthy sleep is just the beginning; balancing the gut has also been associated with a lower risk of heart diseases, diabetes and certain types of cancer.

Fermented Foods & Your Microbiome

Fermented foods, (like yogurt, kimchi, kefir, sauerkraut and miso) provide live microbes that can help further strengthen the gut microbiome. Fermentation is a microbial transformation in which food is pre-processed, often becoming easier to digest, and providing certain beneficial elements for digestion.

In 2021, a randomized, controlled trial conducted through Stanford School of Medicine, concluded that a “high-fermented-food diet steadily increased microbiota diversity and decreased inflammatory markers.” While the trial had a relatively small sample size, it offers some promising evidence to suggest that fermented foods can be beneficial for gut health. Centuries of anecdotal evidence from ethnic groups who focus on fermented food-rich diets also confirm this finding. While evidence is still maturing in the scientific community, the low-risk nature of upping your consumption of fermented foods can promote healthier dietary patterns with very little downside.

The Pattern Beats the Food: Mediterranean-Style Eating

The bottom line is this: the pattern of your diet is more impactful than any buzzworthy “superfood” you may have heard about. The Mediterranean diet is a style of eating that follows traditional habits of those living on or near to the Mediterranean Sea. It has become well-known in the nutrition community as a well-balanced diet and focuses on consuming a plethora of fresh fruits and veggies, legumes, nuts, fresh fish and some lean meat. Olive oil is the main source of fat, often used in spreads and salad dressings, and processed foods are rarely consumed. The focus is not on restricting your diet or limiting yourself from eating any certain food, but to aim for whole, minimally processed foods and to include a vast variety in your culinary palette.

Since the Mediterranean diet is high in fiber and healthy fats and quite low in saturated fat and sugar, it’s considered to be one of the best interventions for improving gut health. The variety of plants consumed within the Mediterranean diets corresponds within the same advice as “30 plants per week” that many experts recommend. This diet has been studied in correlation with sleep for decades, and a 2024 meta-analysis concludes that “current evidence suggests a relationship between following the Mediterranean diet and overall sleep quality.” In a study of 1,596 older adults, those who most closely followed a Mediterranean diet had 56% lower odds of poor sleep quality than those with lower adherence. Due to the bi-directional relationship between gut health and sleep, this cannot necessarily be considered a causal relationship, though there is evidence to support the notion that those who consume a well-balanced, Mediterranean-style diet experience better quality sleep. It remains possible that people who stick to a healthy diet are also more likely to exercise and engage in overall healthier daily habits, but the evidence linking the diet to better sleep outcomes is compelling. Either way, diet is an important factor in overall longevity, as are exercise, stress management and social relationships. Improving one often inspires a person to examine other areas for growth.

So, should you completely overhaul your diet to improve sleep quality? The data suggests that it can work, but you don’t have to make a monumental change all at once. Our best advice? Start

with manageable adjustments that can compound over time. Read on to learn about the most important aspects of the Mediterranean diet, and how you can start eating your way toward high quality sleep.

Eat This, Skip That

As you now know, there’s no magic pill or “superfood” that will get you to sleep like a baby immediately. But your overall eating patterns, including the timing of your meals, can add up to make a significant impact on your sleep health.

Eat more high-fiber plants, legumes, whole grains, fermented foods, fish, nuts and seeds. These are considered nutritional powerhouses that, once digested, help support a diverse microbial ecosystem that the body relies on for mood, cognition, sleep, and more. When we get certain vitamins, minerals and amino acids from whole foods, our bodies run more efficiently and can better support systems like the gut-brain axis. The nutrients most consistently linked to relaxation and healthy sleep include magnesium, calcium, potassium, tryptophan, vitamin B6, folate, omega-3 fatty acids, and zinc, all of which play roles in neurotransmitter production, nervous system regulation, or melatonin synthesis. Varying the types of plants and proteins on your plate is a reliable way to keep your body systems running smoothly.

Cut back on saturated fat, which has been shown to fragment sleep. Sugary foods should be avoided whenever possible, and refined carbohydrates are another culprit for interrupted sleep patterns. Processed foods can also negatively impact sleep health, as they can cause gut disruption. Eating late meals is another major contributor to nighttime arousals, notes a 2025 review of 9 different studies on the timing of meals, known as chrononutrition. According to research, the heaviest meals of the day should be eaten in the morning or early afternoon to avoid overstimulating the digestive system before bed. Culturally, many of us may be accustomed to eating our largest meal for dinner, but experts agree that eating a heavy meal close to bedtime can significantly disrupt sleep. Instead, try front-loading your calories by eating larger meals earlier in the day and smaller, balanced meals later on. If you’re hungry before bed, a small low-glycemic combination of carbohydrate and protein is your best bet.

Finally, it’s important to note that certain triggers, like caffeine and alcohol can significantly impact gut health and sleep quality. Cutting back on these sleep disruptors throughout the day can reduce nighttime awakenings and help stabilize your sleep health. Keep your coffee-drinking habits to the morning or early afternoon, and if you choose to drink alcohol, make sure you’re offsetting the effects with plenty of water and nutrient dense foods.

What to Eat: A Realistic Sleep-friendly Day

Meal plans can be a helpful way to get started, or at least to conceptualize a healthier way to eat. Here are some research-backed suggestions for what to eat in a day to support your gut-brain axis, sleep hygiene and overall health.

What to Eat: A Realistic Sleep-friendly DayWhat to Eat: A Realistic Sleep-friendly Day

Do "Sleep Superfoods" Actually Work?

Here’s the thing: recent trends recommending tart cherry, kiwi, bananas, and other “sleep superfoods” aren’t totally off-base, but they’re missing some important information. There’s no one food that can change your sleep quality, especially in isolation. These foods are a great part of a balanced, healthy diet, but they won’t overhaul your sleep health if you’re not including other essential dietary patterns. Adding these foods won’t hurt, but expecting to eat a handful of pumpkin seeds and then get a better night of sleep is simply not realistic. Unfortunately, health influencers trying to sell you on “sleep superfoods” are just capitalizing on trends. Viral “sleep enhancing” foods barely move the needle in terms of improving sleep, while tried and true adjustments like adding fiber and supporting gut health are the real heroes. If you want to truly improve your sleep in a realistic and sustainable way, check your dietary patterns, not quick-fixes.

Conclusion

Sleep health is inextricably linked to gut health, and a diverse, plant-filled diet is the best way to support both. Fiber-rich foods are essential for a robust gut microbiome, which in turn helps regulate sleep quality (and vice versa). The Mediterranean diet is a research-backed option for gut health, as it focuses mostly on whole, minimally processed foods. Any diet centered on whole foods, plant fiber and lean protein is a safe bet for improving sleep health. Skip the late meals, saturated fats and sugar for a better chance at getting optimal rest. Relying on isolated superfoods for sleep health is also an impractical solution, as it neglects the importance of a consistent and balanced dietary pattern.

Once you begin your journey toward sleep-gut balance, you’ll notice just how much it contributes toward your overall health. Why not give it a try, and start eating your way toward better sleep today!

FAQ

Q1: What foods help you sleep the most?

A: It’s less about any single food, more about the pattern: high-fiber plants, whole grains, legumes, fermented foods, and a Mediterranean-style diet show the most consistent links to better sleep. In controlled research, higher fiber intake predicted deeper, more restorative slow-wave sleep. Think "fiber and whole plants daily," with foods like fatty fish, nuts, and seeds as helpful additions.

Q2: Does fiber really improve sleep?

A: The evidence is among the strongest in this area. In a controlled study, people who ate more fiber spent more time in deep, slow-wave sleep, while those eating more saturated fat and sugar had lighter, more fragmented sleep. Fiber feeds gut bacteria that produce sleep-regulating compounds. Rather than treating fiber as a “sleep enhancing food,” it should be a fundamental building block in your dietary pattern.

Q3: What foods should I avoid for better sleep?

A: Late, heavy meals high in saturated fat and sugar are the main culprits — they're linked to lighter sleep and more nighttime awakenings. Also limit caffeine after early afternoon and try not to consume alcohol too close to bedtime. You don't need to be perfect; cutting back on sugary, greasy late-night food is the highest-impact change.

Q4: Do fermented foods like yogurt and kimchi help you sleep?

A: Emerging research seems promising, and it’s a low-risk intervention for sleep improvement.

Fermented foods (yogurt, kefir, kimchi, sauerkraut, miso) help diversify the gut microbiome, which is linked to better sleep. The evidence is still maturing, so treat them as part of a gut-friendly pattern rather than a guaranteed sleep aid.

Q5: What's the best bedtime snack for sleep?

A: If you're hungry before bed, choose something light and balanced over sugary or greasy. Yogurt with berries, nuts, or a low-glycemic fruit with nut butter are all great options. The goal is to avoid both going to bed very hungry and eating a sugar-heavy snack that fragments sleep.

Q6: How long before I notice better sleep after changing my diet?

A: Some effects can show up quickly, but sustainable changes take time. Research found that even a single day of higher fiber and lower saturated fat changed sleep that night, but the bigger, lasting benefits come from a consistent pattern over weeks. Your gut microbiome adjusts over time, so aim for small, steady habits, not a one-night fix.

Share article

Related posts

Sleep Position Guide: How to Find Your Best Sleep Position (2026)
sleep

Sleep Position Guide: How to Find Your Best Sleep Position (2026)

by Chris Barry
6 min read
Dream Interpretation: The Complete Guide to Understanding Your Dreams
sleep

Dream Interpretation: The Complete Guide to Understanding Your Dreams

by Katie Boyle
6 min read
Sleep Hygiene: How to Optimize Sleep - Complete Guide
sleep

Sleep Hygiene: How to Optimize Sleep - Complete Guide

by Ivan Nonveiller
7min
How Alcohol Affects Sleep? Science-Backed Ways to Sleep Better
sleep

How Alcohol Affects Sleep? Science-Backed Ways to Sleep Better

by Chris Barry
5 min read
Stress Management for Sleep: A Scientist's Guide to Calming Your Mind
sleep / mental health

Stress Management for Sleep: A Scientist's Guide to Calming Your Mind

by Chris Barry
12min
Depression and Sleep: A Scientist's Guide to Breaking the Vicious Cycle
sleep

Depression and Sleep: A Scientist's Guide to Breaking the Vicious Cycle

by Ivan Nonveiller
12min
What is Sleep Paralysis? Science-Backed Guide to Causes & Solutions
sleep

What is Sleep Paralysis? Science-Backed Guide to Causes & Solutions

by Ivan Nonveiller
12min
How to Use ASMR for Sleep? The Complete Guide
sleep

How to Use ASMR for Sleep? The Complete Guide

by Chris Barry
12min
What is White Noise and How Can It Help You Sleep Better?
sleep

What is White Noise and How Can It Help You Sleep Better?

by Katie Boyle
12min
How to Use Brown Noise for Sleep: The Complete Guide
sleep

How to Use Brown Noise for Sleep: The Complete Guide

by Katie Boyle
12min

Top 10 posts

Do Probiotics Improve Sleep Quality? An Evidence Synthesis
sleep

Do Probiotics Improve Sleep Quality? An Evidence Synthesis

by Ivan Nonveiller
5 min read
BetterSleep vs RISE: An Honest Sleep App Comparison (2026)
sleep

BetterSleep vs RISE: An Honest Sleep App Comparison (2026)

by Ivan Nonveiller
5 min read
Sleep Cycle vs BetterSleep (2026): Honest Sleep App Comparison
sleep

Sleep Cycle vs BetterSleep (2026): Honest Sleep App Comparison

by Ivan Nonveiller
5 min read
Headspace vs BetterSleep: Which App Should You Pick?
sleep

Headspace vs BetterSleep: Which App Should You Pick?

by Chris Barry
5 min read
Morning vs Evening Exercise for Sleep: What 30+ Studies Say
sleep

Morning vs Evening Exercise for Sleep: What 30+ Studies Say

by Ivan Nonveiller
5 min read
Calm vs BetterSleep: An Honest Sleep App Comparison (2026)
sleep

Calm vs BetterSleep: An Honest Sleep App Comparison (2026)

by Chris Barry
5 min read
The Best Type of Exercise for Sleep
sleep

The Best Type of Exercise for Sleep

by Ivan Nonveiller
5 min read
The State of Mom's Sleep in 2026
wellness

The State of Mom's Sleep in 2026

by Katie Boyle
4 min read
Period Insomnia: Why the Luteal Phase Disrupts Sleep
wellness

Period Insomnia: Why the Luteal Phase Disrupts Sleep

by Katie Boyle
7min
Postpartum Insomnia: When You Can't Sleep Even Though the Baby Is Sleeping
wellness

Postpartum Insomnia: When You Can't Sleep Even Though the Baby Is Sleeping

by Katie Boyle
5 min read