Research shows that medical students with healthier eating habits experience significantly lower rates of anxiety and depression. A 2025 cross-sectional study of 264 medical students in Peru found that for each point of improvement on a diet quality scale, anxiety decreased by 3% and depression decreased by 2%. According to Gram Research analysis, this suggests that improving diet quality could be a practical way to support mental health, though diet alone cannot replace professional treatment for anxiety or depression.

A new study of medical students in Peru found that eating healthier foods is connected to having fewer symptoms of anxiety and depression. Researchers looked at 264 medical students and measured their eating habits and mental health. They discovered that students with better diets had significantly lower rates of anxiety and depression. For every point of improvement in diet quality, anxiety dropped by 3% and depression dropped by 2%. This research suggests that what we eat might be just as important for our mental health as it is for our physical health, especially for students dealing with high stress.

Key Statistics

A 2025 cross-sectional study of 264 medical students in Peru found that for each additional point on the Healthy Eating Index, anxiety prevalence decreased by 3% and depression prevalence decreased by 2%.

Among 264 medical students studied in 2025, 34.9% experienced anxiety symptoms and 45.1% experienced depression symptoms, while only 1.1% maintained healthy dietary habits.

Research published in PLOS ONE in 2026 found that dietary habits were inversely associated with anxiety and depression in medical students, with each diet quality improvement point reducing anxiety by 3% and depression by 2%.

The Quick Take

  • What they studied: Whether eating healthier foods helps reduce anxiety and depression in medical students
  • Who participated: 264 medical students aged 18 and older at a private university in Lima, Peru, studied in 2025
  • Key finding: Students with better eating habits had 3% less anxiety and 2% less depression for each point of diet improvement. Only 1.1% of students actually ate healthy diets, while 34.9% had anxiety and 45.1% had depression.
  • What it means for you: Improving your diet could be a practical way to help manage stress and mood, especially if you’re a student. However, this study shows a connection, not proof that diet causes better mental health. Talk to a doctor or counselor if you’re struggling with anxiety or depression.

The Research Details

This was a cross-sectional study, which means researchers took a snapshot of medical students at one point in time (2025) rather than following them over months or years. They asked 264 students about their eating habits using a tool called the Healthy Eating Index, which measures how much whole grains, fruits, vegetables, and other nutritious foods people eat. They also gave students two short questionnaires: the GAD-7 to measure anxiety and the PHQ-9 to measure depression. These are standard tools doctors use to screen for these conditions.

The researchers then used statistical analysis to see if students with better diets had lower rates of anxiety and depression. They adjusted their results to account for other factors that might affect mental health, making the connection between diet and mental health clearer.

Cross-sectional studies are useful for finding connections between two things (like diet and mental health), which can help researchers decide what to study more carefully in the future. This approach is quick and affordable, making it practical for studying large groups of students. However, because it’s a snapshot in time, it can’t prove that eating better actually causes better mental health—just that they seem to go together.

This study was published in PLOS ONE, a well-respected scientific journal. The researchers used validated tools (GAD-7 and PHQ-9) that doctors actually use in practice, which makes the results more trustworthy. However, the study only included students from one university in Peru, so the results might not apply to all students everywhere. Also, only 1.1% of students had truly healthy diets, which made it hard to compare healthy eaters to unhealthy eaters directly.

What the Results Show

The study found that anxiety and depression were very common among these medical students. Nearly 35% experienced anxiety symptoms, and 45% experienced depression symptoms—much higher than the general population. This makes sense because medical school is extremely stressful.

The most important finding was that diet quality was directly connected to mental health. For every single point of improvement on the Healthy Eating Index (which measures overall diet quality), anxiety decreased by 3% and depression decreased by 2%. While these percentages might sound small, they add up quickly. A student who improved their diet significantly could see meaningful improvements in anxiety and depression symptoms.

The study also revealed a troubling fact: only 1.1% of the 264 students (about 3 students) actually had healthy eating habits. This suggests that most medical students are eating poorly, which could be contributing to their high rates of anxiety and depression.

The research highlights that medical students face a double challenge: they’re under extreme stress from their studies, and they’re not eating well to help their bodies and brains handle that stress. The connection between diet and mental health was consistent and statistically significant, meaning it wasn’t due to chance. This suggests that improving diet could be a practical, accessible way to help with mental health—something students can control even when they can’t control their workload.

