Fruits, vegetables, nuts, and fish arranged to show food sources of immune-supporting vitamins and minerals.

The Best Vitamins and Nutrients for the Immune System

Medically Reviewed By: Dr. Imran Khan, MD, IFMCP — Founder, Doctor K
Published: October 09, 2026

What Your Immune System Needs From Your Diet Every Day

A healthy immune system relies on vitamins, minerals, protein, and other nutrients to support normal immune activity, energy production, and antioxidant protection. Getting enough nutrients for the immune system through a balanced diet helps the body carry out these functions each day.

Vitamins C, D, and E, zinc, selenium, B vitamins, and other micronutrients each play different roles in immune health. Sleep, physical activity, food quality, and overall health also affect how well the immune system functions.

Knowing what these nutrients do and where to find them in food can help you spot gaps in your diet and decide whether a supplement may be worth discussing.


Disclaimer: This article is for educational purposes only and is not medical advice. Dietary supplements are not intended to diagnose, treat, cure, or prevent disease. Statements about products have not been evaluated by the FDA. Consult a healthcare professional before starting a supplement, especially if you are pregnant, nursing, taking medication, or managing a health condition.


How Nutrition Supports Immune Function

Immune defense works in layers, and different nutrients support different ones.

The first layer includes your skin and the linings of your airways and gut. Adequate nutrition helps maintain these tissues, though no nutrient can make them impervious to infection.

When something does get through, white blood cells take over. Vitamin C accumulates inside these cells, zinc helps them develop, and vitamin D regulates how strongly they react, so inadequate intake of these nutrients can affect normal immune cell function.

All that activity creates oxidative stress, which is where antioxidants come in. Vitamins C and E, selenium, and beta carotene help protect your cells during the process.

How you get these nutrients matters too. Fat-soluble vitamins, meaning A, D, E, and K, need dietary fat to be absorbed well, and the body stores what it does not use. Water-soluble vitamins such as vitamin C and most B vitamins generally require regular dietary intake, although vitamin B12 can be stored for years.


Key Vitamins for a Healthy Immune System

Several vitamins play distinct roles in immune function, from supporting physical barriers to helping immune cells develop and respond properly.

Vitamin C

Vitamin C is a powerful antioxidant that supports barrier tissues, helps white blood cells function, and improves iron absorption from plant foods. Deficiency is uncommon in the U.S. but can occur with very limited diets.

Good sources: citrus fruits, bell peppers, strawberries, kiwi, broccoli, and tomatoes.

Vitamin D

Vitamin D helps regulate immune responses and supports normal immune cell activity. Levels can vary with season, sun exposure, skin tone, and time spent indoors.

Good sources: fatty fish such as salmon and sardines, egg yolks, fortified dairy products, and cereals.

Vitamin A

Vitamin A helps maintain the lining of the gut and airways and supports normal immune cell development. Plant foods provide beta-carotene, which the body can convert to vitamin A.

Good sources: liver, eggs, dairy, sweet potatoes, carrots, and spinach.

Vitamin E

Vitamin E is a fat-soluble antioxidant that helps protect cell membranes from oxidative damage. A 2026 meta-analysis in older adults reported effects on some measures of cellular immunity, but these findings do not establish that vitamin E supplements prevent infection.

Good sources: sunflower seeds, almonds, wheat germ, plant oils, and avocado.

Vitamin K

Vitamin K is essential for blood clotting and bone health. Researchers are exploring possible relationships with inflammation, but its role as an immune supplement is not established.

Good sources: leafy greens, broccoli, Brussels sprouts, and vegetable oils.

B Vitamins

B vitamins support several processes the immune system relies on, including energy production, cell division, and the development of immune cells. Vitamin B6, B12, folate, and pantothenic acid each help the body maintain these normal functions.

Good sources: poultry, fish, eggs, dairy, legumes, leafy greens, whole grains, and fortified cereals.


Minerals and Trace Minerals That Support Immunity

Vitamins often get more attention, but several minerals also play important roles in immune function.

  • Zinc is widely studied for its roles in immune cell development, signaling, and barrier repair. Because the body cannot store much zinc, consume it regularly from oysters, beef, pumpkin seeds, chickpeas, and cashews.
  • Selenium is part of antioxidant enzymes that help protect cells from oxidative damage associated with immune activity. Brazil nuts are a concentrated source of selenium, while seafood, eggs, and whole grains provide additional dietary sources.
  • Iron helps immune cells multiply, though the amount matters in both directions: too little or too much causes problems. That is why iron supplements are worth basing on blood work rather than a guess. Red meat, lentils, beans, tofu, and fortified cereals are good sources.
  • Copper works alongside zinc and iron in antioxidant enzyme activity. High zinc intake can interfere with copper absorption, so maintaining an appropriate balance between the two nutrients matters.
  • Magnesium supports hundreds of enzyme reactions throughout the body, including those tied to sleep and stress, which in turn shape immune function. Look to leafy greens, nuts, seeds, legumes, and whole grains.

Quick-Reference Nutrient Table

The table below summarizes what each nutrient contributes to immune function and where to find it in food.

