longevitywatch

Why do you get sick more often when you are on a diet?

A low-calorie diet can weaken your immune system through deficiencies in minerals such as magnesium, disrupted gut bacteria and suppressed immune responses. When dieting, pay attention to adequate micronutrient intake to limit this risk.

Many diets temporarily provide too few micronutrients: vitamins, minerals and other nutrients that immune cells need to function properly. Magnesium is a concrete example of this. Without sufficient magnesium, killer T-cells, the immune cells that directly attack pathogens, cannot properly use an activating protein on their surface. As a result, they recognise infections more slowly and respond less quickly. This is not an indirect effect: the link has been demonstrated to be causal.

Another mechanism runs through your gut. Any serious change in what you eat disrupts the composition of your gut bacteria. Such a disruption goes hand in hand with lower immunity and poorer metabolism. Your gut bacteria partly train your immune system; when that balance is lost, you feel the consequences.

Caloric restriction also lowers inflammatory markers in your blood, such as CRP and certain signalling molecules that steer the immune response. That sounds positive, but the same system that suppresses chronic low-grade inflammation also governs the active defence against a new virus or bacterium. Less chronic inflammation therefore does not automatically mean better protection.

Intermittent fasting has mixed effects. It can improve blood sugar regulation and dampen certain inflammatory processes, but at the same time has time- and tissue-dependent effects on immune cells that are not unambiguously positive. Whether you become more or less ill depends on the type of fasting, how long you maintain it, and what you eat during those periods.

Some dietary patterns, such as the Mediterranean diet and certain forms of caloric restriction, appear to strengthen the gut barrier and improve the part of your immune system that learns from previous infections. However, this evidence is still preliminary, largely derived from review studies, and not yet strong enough for firm recommendations.

The evidence
5 studies

Based on four primary sources (PMID 38719726, 35219904, 35051368, 41425546, 30923193), some of which are review studies. The causal relationship between magnesium and T-cell function is the most strongly supported. The remaining associations are likely causal but not definitive.

Last checked: September 2026 · how this was judged
Related answers

Why do older adults become seriously ill from an infection more quickly?

Ageing weakens the immune system in several ways simultaneously, making infections more dangerous. Keep vaccinations up to date and discuss nutritional deficiencies with your doctor, as these additionally increase vulnerability.

Can too little sleep make you more susceptible to infections?

Too little sleep demonstrably makes your immune system more vulnerable, including to infections and vaccinations. Make sure you get sufficient sleep, even though the exact numbers and thresholds are not yet precisely known.

Yes · Moderate evidence

What does excess weight do to your inflammation levels?

Excess weight structurally raises your inflammation levels through multiple biological pathways. Exercise, and strength training in particular, is a concrete tool for partly reversing that effect.

Can too much sugar weaken your immune system?

Chronically high blood sugar levels, as seen in diabetes or severe obesity, demonstrably weaken immune defences. For healthy people without these conditions, the effect of ordinary sugar consumption on the immune system has not yet been demonstrated.

Moderate evidence

Why do some people experience symptoms for months after an infection?

After an infection, multiple biological processes can continue to smoulder simultaneously, but which mechanism plays the leading role in any given individual cannot yet be predicted or specifically treated.

Why are older adults more susceptible to influenza?

Older adults are more susceptible to influenza due to a combination of an ageing immune system, chronic diseases, and low-grade background inflammation. Ask your doctor or pharmacist whether, as someone aged 65 or over, you can receive a high-dose influenza vaccine, as it offers better protection than the standard formulation.

Related research
29 Sep
Blood test measures total burden of aging cells
29 Sep
Transplanted immune cells donate mitochondria to brain cells
28 Sep
Chronic inflammation fuels arterial plaque buildup
Don't see your question?
Ask it and we'll look it up for you.
Ask a question →
Newsletter

Stay in the loop

Twice a week, the most important longevity research in your inbox.