Vitamin D and the Immune System — the Mechanisms
Vitamin D's immune role is one of the best-characterised non-classical functions. The vitamin D receptor (VDR) is expressed in almost every immune cell type. Calcitriol modulates innate and adaptive immunity through direct transcription of hundreds of genes. This is the deep-dive companion to our immunity overview.
Cathelicidin — the innate antimicrobial
Cathelicidin (LL-37 in humans) is an antimicrobial peptide with broad activity against bacteria, enveloped viruses, and some fungi. The cathelicidin gene (CAMP) has vitamin D response elements — its transcription is directly driven by calcitriol/VDR binding. This is the most-cited single mechanism for vitamin D's respiratory-infection benefits.
Macrophage function
Macrophages activated by TLR2/1 pathogen recognition upregulate their own 1α-hydroxylase and VDR, producing local calcitriol that drives cathelicidin expression and phagosome function. This is why tuberculosis historically responded to sun exposure — the mechanism was vitamin D- driven macrophage killing of mycobacteria.
T-cell modulation
- Th1 (cell-mediated immunity) — suppressed by calcitriol.
- Th2 (humoral immunity) — mildly promoted.
- Th17 (pro-inflammatory, autoimmune) — suppressed.
- Treg (regulatory T cells) — expanded and functionally enhanced.
- Net effect: tolerogenic, anti-inflammatory, autoimmunity-protective.
B-cell effects
Calcitriol inhibits B-cell proliferation, plasma-cell differentiation, and IgG/IgM production. Excessive suppression is not clinically observed at physiological 25(OH)D. Vitamin D deficiency may impair vaccine responses (see our vaccine page).
Dendritic cell effects
Calcitriol keeps dendritic cells in an "immature," tolerogenic state, reducing antigen presentation and pro-inflammatory cytokine output. Contributes to autoimmunity protection.
The autoimmune protection story
Multiple sclerosis, type 1 diabetes, Crohn's, lupus, rheumatoid arthritis — all show inverse ecological correlations with 25(OH)D and stronger latitude gradients than would be expected by chance. The VITAL 2022 autoimmune substudy showed 22% reduction in incident autoimmune disease with 2,000 IU/day for 5 years. This is one of the strongest recent supplementation-trial signals.
Practical takeaway
Immune biology plausibility is strong. Clinical trial evidence is strongest for respiratory infection reduction (daily/weekly dosing) and autoimmune-disease prevention in older adults (VITAL substudy). Correct deficiency to at least 30 ng/mL as reasonable general immune adequacy.