Every week in clinic I ask patients about their supplement stack. Vitamin D comes up constantly — usually because they're taking it, occasionally because they're not, and rarely because they've heard they can get it from mushrooms and they're wondering if that's actually true or just another piece of health internet mythology.
The answer is genuinely interesting and not what most people expect. Mushrooms do produce vitamin D. The mechanism is real, the biology is elegant, and there are now human randomized controlled trials demonstrating that UV-treated mushrooms raise serum vitamin D levels comparably to a D2 supplement. But there are also important caveats about which mushrooms, how they're prepared, and how the resulting D2 compares to the D3 in most supplements.
Let me walk through what we actually know.
01The Biology: Mushrooms and Human Skin Are Doing the Same Thing
Your skin synthesizes vitamin D when UVB radiation converts 7-dehydrocholesterol (a cholesterol precursor) into previtamin D3, which then isomerizes into vitamin D3. It's a neat photochemical trick that evolution developed somewhere around 500 million years ago.
Mushrooms do something structurally identical. Their cell membranes contain ergosterol — the fungal equivalent of 7-dehydrocholesterol. When mushrooms are exposed to UVB radiation, ergosterol converts to ergocalciferol, which is vitamin D2. The pathway is the same. The end product is a close structural cousin of the D3 your skin makes.
This is not a coincidence or a quirk. Fungi and animals evolved from a common ancestor, and we retained parallel lipid chemistry that serves similar biological functions. The fact that a portobello left gill-side-up in the sun for a few hours can accumulate hundreds of IU of vitamin D2 is one of those genuinely cool facts about biology that doesn't get enough attention.
02The Problem: Most Commercial Mushrooms Have Almost No Vitamin D
Here's where the practical reality gets inconvenient. Virtually all commercially grown mushrooms — white button, cremini, portobello, shiitake — are cultivated indoors under artificial lighting or in bags. They never see sunlight. Their ergosterol content is normal, but without UV exposure, it never converts to D2.
The result: a standard package of supermarket button mushrooms contains essentially zero vitamin D. USDA data shows approximately 1 IU per 100g for conventionally grown white mushrooms — effectively nothing against a recommended daily intake of 600–800 IU. The marketing of mushrooms as a "vitamin D food source" is technically true in the abstract (they can contain it) but practically misleading for what sits in most produce aisles.
The exceptions: wild-foraged mushrooms exposed to actual sunlight can be extremely high in vitamin D2. Some dried shiitake can reach 1,600 IU per 100g. Certain commercially available "UV-treated" mushroom products now exist specifically for this purpose.
03What the Human Trials Show
Study 1: UV-B Irradiated Button Mushrooms Equal to a D2 Supplement (Urbain et al., 2011)
The first rigorous human trial on this question was published in the European Journal of Clinical Nutrition in 2011. Researchers at the University Medical Center Freiburg recruited 26 young adults with serum 25-hydroxyvitamin D ≤50 nmol/L — deficient by standard clinical criteria — and ran a five-week, single-blinded, randomized placebo-controlled trial during winter in Germany, when natural sunlight cannot generate D3 at that latitude.
Participants were assigned to one of three groups: a mushroom group consuming 28,000 IU of vitamin D2 per week via a soup made from UV-B-irradiated button mushrooms (Agaricus bisporus), a supplement group taking 28,000 IU of vitamin D2 in capsule form, or a placebo group.
The mushroom group's fresh fungi had been irradiated with a UV-B dose of 1.5 J/cm², which increased their vitamin D2 content from effectively zero to 491 µg per 100g. Both the mushroom and supplement groups showed significant and statistically similar increases in serum 25(OH)D over the five weeks — rising by approximately 3.9 and 4.7 nmol/L per week, respectively. The difference between mushroom and supplement groups was not statistically significant. The placebo group showed no meaningful change.
The authors concluded that the bioavailability of vitamin D2 from UV-irradiated mushrooms was "effective in improving vitamin D status and not different to a vitamin D2 supplement" — the first human evidence that this works as advertised in a controlled trial.
Study 2: Pulsed UV Mushrooms Raise D2 Ten-Fold in Four Weeks (Hsu et al., 2025)
A more recent 2025 trial in Foods (Taipei Medical University and Academia Sinica) looked at pulsed ultraviolet (PUV) light-treated Pleurotus citrinopileatus — a golden oyster mushroom species — in a four-week randomized parallel trial with 36 healthy adults.
Participants were assigned to three groups: a control group, a group consuming 10g/day of PUV-treated mushrooms, and a group consuming 100g/day. Blood samples measured serum 25(OH)D2, 25(OH)D3, and biochemical markers including intact parathyroid hormone (I-PTH) before and after the intervention.
The results were striking. Serum 25(OH)D2 levels in the PC-10g group increased from 1.47 ± 1.42 ng/mL to 9.50 ± 7.10 ng/mL (p=0.001). The PC-100g group saw a 10.2-fold rise. Beyond just raising D levels, the 100g/day group experienced a 37.6% reduction in serum intact parathyroid hormone — a clinically significant finding, since elevated PTH is a direct consequence of vitamin D deficiency and drives bone resorption. No adverse effects were reported in either dose group.
04The D2 vs. D3 Question
This is the biggest caveat in the mushroom vitamin D story, and it's one I want to address plainly because it affects whether this information changes anyone's actual supplement decisions.
Mushrooms produce vitamin D2 (ergocalciferol). Most vitamin D supplements — and all the D3 produced by your skin — are vitamin D3 (cholecalciferol). These are not identical. The clinical consensus is that D3 is more effective at raising and maintaining serum 25(OH)D levels than equivalent doses of D2. One meta-analysis estimated D3 is approximately 87% more potent at raising serum 25(OH)D. The half-life of D3 in circulation is also significantly longer.
This matters for the mushroom story because:
- When the Urbain trial compared UV-B mushrooms to a D2 supplement, they were comparing equivalent D2 doses — so the mushroom performed as well as D2. But neither may perform as well as D3.
- The clinical thresholds for "sufficient" vitamin D status (typically 50–75 nmol/L) were developed with D3 supplementation data and may need to be recalibrated when using D2 sources.
- For people who are significantly deficient or who need aggressive repletion, D3 supplementation remains the more efficient clinical tool.
For people who are mildly insufficient, have good baseline levels, follow a plant-based diet, and are willing to use UV-treated mushrooms consistently, mushrooms may genuinely serve as a practical food-based vitamin D source. For people with documented deficiency (25(OH)D < 30 ng/mL) or malabsorption issues, supplemental D3 is the better-studied and more reliable choice.
05The Home Method: How to UV-Treat Mushrooms Yourself
You do not need a pulsed UV light lab to get vitamin D from mushrooms. A practical and surprisingly effective method: place fresh mushrooms gill-side-up (the gills face up, which dramatically increases surface area exposed) in direct midday sunlight for one to two hours. Studies have measured significant D2 accumulation after as little as 30–60 minutes of direct summer sun exposure, with some researchers reporting levels exceeding 400 IU per 100g.
| Condition | Estimated Vitamin D2 Content |
|---|---|
| Commercially grown (no UV), raw | ~1 IU per 100g |
| Gill-up in direct sun, 1 hour (summer) | ~100–400 IU per 100g |
| UV-B irradiated (commercial) | ~400–900 IU per 100g |
| Wild-foraged (seasonal variation) | ~100–1,600 IU per 100g |
| Sun-dried shiitake (traditional) | ~1,600 IU per 100g |
A few practical notes: UVB intensity varies significantly with latitude, season, time of day, and cloud cover. The same treatment that produces 400 IU in August in Spain might produce a fraction of that in December in Seattle. Cooking appears to preserve most of the vitamin D2 content — a reassuring finding for people who can't eat raw mushrooms. And dried mushrooms retain their D2 content well, which is why sun-dried shiitake has been a traditional vitamin D food source in East Asia for centuries.
06Who Should Actually Rely on Mushrooms for Vitamin D?
Based on the research, here's my clinical framework for who mushrooms realistically help:
Good candidates for mushrooms as vitamin D source:
- Vegans and vegetarians who prefer food-based sources (D3 supplements are almost exclusively derived from lanolin/sheep's wool or lichen; D2 from mushrooms is entirely plant-based)
- People with mild vitamin D insufficiency (20–30 ng/mL) who eat mushrooms regularly and can access UV-treated products or sunlight
- People adding vitamin D to their diet as prevention rather than repletion
Poor candidates for mushrooms as primary vitamin D source:
- People with documented deficiency (<20 ng/mL) who need efficient repletion
- People with fat malabsorption disorders (vitamin D is fat-soluble; absorption requires dietary fat alongside the mushrooms)
- People who live in northern latitudes year-round and can't access UV-treated commercial products reliably
- People who need high therapeutic doses (2,000+ IU/day) — getting this from mushrooms consistently is impractical
07Frequently Asked Questions
Does cooking destroy the vitamin D in mushrooms?
Not significantly. Most studies show that sautéing, roasting, or cooking UV-treated mushrooms preserves the majority of their vitamin D2 content. Vitamin D2 is heat-stable, unlike some water-soluble vitamins that leach into cooking liquid. Boiling in water does cause some loss, so dry-heat methods (roasting, sautéing) are preferred if you're specifically trying to maximize vitamin D retention.
Is vitamin D2 from mushrooms actually absorbed well?
Yes — the Urbain 2011 RCT directly demonstrated this. Serum 25(OH)D2 rose comparably in the mushroom and D2 supplement groups, meaning the vitamin D in the mushrooms was absorbed and metabolized effectively. The caveat is that vitamin D is fat-soluble, so eating mushrooms with dietary fat (cooking in olive oil, for instance) improves absorption compared to eating them plain.
What's the best mushroom variety for vitamin D?
The highest ergosterol concentrations — and therefore the highest potential vitamin D2 after UV exposure — are found in shiitake and maitake mushrooms. Button mushrooms and portobellos also respond well to UV treatment and are more widely available. The key variable isn't the species so much as the UV exposure: any mushroom with adequate ergosterol content will produce D2 when exposed to sufficient UVB. Placing any variety gill-side-up in summer midday sun for an hour is a reasonable starting point regardless of species.
08The Bottom Line
The idea that mushrooms are a meaningful vitamin D source isn't wellness mythology — it's backed by solid photochemistry and now two human clinical trials. UV-treated mushrooms genuinely raise serum 25(OH)D levels, and the Urbain 2011 trial puts this on the same footing as a D2 supplement at equivalent doses. The parathyroid hormone data from the 2025 Hsu trial suggests the effect is physiologically meaningful, not just a number on a lab report.
The practical limit is the D2-versus-D3 question. For significant deficiency correction, D3 supplements remain more potent and efficient. For plant-based eaters maintaining adequate levels or adding a food-based vitamin D source to their diet, UV-treated mushrooms are a legitimate and evidence-supported option — particularly if you're getting 100g or more per day of mushrooms that have seen some UV light.
Your supermarket mushrooms, sitting in a dark plastic clamshell, contain essentially no vitamin D. Give them an hour in the sun before cooking, and you've changed that. It's one of the more practical bits of nutritional biochemistry that actually translates directly to kitchen behavior.
Based on articles retrieved from PubMed. This article is for educational purposes and does not constitute medical advice. Consult a qualified healthcare provider before making changes to your supplement regimen.
Tags
Editorially Reviewed By
ShrooMap Editorial Team
Independent editorial team reviewing product labels, COAs, regulator records, and cited scientific literature.
Frequently Asked Questions
What does this article about "Can Mushrooms Replace Your Vitamin D Supplement? What the Clinical Research Shows" cover?
Mushrooms make vitamin D the same way your skin does — with UV light. But can they actually raise your blood levels enough to skip the supplement? ShrooMap Editorial Team reviews two randomized controlled trials.
Who reviewed this article?
This article was editorially reviewed by ShrooMap Editorial Team, a independent editorial team.
What topics are related to this article?
This article covers topics including vitamin D, mushrooms, supplements, nutrition, immune health. Explore our blog for more articles on these subjects.