Best Foods for Immunity: 10 Practical Choices

DetoxWater Editorial Team•Published November 5, 2026

Citrus fruits, beans and lentils, and plain yogurt are three of the best foods for immunity because they provide nutrients or other food components that support normal immune function. This list covers 10 practical choices, not a proven ranking. If you have symptoms, the ai symptom analyzer may help you think about them, but it cannot diagnose illness or replace medical care. For hydration ideas, see the best drinks for immunity.

What are the 10 best foods for immunity?

No single food can prevent infections or make the immune system work perfectly. A varied eating pattern helps provide the protein, vitamins and minerals needed for normal immune function. A 2019 editorial on diet and immune function describes how nutrients and the gut microbiome interact with immunity, but it does not establish that any one food prevents illness.

The amounts below are practical serving examples, not doses proven to prevent infection. Choose foods you enjoy and can eat safely, and use them as part of your usual meals.

1. Citrus fruits

Oranges, grapefruit and other citrus fruits supply vitamin C, which supports immune-cell function and helps maintain the skin’s protective barrier. Vitamin C also helps the body absorb iron from plant foods, such as beans and lentils.

Try 1 medium orange as a snack, or add citrus segments to a salad. Pairing citrus fruit with a bean-based meal is another way to get both vitamin C and plant-based iron.

Evidence: The role of vitamin C in normal immune function is established, but that does not mean eating citrus fruits prevents colds or other infections. The research listed here does not establish a protective citrus serving for immunity.

2. Beans and lentils

Beans and lentils provide protein, which the body needs to build and maintain immune cells. They also supply iron, zinc and fiber; adequate iron and zinc are important for normal immune function, while fiber helps nourish the gut microbiome.

Try about ½ cup (120 mL) of cooked beans or lentils in a soup, salad or grain bowl. Canned varieties are convenient; draining and rinsing them can reduce some of the added salt.

Evidence: Their nutrients have established roles in health, and a 2024 review of diet, gut microbes and inflammation describes links between dietary patterns and the gut microbiome. It does not prove that a serving of beans or lentils prevents infection.

3. Plain yogurt

Plain yogurt provides protein and, when made from milk, can provide nutrients such as zinc. Some yogurts contain live cultures, which interact with the digestive tract; the gut and its microbes play roles in immune function.

Try about ¾ cup (180 mL) with fruit or whole-grain oats, or use it as the base for a savory sauce. Check the label for live cultures if those are important to you, and choose unsweetened yogurt if you want to limit added sugar.

Evidence: Research supports a relationship between diet, gut microbes and immunity, but the available reviews do not show that every yogurt or live culture prevents infection. Effects cannot be assumed to be the same across products.

4. Salmon

Salmon supplies protein, vitamin D and omega-3 fats. Vitamin D contributes to normal immune function, while omega-3 fats are involved in cell membranes and immune signaling.

A practical serving is about 3 oz (85 g) of cooked salmon. Add it to a grain bowl or serve it with vegetables; canned salmon is another convenient option.

Evidence: A 2025 review of diet and immune changes with aging discusses micronutrients and omega-3 fats as possible contributors to immune resilience. That review does not establish that eating salmon prevents infection or identify a salmon dose for immunity.

5. Eggs

Eggs provide protein and contain nutrients involved in immune function, including vitamins A and D. Vitamin A helps maintain the normal barriers and immune responses that protect the body.

Try 1 fully cooked egg with whole-grain toast or alongside cooked vegetables. Eggs can also make a quick protein addition to a rice bowl or salad.

Evidence: The nutritional roles of protein and vitamins A and D are established. Direct evidence that eating eggs as a particular food prevents infections is limited; eggs are one option within a varied diet, not an immunity treatment.

6. Leafy greens

Leafy greens such as spinach and kale provide folate and carotenoids, some of which the body can convert to vitamin A. Folate helps the body make new cells, while vitamin A supports normal immune function and protective barriers.

Add about 1 cup (240 mL) of raw leafy greens to a salad, or use about ½ cup (120 mL) cooked in a meal. Fresh and frozen greens can both be useful choices; vary the types you eat for a range of nutrients.

Evidence: These foods supply nutrients with established functions, but the listed research does not show that a specific amount of leafy greens prevents illness. Benefits are best understood as part of an overall eating pattern.

7. Red bell peppers

Red bell peppers are a source of vitamin C, which helps immune cells function and supports connective tissue and skin. They also add plant compounds and variety to meals.

Try about ½ of a medium red bell pepper sliced with a bean dip, or add it to a stir-fry. Raw and cooked peppers can both fit into a balanced diet, so choose whichever is easier to eat regularly.

