Research shows that eating foods that support healthy gut bacteria is linked to better memory and thinking skills in older adults. A 2026 study of 2,629 Americans aged 60+ found that people with the highest gut-friendly diet scores performed significantly better on brain tests—scoring up to 5 points higher on thinking speed tests and showing better overall cognitive performance. The connection appears to work partly by reducing inflammation in the body, though more research is needed to confirm that changing your diet will directly improve brain health.

A new study of nearly 2,630 older Americans found that eating foods that are good for your gut bacteria may also help keep your brain sharp. Researchers used a special scoring system called the Dietary Index for Gut Microbiota to measure how well people’s diets supported healthy gut bacteria. People who scored highest on this index performed better on memory and thinking tests. The connection appears to work partly through reducing inflammation in the body. This research suggests that the same foods that keep your digestive system healthy might also protect your brain as you age.

Key Statistics

A 2026 cross-sectional study of 2,629 older Americans found that those with the highest Dietary Index for Gut Microbiota scores scored 4.95 points higher on the Digit Symbol Substitution Test (a measure of thinking speed) compared to those with the lowest scores.

According to a 2026 analysis of 2,629 U.S. adults aged 60 and older, people eating the most gut-friendly diets showed a 0.19-point improvement on a combined cognitive function score compared to those eating the least gut-friendly diets.

A 2026 study of 2,629 older adults found that higher Dietary Index for Gut Microbiota scores were associated with better performance on the Animal Fluency Test (a memory test), with high-scoring participants performing 1.11 points better than low-scoring participants.

Research reviewed by Gram found that dietary inflammation partly mediated the relationship between gut-friendly eating and cognitive function in a 2026 study of 2,629 older Americans, suggesting inflammation reduction is one mechanism by which diet affects brain health.

The Quick Take

  • What they studied: Whether eating foods that support healthy gut bacteria is linked to better memory and thinking skills in people over 60
  • Who participated: 2,629 Americans aged 60 and older who participated in a national health survey between 2011 and 2014
  • Key finding: People with the highest gut-friendly diet scores performed significantly better on memory and thinking tests—with improvements ranging from 1 to 5 points depending on the test
  • What it means for you: Eating foods that feed your good gut bacteria (like fiber-rich vegetables, whole grains, and fermented foods) may help protect your brain health as you age, though more research is needed to prove this works for everyone

The Research Details

Researchers looked at information from a large national health survey that tracked what Americans eat and their health. They created a special scoring system to measure how well each person’s diet supported healthy gut bacteria. Then they gave participants several different tests to check their memory, thinking speed, and ability to recognize words. The researchers used statistical methods to see if people with better gut-friendly diets also scored higher on these brain tests, while accounting for other factors like age, education, and overall health.

The study looked at data collected between 2011 and 2014, making it a snapshot of what was happening at that specific time. Researchers tested whether the connection between gut-friendly eating and brain health held true for different groups of people (men vs. women, different ages, different races) to see if the findings applied broadly.

This approach is important because it lets researchers study real-world eating patterns and their connection to brain health in a large group of people. By using a national survey, the results are more likely to represent what’s actually happening in the general population rather than just in a small lab study. The researchers also checked whether the connection might work through reducing inflammation, which is a known factor in brain aging.

This study used data from a well-respected national health survey, which is a strength. However, because it’s a snapshot in time rather than following people over years, we can’t be completely sure that eating gut-friendly foods actually causes better brain health—only that they’re connected. The study included a large number of people, which makes the findings more reliable. The researchers also adjusted their analysis for many other factors that could affect brain health, like education and overall diet quality.

What the Results Show

People who scored highest on the gut-friendly diet index (a score of 6 or higher) performed noticeably better on brain tests compared to those with the lowest scores (0-3). On a test where people name animals as quickly as possible, high-scoring people did about 1 point better. On a test measuring thinking speed and attention, they scored about 5 points higher. When researchers combined all the brain test results into one overall score, people with the best gut-friendly diets scored about 0.19 points higher on a standardized scale.

The relationship between gut-friendly eating and brain performance appeared to be linear, meaning that as diet scores went up, brain test scores went up in a steady, predictable way. This suggests there’s no magic threshold—every improvement in diet quality may bring some brain benefit.

Interestingly, the connection didn’t show up as strongly on one particular memory test (the CERAD test), suggesting that gut-friendly eating may help with certain types of thinking more than others. The researchers found that the benefit was similar across different groups of people—men and women, different ages, and different racial backgrounds all showed the same pattern.

The study examined whether the benefit of gut-friendly eating might work by reducing inflammation in the body. Inflammation is like a low-level fire in your body that can damage brain cells over time. The researchers found that diet-related inflammation partly explained the connection between gut-friendly eating and better brain health, suggesting this is one way the diet helps your brain. However, inflammation wasn’t the whole story—other mechanisms may also be at work.