According to Gram Research analysis, this study adds important evidence to a growing body of research showing that diet affects mental health. Previous studies have found similar connections in other populations, but this is one of the first to focus specifically on medical students. The findings align with research showing that nutrients like omega-3 fatty acids, B vitamins, and antioxidants support brain health and mood regulation. This study confirms that the diet-mental health connection is real even in high-stress populations.

This study has several important limitations. First, it only shows a connection between diet and mental health, not proof that diet causes better mental health. Students with better mental health might simply be more motivated to eat well, rather than the diet improving their mental health. Second, the study only included students from one private university in Lima, so results might not apply to medical students in other countries or at public universities. Third, only 1.1% of students had healthy diets, making it hard to compare truly healthy eaters to unhealthy eaters. Finally, the study relied on students reporting their own eating habits and mental health symptoms, which can be less accurate than medical tests.

The Bottom Line

If you’re a medical student (or any student) struggling with anxiety or depression, consider improving your diet as one part of a comprehensive approach to mental health. Focus on eating more whole grains, fruits, vegetables, and lean proteins, and less processed food. However, diet alone is not a treatment for anxiety or depression—talk to a doctor, counselor, or therapist if you’re experiencing these symptoms. The evidence suggests diet can help, but professional mental health support is essential.

Medical students and other high-stress students should pay special attention to these findings, as they face particularly high rates of anxiety and depression. Anyone struggling with mood or anxiety might benefit from examining their diet. However, this research doesn’t replace professional mental health treatment. If you have severe anxiety or depression, see a healthcare provider.

Don’t expect overnight changes. Improving your diet is a gradual process, and mental health improvements typically take weeks to months. Start with small, sustainable changes like adding one extra vegetable to each meal or swapping sugary drinks for water. Give yourself at least 4-8 weeks to notice improvements in mood and anxiety levels.

Frequently Asked Questions

Can eating better food actually help with anxiety and depression?

Research suggests a strong connection: a 2025 study of 264 medical students found that each improvement in diet quality reduced anxiety by 3% and depression by 2%. However, diet alone isn’t a treatment—combine it with professional help if you’re struggling.

What percentage of medical students have healthy eating habits?

Only 1.1% of the 264 medical students studied in Peru had healthy dietary habits, while 34.9% experienced anxiety and 45.1% experienced depression, suggesting most students eat poorly despite high stress.

How long does it take to see mental health improvements from eating better?

Mental health improvements from diet changes typically take 4-8 weeks to become noticeable. Start with small, sustainable changes like adding vegetables to meals rather than overhauling your entire diet at once.

Does this study prove that diet causes better mental health?

No, this cross-sectional study shows a connection between diet and mental health, not proof of cause-and-effect. Students with better mental health might simply be more motivated to eat well. More research is needed to confirm causation.

Should I stop taking anxiety or depression medication and just eat better instead?

No. Never stop medication without talking to your doctor. Diet can be a helpful addition to professional treatment, but it’s not a replacement for medication or therapy prescribed by a healthcare provider.

Want to Apply This Research?

  • Track your daily diet quality using a simple scoring system: award yourself 1 point for each of these daily habits: eating 3+ servings of vegetables, eating 2+ servings of fruit, eating whole grains instead of refined grains, and limiting processed foods. Also track your anxiety and mood on a 1-10 scale each evening. Over 4-8 weeks, you should see your diet score improve and your mood/anxiety scores improve together.
  • Set a specific, achievable goal like ‘I will pack a healthy lunch with vegetables and whole grains 4 days this week’ or ‘I will replace one sugary drink with water each day.’ Use the app to log these behaviors and celebrate small wins. When you see the connection between better eating days and better mood days, you’ll be motivated to continue.
  • Create a simple weekly dashboard showing your diet quality score and your anxiety/mood rating. Look for patterns—do better diet weeks correlate with better mental health weeks? Share this data with a counselor or doctor if you’re seeking professional help, as it provides concrete evidence of what’s working for you.

This research shows a connection between diet quality and mental health symptoms in medical students, but does not prove that diet causes better mental health. This study should not be used as a substitute for professional mental health treatment. If you are experiencing anxiety or depression, please consult with a healthcare provider, therapist, or counselor. Never stop taking prescribed medications without talking to your doctor. While improving your diet may support overall wellness, it is one part of comprehensive mental health care, not a standalone treatment.

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

Source: Healthier dietary habits are associated with lower depression and anxiety among medical students at a private university in Lima, Peru: A cross-sectional study.PloS one (2026). PubMed 42313744 | DOI