Researchers studied 46 young women to understand how diet and gut bacteria might be connected to anxiety. They found that eating a healthier diet was linked to lower anxiety levels, while certain gut bacteria were associated with higher anxiety. Specific bacteria that produce helpful chemicals like butyrate and GABA were connected to less anxiety. The study suggests that what we eat influences the types of bacteria in our gut, which may then affect our mood and anxiety levels. This research points to diet as a potential way to help manage anxiety symptoms through the gut-brain connection.

The Quick Take

  • What they studied: Whether the quality of food someone eats and the types of bacteria in their gut are connected to anxiety symptoms in young women
  • Who participated: 46 young women between ages 18-24 from the United Kingdom who had mild anxiety symptoms but were not diagnosed with an anxiety disorder
  • Key finding: Young women who ate higher-quality diets had lower anxiety levels. Certain gut bacteria were linked to more anxiety, while other bacteria that make helpful chemicals were linked to less anxiety.
  • What it means for you: Eating a healthier diet might help reduce anxiety by changing the bacteria in your gut. However, this is early research on a small group, so more studies are needed before making major dietary changes specifically for anxiety. Talk to a doctor before making significant changes to treat anxiety.

The Research Details

This was a cross-sectional study, which means researchers collected information from all participants at one point in time rather than following them over months or years. The researchers measured three main things: (1) long-term eating habits using a food frequency questionnaire that asked about typical eating patterns, (2) short-term diet using 24-hour food recalls where participants described everything they ate in one day, and (3) gut bacteria by analyzing stool samples using advanced genetic sequencing. They also measured anxiety using a standard questionnaire called the State-Trait Anxiety Inventory. The researchers then used statistical analysis to see which dietary factors and bacteria were connected to anxiety levels.

This approach is important because it looks at both long-term eating patterns and immediate food choices, rather than just one or the other. It also examines what the bacteria actually do (their functions) rather than just counting which bacteria are present. This gives a more complete picture of how diet might affect anxiety through the gut.

This study was published as a preprint, meaning it hasn’t been reviewed by other scientists yet, so findings should be considered preliminary. The sample size is small (46 people), which limits how much we can generalize the findings to other groups. The study only included young women from the UK, so results may not apply to men, older adults, or different populations. The cross-sectional design means we can’t prove that diet causes anxiety changes—only that they’re connected. However, the researchers used sophisticated methods to analyze the gut bacteria and carefully measured both diet and anxiety.

What the Results Show

Diet quality was the strongest dietary factor connected to anxiety. Young women who ate higher-quality diets (measured by a Healthy Eating Index) had lower anxiety scores. Four specific gut bacteria were linked to higher anxiety: Ruminococcus gnavus, Flavonifractor plautii, Bilophila wadsworthia, and Bacteroides thetaiotaomicron. In contrast, a beneficial bacteria called Faecalibacterium prausnitzii was linked to lower anxiety. The researchers also found that certain bacterial pathways—the chemical processes bacteria use to make helpful compounds—were connected to lower anxiety. Specifically, bacteria that produce butyrate, propionate, and GABA (a calming chemical in the brain) were associated with less anxiety.

The study found an interesting U-shaped relationship with inositol synthesis, meaning very low and very high levels were associated with more anxiety, while moderate levels were associated with less anxiety. The researchers also discovered that a person’s usual diet quality might affect how their anxiety responds to changes in short-term food choices. This suggests that eating well over time might create a more stable mood that’s less affected by day-to-day dietary variations.

This research builds on growing evidence about the gut-brain axis—the connection between digestive health and mental health. Previous studies have looked at single dietary components or only at which bacteria are present. This study is more comprehensive because it examines overall diet quality and what the bacteria actually produce. The findings align with other research suggesting that healthy bacteria and their byproducts may influence mood and anxiety, but this is one of the first studies to look at this connection in young women with mild anxiety.

The study is small with only 46 participants, all young women from one country, so results may not apply to men, different age groups, or other populations. Because it’s a snapshot in time rather than following people over months, we can’t determine if diet changes actually cause anxiety changes or if anxious people simply eat differently. The study hasn’t been peer-reviewed yet since it’s a preprint. The anxiety levels measured were mild (subclinical), so findings may not apply to people with diagnosed anxiety disorders. Individual differences in genetics and lifestyle weren’t fully accounted for.

The Bottom Line

Based on this preliminary research, eating a balanced, high-quality diet rich in fruits, vegetables, whole grains, and fiber may support better mood and lower anxiety. However, this should not replace professional treatment for anxiety. If you have anxiety symptoms, consult a healthcare provider. This research suggests diet is one piece of a larger picture that includes sleep, exercise, stress management, and professional support. Confidence level: Low to moderate, as this is early-stage research on a small sample.

Young women with mild anxiety symptoms may find this research interesting and worth discussing with their doctor. People interested in the gut-brain connection and preventive health approaches should pay attention to this emerging area. However, people with diagnosed anxiety disorders should not rely on diet changes alone and should work with mental health professionals. The findings are most relevant to young women aged 18-24, though the general principles may apply more broadly.

If diet changes do affect anxiety through gut bacteria, changes would likely take weeks to months to become noticeable, as it takes time for eating patterns to shift the bacterial community in your gut. Don’t expect immediate results. Most research on gut bacteria suggests meaningful changes occur over 4-12 weeks of consistent dietary changes.

Want to Apply This Research?

  • Track daily diet quality using a simple scoring system (rate meals as ‘high quality’ if they include vegetables, whole grains, and lean protein, or ’lower quality’ if processed), and rate anxiety level each evening on a 1-10 scale. Look for patterns over 8-12 weeks.
  • Start by adding one high-quality meal per day that includes fiber-rich foods like vegetables, whole grains, beans, or fruits. Track how you feel in the hours and days after eating. Gradually increase the number of high-quality meals as you notice patterns.
  • Keep a simple food and mood log for at least 8 weeks. Note what you ate, rate the diet quality, and record your anxiety level. Look for correlations between days with higher diet quality and lower anxiety. Share patterns with your healthcare provider to discuss whether dietary changes might help your specific situation.

This research is preliminary and has not yet been peer-reviewed. It describes associations between diet, gut bacteria, and anxiety in a small group of young women and should not be used to diagnose or treat anxiety disorders. Anxiety is a complex condition with many causes. If you experience anxiety symptoms, please consult a qualified healthcare provider or mental health professional for proper evaluation and treatment. Do not make significant dietary changes to treat anxiety without discussing them with your doctor first. This information is for educational purposes only and is not a substitute for professional medical advice.

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

Source: Anxiety associated with dietary intake and gut microbiome features in a cross-sectional cohort of sub-clinically anxious young women.medRxiv : the preprint server for health sciences (2026). PubMed 41891018 | DOI