Sunlight vs. Food vs. Supplements: Comparing Every Source of Vitamin D
Content last reviewed: November 2026
Vitamin D occupies an unusual position in human physiology: unlike almost every other essential micronutrient, it functions as a prohormone that the body can acquire through two fundamentally different entry portals — endogenous photochemical synthesis in skin exposed to solar ultraviolet B (UV-B) radiation, or exogenous intestinal absorption from foods and dietary supplements. Because those pathways differ sharply in biochemistry, seasonal availability, toxicity boundaries, and dermatological risk, public debate often pits sunlight against supplements as if one must replace the other.
In practice, sunlight, diet, and supplementation are complementary mechanisms that converge on the same circulating blood biomarker, 25-hydroxyvitamin D [25(OH)D]. This guide examines how cutaneous and oral pathways compare at the molecular level, why sunlight self-regulates vitamin D output without preventing skin cancer, what international public-health reference intakes from the NIH and EFSA actually mean, how much vitamin D typical foods provide, and when healthcare professionals prioritize oral intake over unprotected sun exposure.
1. Two Routes to One Biomarker: How Cutaneous and Oral Vitamin D Converge
Whether vitamin D originates from midday summer sunlight, a fillet of wild salmon, or a daily oral drop, it enters the bloodstream as a biologically inert parent compound that must undergo two sequential enzymatic activations before binding nuclear vitamin D receptors in target tissues. The difference lies in how each source enters circulation and how reliably it reaches the liver.
In the cutaneous pathway, solar UV-B photons (wavelengths 290–315 nm) penetrate the upper epidermis and photochemically cleave the B-ring of 7-dehydrocholesterol (7-DHC), yielding unstable previtamin D3. Over the following hours, normal body heat drives a non-enzymatic thermal isomerization that converts previtamin D3 into cholecalciferol (vitamin D3). Newly formed vitamin D3 diffuses into dermal capillaries bound predominantly to vitamin D-binding protein (DBP), producing a gradual, sustained release into systemic circulation. In the oral pathway, fat-soluble vitamin D2 or D3 from foods and supplements must first dissolve in intestinal micelles alongside bile salts and dietary lipids, cross enterocyte membranes in the small intestine, pack into chylomicrons, and enter the bloodstream via the lymphatic system. Consequently, conditions that impair fat digestion or absorption — such as untreated celiac disease, inflammatory bowel disease, pancreatic insufficiency, or bariatric surgery — can blunt oral absorption while leaving cutaneous synthesis intact.
Once in the bloodstream, both cutaneous and oral vitamin D converge on identical metabolic machinery. First, hepatic 25-hydroxylase enzymes (primarily CYP2R1) convert parent vitamin D into 25-hydroxyvitamin D [25(OH)D, calcidiol]. Because 25(OH)D circulates with a biological half-life of roughly two to three weeks and mirrors combined sunlight, food, and supplement inputs, clinicians use serum 25(OH)D as the standard diagnostic biomarker of vitamin D status. Second, in the kidneys — and locally in numerous extra-renal tissues — the tightly regulated enzyme 1-alpha-hydroxylase (CYP27B1) converts 25(OH)D into hormonally active 1,25-dihydroxyvitamin D [1,25(OH)2D, calcitriol] under the control of parathyroid hormone (PTH), serum calcium, phosphate, and fibroblast growth factor 23 (FGF-23).
- Blood-test unit conversion (ng/mL vs. nmol/L): Clinical laboratories report serum 25(OH)D in nanograms per milliliter (common in the United States and Brazil) or nanomoles per liter (SI standard across Europe, Canada, and Australia). Multiply ng/mL by 2.5 to obtain nmol/L: 1 ng/mL = 2.5 nmol/L (for example, 20 ng/mL equals 50 nmol/L, and 30 ng/mL equals 75 nmol/L).
- Intake unit conversion (IU vs. µg): Dietary labels and clinical guidelines express oral vitamin D in International Units (IU) or micrograms (µg), where 1 µg = 40 IU (thus 15 µg = 600 IU, 25 µg = 1,000 IU, and 100 µg = 4,000 IU).
- Why body volume influences both routes: Because vitamin D is lipophilic and distributes across a larger total body mass and adipose compartment, volumetric dilution (Drincic et al., 2012) lowers circulating 25(OH)D regardless of whether it came from sunlight or pills, explaining why higher body weight and BMI correlate with lower serum concentrations at identical inputs.
2. Photobiological Self-Regulation vs. Oral Toxicity Limits
One of the most striking physiological contrasts between sun exposure and oral supplementation lies in how the body prevents excess accumulation. In landmark experiments published in Science (Holick et al., 1981), researchers demonstrated that human skin contains a built-in photochemical feedback brake. During prolonged UV-B exposure, once roughly 10% to 15% of epidermal 7-dehydrocholesterol has been converted into previtamin D3, additional UV-B photons begin photoisomerizing previtamin D3 — and newly formed vitamin D3 itself — into biologically inert photoproducts, chiefly lumisterol and tachysterol (along with suprasterols). Because this equilibrium caps net dermal synthesis automatically, even extensive sunbathing cannot cause vitamin D intoxication (hypervitaminosis D).
That photobiological safeguard, however, protects only against vitamin D toxicity — it offers zero protection against ultraviolet skin damage. Continuing to stay in direct sun past suberythemal limits does not raise vitamin D yield further, yet every extra minute accumulates cyclobutane pyrimidine dimers (CPDs) in epidermal DNA, drives inflammatory sunburn (erythema), accelerates collagen breakdown (photoaging), and increases lifetime risk of basal cell carcinoma, squamous cell carcinoma, and melanoma. Even suberythemal UV induces detectable molecular DNA lesions (Young et al., 1998), which is why VitaminDcalc enforces a conservative ceiling at 0.50 MED (well below the visible erythema threshold) rather than encouraging extended sun exposure.
Oral supplements present the exact mirror image. Capsules, drops, and fortified foods pose zero UV radiation risk to skin DNA, but they completely bypass cutaneous photoregulation. Chronically consuming excessive oral vitamin D — typically far above the adult Tolerable Upper Intake Level (UL) of 4,000 IU (100 µg) per day established by the U.S. National Academies/NIH and reaffirmed by the European Food Safety Authority (EFSA, 2023) — drives unchecked intestinal calcium absorption. Excess calcium spills first into urine (hypercalciuria, the sensitive early toxicity endpoint highlighted by EFSA) and then elevates blood calcium (hypercalcemia), potentially triggering nausea, dehydration, kidney stones, soft-tissue and vascular calcification, cardiac arrhythmias, and acute kidney injury.
- Sunlight risk profile: Self-limiting for vitamin D3 (no hypercalcemia from sun alone), but carries cumulative, non-self-limiting UV-A and UV-B DNA damage and skin cancer risk.
- Oral supplement risk profile: Zero cutaneous UV carcinogenesis and precise, year-round dosing independent of weather or latitude, but bypasses photoregulation and can cause hypercalcemia when abused at megadoses.
- Why combining moderation matters: Neither excessive sunbathing nor unsupervised megadose supplementation (such as 10,000 IU daily without laboratory monitoring) is supported by public-health safety frameworks.
3. Public Health Daily Reference Intakes (NIH / EFSA Comparison)
Major public-health bodies — including the U.S. National Academies / NIH Office of Dietary Supplements (IOM, 2011) and the European Food Safety Authority (EFSA, 2016) — publish population-level daily intake reference values designed to support bone health and maintain serum 25(OH)D concentrations at or above 50 nmol/L (20 ng/mL) across the general healthy population. Crucially, both agencies calibrate these daily intake numbers under the assumption of minimal cutaneous sun exposure, ensuring population adequacy even during winter months or indoor lifestyles.
Reading the table accurately requires distinguishing three standardized nutritional terms. A Recommended Dietary Allowance (RDA) represents the average daily intake sufficient to meet the nutrient requirements of nearly all (97.5%) healthy individuals in a specific age group. An Adequate Intake (AI) is set when scientific evidence does not permit calculating an exact statistical distribution, yet observational and trial data show the value maintains healthy population status — EFSA establishes an AI of 15 µg (600 IU)/day for all healthy children, adolescents, adults, and pregnant or lactating women from age 1 upward under minimal sun exposure. Finally, the Tolerable Upper Intake Level (UL) is the highest total daily intake from food plus supplements unlikely to cause adverse effects in almost all healthy people; it is a safety ceiling, never a recommended target.
Note also how these public-health reference intakes differ conceptually from VitaminDcalc's ~1,000 IU sun-exposure modeling reference. That modeling benchmark represents 1 Standard Vitamin D Dose (SDD) across 25% of body surface area — derived from Webb & Engelsen (2006) (0.25 MED for Fitzpatrick Type I skin) and adjusted for natural sunlight efficiency by Dowdy, Sayre & Holick (2010) — so users can compare UV environments consistently. It is neither an official dietary requirement nor an individual clinical prescription.
| Life Stage / Population Group | NIH / IOM Reference Intake | EFSA Adequate Intake (AI) | Tolerable Upper Limit (UL) |
|---|---|---|---|
| Infants 0–6 months | 400 IU (10 µg) AI | See pediatric guidance (<6 mo) | 1,000 IU (25 µg)/day (NIH & EFSA 2018) |
| Older Infants (NIH 7–12 mo / EFSA 7–11 mo) | 400 IU (10 µg) AI | 10 µg (400 IU)/day AI (7–11 mo) | 1,500 IU (38 µg) NIH / 35 µg EFSA (6–<12 mo, 2018) |
| Children 1–8 years | 600 IU (15 µg) RDA | 15 µg (600 IU)/day AI | 2,500–3,000 IU (63–75 µg) NIH / 50 µg EFSA |
| Youth & Adults 9–70 years | 600 IU (15 µg) RDA | 15 µg (600 IU)/day AI | 4,000 IU (100 µg)/day (11+ yr EFSA; 9+ yr NIH) |
| Older Adults > 70 years | 800 IU (20 µg) RDA | 15 µg (600 IU)/day AI | 4,000 IU (100 µg)/day |
| Pregnancy & Lactation | 600 IU (15 µg) RDA | 15 µg (600 IU)/day AI | 4,000 IU (100 µg)/day |
4. Natural and Fortified Food Sources of Vitamin D (USDA FoodData Central)
A common misconception is that a balanced, whole-food diet automatically supplies all required vitamin D when sunlight is scarce. In reality, very few natural foods contain substantial amounts of vitamin D. Marine oily fish — particularly rainbow trout, wild sockeye salmon, mackerel, herring, and sardines — are by far the richest natural whole-food sources because they accumulate cholecalciferol (vitamin D3) through marine plankton and food chains. Outside fatty fish and fish liver oils, natural dietary content drops steeply: a single large egg yolk supplies roughly 44 IU (1.1 µg), meaning someone trying to meet a 600 IU daily reference solely from eggs would have to consume nearly fourteen whole eggs every day.
Mushrooms represent a fascinating botanical exception. Standard mushrooms grown in dark commercial facilities contain negligible vitamin D, yet fungi naturally contain the cell-membrane sterol ergosterol. When exposed to ultraviolet light after harvest, mushrooms convert ergosterol into substantial quantities of vitamin D2 (ergocalciferol) — roughly 366 IU (9.2 µg) per half cup in UV-treated white or portabella varieties listed in USDA FoodData Central, offering a valuable plant-based food option.
In countries with national fortification programs — notably the United States, Canada, and Finland — fortified fluid milk, fortified soy, oat, or almond beverages, fortified orange juice, and select breakfast cereals contribute a large share of population intake, typically providing 100 to 120 IU (2.5–3.0 µg) per 240 mL cup. By contrast, fortification is much less widespread across continental Europe, Brazil, and Latin America, where relying on diet alone without regular fatty fish intake frequently yields under 150 to 250 IU per day.
- Wide variability in fish: Wild-caught oily fish often contain substantially more vitamin D3 than farmed fish depending on aquaculture feed composition; check regional nutrient tables where available.
- Read fortification labels carefully: Dairy products such as cheese, butter, and plain yogurt are frequently not fortified with vitamin D, even in countries where fluid milk is fortified.
- Pair oral vitamin D with dietary fat: Because vitamin D is fat-soluble, consuming fish, fortified foods, or oral supplements alongside a meal containing healthy fats promotes intestinal micelle formation and improves absorption.
| Food Source (USDA / NIH ODS) | Typical Serving Size | Approximate Vitamin D (IU / µg) | Vitamin D Form |
|---|---|---|---|
| Rainbow trout (farmed, cooked) | 85 g (3 oz) | ~645 IU (~16.2 µg) | Vitamin D3 |
| Wild sockeye salmon (cooked) | 85 g (3 oz) | ~570 IU (~14.2 µg) | Vitamin D3 |
| UV-exposed mushrooms (white/portabella) | ½ cup (~70 g) | ~366 IU (~9.2 µg) | Vitamin D2 |
| Canned sardines in oil (drained) | 85 g (~3 oz) | ~164 IU (~4.1 µg) | Vitamin D3 |
| Fortified milk or plant beverage | 1 cup (~240 mL) | ~100–120 IU (~2.5–3.0 µg) | Vitamin D3 or D2 |
| Large egg yolk | 1 large egg | ~44 IU (~1.1 µg) | Vitamin D3 |
5. Vitamin D2 vs. D3 — and When Sunlight Is NOT the Safest Choice
When dietary intake and safe sunlight fall short, oral supplements come in two molecular forms: ergocalciferol (vitamin D2), produced by UV irradiation of yeast or fungal ergosterol, and cholecalciferol (vitamin D3), chemically identical to the molecule synthesized in human skin. Traditionally, supplemental D3 was derived exclusively from lanolin (sheep's wool wax) or fish oil, leading vegans to rely solely on D2; today, however, bioidentical vegan vitamin D3 extracted from lichen or microalgae is widely available.
Does the molecular difference between D2 and D3 matter clinically? In an influential systematic review and meta-analysis published in the American Journal of Clinical Nutrition, Tripkovic et al. (2012) pooled randomized controlled trials comparing equivalent doses of D2 and D3. Overall, vitamin D3 raised serum 25(OH)D significantly more effectively than vitamin D2 — a difference especially pronounced when given as intermittent weekly or monthly bolus doses, attributed largely to D3's stronger binding affinity for vitamin D-binding protein (DBP) and slower metabolic clearance. That said, consistent daily intake of vitamin D2 still raises serum 25(OH)D effectively, making both forms valid clinical tools when dosed appropriately under professional guidance.
Equally important is recognizing clearly when unprotected sun exposure is NOT the preferred or safest strategy. Public-health dermatology consensus emphasizes that no one ever needs to risk sunburn or elevate skin cancer risk to maintain healthy vitamin D status, because oral pathways provide the exact same hepatic 25(OH)D precursor without UV-induced DNA mutations. For several specific populations, clinicians routinely prioritize strict photoprotection combined with dietary and supplemental vitamin D:
- Infants under 6 months: Pediatric guidelines advise keeping babies under six months out of direct sunlight altogether; exclusively or partially breastfed infants typically receive clinician-recommended vitamin D drops (400 IU/day in NIH guidance).
- Personal or family history of skin cancer or Fitzpatrick Types I–II: Individuals with prior melanoma, basal or squamous cell carcinoma, actinic keratoses, immunosuppression, or very fair, burn-prone skin benefit from rigorous year-round sun protection and oral vitamin D instead of intentional UV exposure.
- Photosensitizing medications and photodermatoses: Drugs including tetracyclines, fluoroquinolones, thiazide diuretics, systemic or topical retinoids, amiodarone, or conditions such as lupus erythematosus dramatically lower sunburn thresholds.
- High-latitude Vitamin D Winter and indoor lifestyles: Above roughly 37°–40° latitude during autumn and winter, midday UV-B becomes too weak for meaningful cutaneous synthesis; oral food and supplement strategies safely bridge those months.
- Older adults and individuals with higher body weight or BMI: Declining cutaneous vitamin D3 synthesis with age and volumetric dilution across larger body mass frequently cause VitaminDcalc simulations to hit the 0.50 MED suberythemal ceiling before reaching the modeling target, signaling that oral options discussed with a clinician are safer than lingering in the sun.
Frequently Asked Questions
Can I combine brief sun exposure with fortified foods or a low-dose daily vitamin D supplement?
Yes. Because both cutaneous synthesis and oral intake feed the same 25(OH)D pool, combining sensible, well-below-burn sun exposure with dietary sources or a modest clinician-approved supplement is a very common and safe approach — particularly during spring, autumn, or when you spend most weekdays indoors. Just keep track of total daily oral intake from all multivitamins, drops, and fortified foods so you stay safely well below the adult Tolerable Upper Intake Level of 4,000 IU (100 µg)/day unless directly prescribed otherwise by a physician.
Why do doctors measure 25(OH)D in blood tests instead of the active hormone 1,25(OH)2D?
Serum 25-hydroxyvitamin D [25(OH)D] circulates in roughly a thousand-fold higher concentration than calcitriol [1,25(OH)2D] and lasts two to three weeks in the bloodstream, making it an accurate reflection of your overall reserves from sun, diet, and supplements. Active 1,25(OH)2D has a half-life of only a few hours and is tightly defended by parathyroid hormone — so someone with severe vitamin D deficiency can paradoxically show a normal or elevated 1,25(OH)2D level while their 25(OH)D stores are depleted.
Is vegan vitamin D3 from lichen or algae as effective as standard vitamin D3 from lanolin?
Chemically, cholecalciferol (vitamin D3) extracted from lichen or microalgae is the exact same molecule as cholecalciferol derived from sheep's wool lanolin or synthesized in human skin. Once purified and formulated in an oil carrier or capsule, its intestinal absorption, binding to vitamin D-binding protein, and conversion into 25(OH)D follow identical pathways. Look for products verified by independent third-party quality testing to confirm label potency and purity.
Does taking a vitamin D supplement with a meal containing fat actually improve absorption?
Yes. Vitamin D is a fat-soluble secosteroid that requires bile salts and dietary lipids to form mixed micelles inside the small intestine before enterocytes can absorb it. Clinical pharmacokinetic studies show that taking vitamin D supplements alongside a meal containing moderate dietary fat produces significantly higher post-dose serum increases than taking the same capsule on an empty stomach with water alone.
Scientific References
- Vitamin D — Fact Sheet for Health Professionals | NIH Office of Dietary Supplements (ODS)
- Dietary Reference Values for Vitamin D | European Food Safety Authority (EFSA, 2016)
- Update of the Tolerable Upper Intake Level for Vitamin D for Infants | EFSA Journal (EFSA, 2018)
- Scientific Opinion on the Tolerable Upper Intake Level for Vitamin D, Including the Derivation of a Conversion Factor for Calcidiol Monohydrate | EFSA Journal (EFSA, 2023)
- FoodData Central — Nutrient Data for Vitamin D | U.S. Department of Agriculture (USDA)
- Regulation of Cutaneous Previtamin D3 Photosynthesis in Man: Skin Pigment Is Not an Essential Regulator | Science (Holick et al., 1981)
- Volumetric Dilution, Rather Than Sequestration Best Explains the Low Vitamin D Status of Obesity | Obesity (Drincic et al., 2012)
- Comparison of Vitamin D2 and Vitamin D3 Supplementation in Raising Serum 25-Hydroxyvitamin D Status: A Systematic Review and Meta-Analysis | AJCN (Tripkovic et al., 2012)
- Calculated Ultraviolet Exposure Levels for a Healthy Vitamin D Status | Photochemistry and Photobiology (Webb & Engelsen, 2006)
- Holick's Rule and Vitamin D from Sunlight | Journal of Steroid Biochemistry and Molecular Biology (Dowdy, Sayre & Holick, 2010)
- Human Melanocytes and Keratinocytes Exposed to UVB or UVA In Vivo Show Comparable Levels of Thymine Dimers | JID (Young et al., 1998)
- The importance of body weight for the dose response relationship of oral vitamin D supplementation and serum 25-hydroxyvitamin D in healthy volunteers (Ekwaru et al., 2014) | PLoS ONE
Calculate your sun exposure time ← All Guides
Related Guides
The Vitamin D Winter: How Latitude, Sun Angle, and Seasons Govern UV-B Synthesis
Learn why low winter sun angles and stratospheric ozone halt cutaneous vitamin D synthesis above 35° latitude, with a clear-sky UV Index table from 0° to 60°.
Read guide →How Age and Body Mass Index (BMI) Affect Vitamin D Synthesis and Safe Sun Limits
Discover how aging lowers cutaneous vitamin D3 synthesis (~13% per decade, Chalcraft et al. 2020), why higher BMI dilutes and blunts 25(OH)D (Ekwaru et al. 2014; Drincic et al. 2012), and why VitaminDcalc stops conservatively at 0.50 MED.
Read guide →Sunscreen, Clouds, Window Glass, and Clothing: What Blocks UV-B and What Doesn't
Learn how window glass, architectural glazing, cloud cover, diffuse shade, UPF clothing fabrics, and real-world sunscreen use filter UV-B versus UV-A and affect cutaneous vitamin D synthesis.
Read guide →