This research builds on growing evidence that gut health affects brain health. Previous studies have shown that the bacteria in your gut can influence brain function through various pathways, including the nervous system and immune system. This study is one of the first to specifically test a diet scoring system designed to measure gut-friendly eating and connect it to actual brain test performance in a large group of older Americans. The findings align with other research showing that anti-inflammatory diets support brain health.

This study shows a connection between gut-friendly eating and brain health, but it can’t prove that changing your diet will improve your brain function—only that people who eat this way tend to have better brain test scores. The study was conducted at one point in time, so we don’t know if the same people who eat well today will have better brain health in the future. The study also relied on people remembering what they ate, which isn’t always perfectly accurate. Finally, the study was done in the United States, so the findings may not apply equally to people in other countries with different food cultures.

The Bottom Line

According to Gram Research analysis, eating foods that support healthy gut bacteria appears to benefit brain health in older adults. Focus on increasing fiber-rich foods (vegetables, fruits, whole grains), fermented foods (yogurt, sauerkraut, kimchi), and foods with polyphenols (berries, nuts, olive oil). This recommendation has moderate confidence because the connection is clear in this study, but more research is needed to prove that changing your diet will definitely improve your brain health. These foods are generally healthy anyway, so there’s little downside to trying them.

This research is most relevant to adults over 60 who are concerned about maintaining sharp thinking and memory as they age. It may also interest younger people who want to build healthy eating habits now to protect their brain health later. People with digestive issues, inflammatory conditions, or cognitive concerns should discuss dietary changes with their doctor. This research doesn’t replace medical treatment for diagnosed cognitive disorders.

Brain health changes happen slowly. You might notice improvements in energy and digestion within weeks of changing your diet, but measurable changes in memory and thinking speed typically take months to become noticeable. The best approach is to think of this as a long-term investment in your brain health rather than expecting quick results.

Frequently Asked Questions

What foods should I eat to support my gut bacteria and brain health?

Focus on high-fiber foods like vegetables, fruits, and whole grains; fermented foods like yogurt and sauerkraut; and foods rich in polyphenols like berries, nuts, and olive oil. These foods feed beneficial bacteria in your gut, which research suggests may support brain function.

How long does it take to see brain health improvements from changing my diet?

You might notice improved energy and digestion within weeks, but measurable changes in memory and thinking typically take months. Brain health is a long-term investment—consistency matters more than quick results.

Can eating for gut health prevent Alzheimer’s disease?

This study shows a connection between gut-friendly eating and better brain test scores, but it doesn’t prove prevention of Alzheimer’s. While supporting gut health is likely beneficial for overall brain health, it’s not a substitute for medical care or proven prevention strategies.

Does this research apply to younger people or just older adults?

This study focused on people over 60, so we don’t know if the same benefits apply to younger adults. However, building healthy eating habits early likely supports long-term brain health, so these foods are beneficial at any age.

What is the Dietary Index for Gut Microbiota and how is it calculated?

It’s a scoring system that measures how well your diet supports healthy gut bacteria by looking at foods and nutrients known to feed beneficial bacteria. The study used this index to show that people eating more gut-friendly foods performed better on brain tests.

Want to Apply This Research?

  • Track daily servings of gut-friendly foods: count servings of vegetables, fruits, whole grains, and fermented foods. Aim for at least 5 servings of vegetables and fruits daily, 3 servings of whole grains, and 1-2 servings of fermented foods.
  • Add one new gut-friendly food to your weekly meals. Start with easy additions like adding berries to breakfast, swapping white bread for whole grain, or trying one fermented food like yogurt or sauerkraut. Track which foods you try and how you feel.
  • Monthly check-ins: every 4 weeks, note any changes in mental clarity, memory, or energy levels. Track your overall diet quality score and look for patterns between weeks when you ate more gut-friendly foods and weeks when you didn’t. Consider taking a simple online cognitive test monthly to monitor thinking speed and memory.

This research shows a connection between gut-friendly eating and brain health in older adults, but it does not prove that changing your diet will prevent or treat cognitive decline or Alzheimer’s disease. This article is for educational purposes and should not replace professional medical advice. If you’re concerned about memory loss or cognitive changes, consult your healthcare provider. Before making significant dietary changes, especially if you take medications or have existing health conditions, discuss your plans with your doctor or a registered dietitian.

This research translation is published by Gram Research, the science division of Gram, an AI-powered nutrition tracking app.

Source: Association between the Dietary Index for Gut Microbiota and cognitive function among older adults in the United States.Journal of Alzheimer's disease : JAD (2026). PubMed 42104729 | DOI