Nutrient What It Does Good Sources
Vitamin C Antioxidant activity, barrier support, and iron absorption Citrus fruits, bell peppers, broccoli
Vitamin D Regulates immune responses Fatty fish, egg yolks, fortified dairy
Vitamin A Maintains gut and airway linings Sweet potatoes, carrots, liver, eggs
Vitamin E Protects cell membranes Wheat germ, seeds, nuts, plant oils
Vitamin K Clotting and bone health Leafy greens, broccoli
B6, B12, Folate Immune cell production and division Poultry, fish, legumes, whole grains
Zinc Immune cell development and signaling Oysters, beef, pumpkin seeds
Selenium Antioxidant enzyme function Brazil nuts, seafood, eggs
Iron Immune cell multiplication Red meat, lentils, fortified cereals
Copper Works with zinc and iron Shellfish, nuts, seeds
Magnesium Sleep, stress, enzyme reactions Leafy greens, nuts, legumes

Food First, and What That Looks Like

Whole foods provide these nutrients alongside fiber, protein, healthy fats, and beneficial plant compounds. A balanced diet built on nutritious foods covers most people's needs without much calculation.

Six simple ways to get more of these nutrients from food:

  1. Put something colorful on the plate at every meal, since different pigments mean different nutrients.
  2. Include protein at each meal, which supplies the building blocks for immune compounds.
  3. Eat fatty fish once or twice a week for vitamin D and healthy fats.
  4. Keep nuts and seeds on hand for vitamin E, zinc, magnesium, and selenium.
  5. Choose whole grains over refined ones for B vitamins and trace minerals.
  6. Build meals around whole foods, which naturally leave less room for highly processed options.

Food works alongside the other basics rather than replacing them. For most adults, seven to nine hours of sleep, regular physical activity, and everyday hygiene such as consistent handwashing all help support health over time.


When Nutrient Gaps Call for Supplement Support

Most people can get many of the nutrients they need from a balanced diet, but some situations make gaps more likely. Vitamin D is a common example because levels are influenced by sun exposure, while restrictive diets, pregnancy, older age, and certain health conditions can also affect nutrient intake or absorption.

When a nutrient gap is difficult to address through food alone, a supplement may help meet that need. Some immune formulas combine vitamin C, vitamin D, zinc, and quercetin, but a combination does not necessarily prevent infection or work better for everyone.

If you are unsure whether you need a supplement, it is better to look at your diet, health history, and lab results with a healthcare professional.


Why More Vitamins and Minerals Are Not Always Better

Vitamins and minerals are necessary for health, but excessive intake can cause problems.

This is especially important with fat-soluble vitamins because the body stores them differently from water-soluble vitamins. Minerals such as zinc can also cause unwanted effects or interfere with other nutrients when taken in high amounts for long periods.

A deficiency may justify targeted supplementation, while someone already meeting their needs may gain little from taking larger amounts. Individual needs are better assessed through diet, health history, medications, life stage, and, when appropriate, laboratory testing.


Building a Strong Nutrition Foundation for Immune Health

Immune health depends on many nutrients working together, including vitamins C, D, and E, zinc, selenium, magnesium, B vitamins, and protein. Each supports different processes that the immune system relies on to function properly.

A varied diet helps supply these nutrients consistently, while enough sleep, regular physical activity, and good hygiene support immune health in other ways. Together, these habits give the body a stronger foundation for long-term health.


Frequently Asked Questions


There is no single food, vitamin, or habit that can quickly strengthen the immune system. Consistent sleep, balanced nutrition, regular physical activity, and good hygiene support normal immune function over time.

There is no simple checklist that proves immune health. A clinician can assess concerns such as unusually frequent, severe, or persistent infections in the context of your medical history.

Water is a reliable choice for hydration. Drinks that provide nutrients can contribute to your overall diet, but none is a quick way to boost immunity.

Ongoing stress, poor sleep, nutrient deficiencies, certain health conditions, and some medical treatments can affect how well the immune system functions and responds to infection.

No. Supplements may help address a specific nutrient gap, but they do not replace a varied diet or prevent illness. Ask a healthcare professional about your individual needs, especially before taking high-dose vitamins or minerals.

Give Your Immune System the Nutrients It Needs With Doctor K

Immune health depends on consistent nutrition, enough sleep, regular movement, and other healthy daily habits. Explore Doctor K’s Virus Shield as an optional nutritional supplement, and review its ingredients with a healthcare professional if you take medication or have a health condition.


Relevant Studies and References

American Society of Hematology. (n.d.). Iron-deficiency anemia. https://www.hematology.org/education/patients/anemia/iron-deficiency

Li, D., Wang, T., Xiao, L., & Li, K. (2026). Effects of micronutrient supplementation on immune function in older adults: A meta-analysis. Frontiers in Immunology, 17, Article 1732861. https://doi.org/10.3389/fimmu.2026.1732861

Luo, W., Ye, D., Zhao, K., Zhou, L., Wu, Y., & Ge, Q. (2025). Associations between vitamin K and systemic immune and inflammation biomarkers: a population-based study from the NHANES (2007-2020). Frontiers in nutrition, 12, 1625209. https://doi.org/10.3389/fnut.2025.1625209

NIH Office of Dietary Supplements. Dietary Supplements for Immune Function and Infectious Diseases. https://ods.od.nih.gov/factsheets/ImmuneFunction-Consumer/