Evidence: Vitamin C is necessary for normal immune function, but there is no good basis in the listed evidence for claiming that red bell peppers alone prevent infections. Eating extra vitamin C is not a substitute for meeting other nutritional needs.

8. Berries

Berries contribute fiber, vitamin C and plant compounds called polyphenols. Fiber supports gut microbes, while polyphenols are being studied for possible effects on inflammation and immune signaling.

Try about ½ cup (120 mL) of berries with plain yogurt or oatmeal. Frozen berries are a convenient alternative to fresh ones, especially when the fruit is not in season.

Evidence: A review of quercetin and immunity describes findings on one plant polyphenol, much of it from laboratory or animal research. Those findings do not establish that a serving of berries prevents illness in people.

9. Nuts and seeds

Nuts and seeds provide protein, healthy fats and minerals. Different choices offer different nutrients: almonds and sunflower seeds provide vitamin E, while pumpkin seeds are a source of zinc. Both vitamin E and zinc contribute to normal immune function.

Try a small handful, about 1 oz (28 g), as a snack, or sprinkle a spoonful of seeds over yogurt or a salad. Unsalted varieties make it easier to limit excess salt.

Evidence: The roles of these nutrients in the body are established, but the listed research does not prove that nuts or seeds prevent infection. Variety matters because no single type supplies every nutrient in the same amount.

10. Whole grains

Whole grains provide fiber and other nutrients, including some zinc and iron. Their fiber can help nourish gut microbes, which interact with the immune system and help maintain the gut barrier.

Try about ½ cup (120 mL) of cooked oatmeal, brown rice or another whole grain as part of a meal. For packaged foods, check the ingredient list for a whole grain; the color of bread alone does not tell you whether it is whole grain.

Evidence: Reviews link fiber-containing dietary patterns with the gut microbiome, but those associations do not prove that one grain prevents infections. Choose whole grains as one component of a varied diet rather than as a stand-alone remedy.

Which foods should you limit for immunity?

Limit foods that regularly displace more nutrient-rich options, such as heavily processed meats, salty packaged snacks and desserts high in added sugar. They can fit occasionally, but relying on them for most meals may make it harder to get enough protein, fiber, vitamins and minerals.

You do not need to eliminate sugar or avoid every processed food: plain yogurt, canned beans and frozen vegetables are processed foods that can be useful choices. If you drink alcohol or sugary drinks, limiting them can leave more room for a balanced diet.

Evidence connecting overall dietary patterns with gut microbes and inflammation is stronger than evidence blaming one individual food for poor immunity. Focus on what you eat consistently, rather than worrying about an occasional meal.

Who should be careful, and when should you see a doctor?

Avoid foods that trigger an allergy, including nuts, milk, eggs or fish if you have a known allergy. If you take warfarin, ask your clinician about keeping vitamin K intake consistent before making major changes to how much leafy greens you eat; do not stop medication on your own.

During pregnancy, choose pasteurized yogurt and fully cooked eggs and fish. People with weakened immunity should ask their care team about food-safety precautions; washing produce and avoiding unpasteurized dairy and undercooked animal foods are sensible steps. Parents should adapt food texture and portions to a child’s age and ask a pediatrician about specific concerns.

See a clinician for persistent fever, recurrent infections, unexplained weight loss or symptoms that are getting worse. If you are immunocompromised and develop a fever, contact your care team promptly. Seek urgent help for trouble breathing or severe dehydration. Food supports health but does not replace vaccination, diagnosis or prescribed treatment.

More on Best Foods For Immunity

Try the free tool

Ai Symptom Analyzer →

Frequently asked questions

Can food replace a flu vaccine?

No. A balanced diet supports normal immune function, but it does not provide the specific protection offered by vaccination.

Are frozen fruits and vegetables useful for immunity?

Yes. Frozen produce can provide valuable nutrients and makes it easier to include fruits and vegetables in meals.

How quickly can a better diet improve immunity?

There is no reliable timetable for an individual, and changes in diet do not guarantee fewer infections. Consistently meeting nutritional needs matters more than relying on a short-term food plan.

Sources

  1. Diet and Immune Function. Nutrients (2019). PubMed 31426423
  2. Immunosenescence and inflammaging: Mechanisms and modulation through diet and lifestyle. Frontiers in immunology (2025). PubMed 41425546
  3. Quercetin, Inflammation and Immunity. Nutrients (2016). PubMed 26999194
  4. A Comprehensive Review of the Triangular Relationship among Diet-Gut Microbiota-Inflammation. International journal of molecular sciences (2024). PubMed 39273314