top of page

Vitamin D and Your Immune System: What Large Studies Have Found

Nov 2
5 min read

Most people think of vitamin D as the bone vitamin. That's true, but it's only part of the story. Immune cells also respond to vitamin D, so researchers have asked a practical question: does getting enough vitamin D change how the immune system behaves? Here is what large studies have found, and where the answers are still unclear.

A vitamin that behaves like a hormone

Your body can make its own vitamin D. When sunlight reaches your skin, it produces vitamin D, and people who get enough sun don't strictly need it from food. Your liver then converts it into a storage form called 25-hydroxyvitamin D, which is what a blood test measures. A second step, mainly in the kidneys, turns it into the active form, 1,25-dihydroxyvitamin D [1].

That active form attaches to a vitamin D receptor, which is a docking site inside the cell. Almost every tissue in the body has these receptors, and once activated they help switch hundreds of genes on or off [2]. A substance that is made in one place, travels in the blood and changes how distant cells work is, by definition, a hormone.

Why the immune system is part of the story

Vitamin D receptors are especially dense on several types of immune cells. These include dendritic cells, which detect invaders; T and B lymphocytes, the white blood cells that direct and carry out immune responses; and macrophages, which clear away germs and debris [3]. In laboratory studies, active vitamin D dampened several inflammatory signals and may encourage regulatory T cells, the cells that help keep the immune system from overreacting [3]. Lab studies also show that it supports innate immunity, the body's first line of defence, against respiratory viruses and bacteria [4].

Lab findings explain the interest, but they don't show what happens in people. For that, we need clinical trials.

The VITAL trial: five years, nearly 26,000 adults

The VITAL trial enrolled 25,871 adults in the United States: men aged 50 and over and women aged 55 and over. It was randomised and double-blind. That means participants were assigned to groups by chance, and neither they nor the researchers knew who was taking vitamin D and who was taking a look-alike placebo. Some participants also took omega-3 fatty acids (fish oil) or a matching placebo [3].

The researchers tracked autoimmune diseases over a median of 5.3 years. These are conditions in which the immune system attacks the body's own tissues, such as rheumatoid arthritis, psoriasis and autoimmune thyroid disease. Every diagnosis was confirmed against medical records [3].

  • Fewer confirmed cases. 123 people in the vitamin D group were diagnosed with an autoimmune disease, compared with 155 in the placebo group. That works out to a 22% lower rate [3].

  • A pattern that grew over time. In the last three years of the trial, the vitamin D group had 39% fewer confirmed cases than the placebo group. That suggests any effect may take time to build [3].

  • Body weight may matter. People with a lower body mass index (BMI, a measure of weight relative to height) appeared to benefit more than people with a higher BMI [3].

  • Fish oil alone did not produce a statistically clear reduction [3].

Colds, flu and chest infections: 43 trials combined

Vitamin D has also been studied for acute respiratory infections, which range from a common cold to a chest infection. In 2021, researchers published a meta-analysis, a study that combines results from many trials to get a clearer overall picture. It included data from 48,488 people, aged from infancy to 95, across 43 randomised trials [4].

Overall, people given vitamin D were slightly less likely to have at least one respiratory infection. Their odds were about 8% lower than with placebo. The benefit was clearer when vitamin D was given every day rather than in large doses spaced weeks or months apart, and it was clearer in children aged 1 to 15 [4].

The authors called the overall effect modest. Results also differed from trial to trial [4].

What about long-term health?

A European analysis followed 26,916 people from eight population studies for a median of about 10.5 years. People with the lowest vitamin D levels had higher death rates than people with higher levels, mostly because of more deaths from heart and blood vessel disease [2].

This was an observational study. It found an association but can't prove that vitamin D was the cause. Low vitamin D often goes with illness, inactivity or poor diet, which affect health on their own [2]. In 2024, an Endocrine Society guideline panel reviewed the trial evidence. The panel suggested vitamin D for adults aged 75 and over because of its potential to lower the risk of death in that age group [1].

Who might benefit most

The 2024 guideline suggested vitamin D, without needing a blood test first, for four groups: children and teenagers aged 1 to 18, adults aged 75 and over, people who are pregnant, and adults with high-risk prediabetes. Prediabetes means blood sugar is above normal but not yet in the diabetes range [1]. For non-pregnant adults over 50 who need vitamin D, the panel preferred a daily routine over occasional large doses, which matches the infection research [1].

Physicians who focus on optimal hormone levels look at vitamin D alongside the body's other hormones, not on its own. You can read more about this approach on our Hormone Health page.

What the evidence can't tell us yet

The research is encouraging, but it has limits:

  • VITAL studied older adults in the United States, tested one dose and was not designed for people with low vitamin D. Too few people developed each individual disease to judge them one by one [3].

  • The infection benefit was small, varied between trials and may be overestimated. Studies with positive results are more likely to be published, and that can tilt the combined result (publication bias) [4].

  • Observational studies show links, not proof [2].

  • The 2024 guideline found that the ideal blood level for specific health benefits has not been established. The panel did not support taking more than the standard recommended intake for healthy adults under 75 [1].

More is not better. Too much vitamin D raises the calcium in your blood, which can cause nausea, weakness, excessive thirst and kidney stones [5].

What to talk about with your doctor before starting

  • Other supplements. Tell your doctor about any vitamin D, calcium or multivitamin you already take. Combining calcium and vitamin D supplements may increase certain risks [5].

  • Medicines. Some medicines interact with vitamin D, including orlistat (a weight-loss medicine), statins (cholesterol medicines), steroid tablets and thiazide diuretics (a type of water pill) [5].

  • Your history. Mention any past kidney stones, high blood calcium or long-term medical conditions [5].

  • Pregnancy. Let your doctor know if you are pregnant or planning a pregnancy.

Your doctor sets the dose and decides when to recheck your levels.

The research is still developing, and it's worth following. To see how vitamin D fits into a wider hormone check, visit our Hormone Health page.

Reviewed by Dr. Panapon Lumdee, MD · Last reviewed: 2 November 2026

References

  1. Demay MB, Pittas AG, Bikle DD, Diab DL, Kiely ME, Lazaretti-Castro M, et al. Vitamin D for the prevention of disease: an Endocrine Society clinical practice guideline. J Clin Endocrinol Metab. 2024;109(8):1907-47.

  2. Gaksch M, Jorde R, Grimnes G, Joakimsen R, Schirmer H, Wilsgaard T, et al. Vitamin D and mortality: individual participant data meta-analysis of standardized 25-hydroxyvitamin D in 26916 individuals from a European consortium. PLoS One. 2017;12(2):e0170791.

  3. Hahn J, Cook NR, Alexander EK, Friedman S, Walter J, Bubes V, et al. Vitamin D and marine omega 3 fatty acid supplementation and incident autoimmune disease: VITAL randomized controlled trial. BMJ. 2022;376:e066452.

  4. Jolliffe DA, Camargo CA Jr, Sluyter JD, Aglipay M, Aloia JF, Ganmaa D, et al. Vitamin D supplementation to prevent acute respiratory infections: a systematic review and meta-analysis of aggregate data from randomised controlled trials. Lancet Diabetes Endocrinol. 2021;9(5):276-92.

  5. National Institutes of Health, Office of Dietary Supplements. Vitamin D: fact sheet for health professionals [Internet]. Bethesda (MD): NIH; 2025 [updated 2025 Jun 27].

Comments


bottom of page