BiomaLearnFoodsNutrientsGuidesAnswersEvidence

Mushrooms: sunlight turns them into a vitamin D food

A mushroom contains ergosterol, and ultraviolet light converts it into vitamin D2. Industry does this deliberately, and the optimum has been calculated: for sliced button mushrooms, 16664 joules per square metre at 3.2 watts yields about 16 micrograms of vitamin D2 per gram. Moderate exposure raises it and excessive exposure destroys nutrients instead. Human trials confirm that treated mushrooms raise the vitamin in blood. Across every food anyone has tried fortifying with vitamin D, ultraviolet mushrooms are the second most studied vehicle after milk, which puts them well past the novelty stage.

Every statement here is tied to a source. The badge says what kind of evidence stands behind it: A is a meta-analysis or systematic review, E is the position of an expert body without its own analysis. How we verify →

The numbers, per 100 g

USDA entrykcalProteinCarbsFiber
Mushroom, crimini243.09 g4.01 g1.78 g
Mushroom, portabella262.75 g4.66 g1.88 g
Mushrooms, shiitake362.41 g8.17 g4.17 g
Mushrooms, white button252.89 g4.08 g1.72 g
Mushroom, beech332.18 g6.76 g3.14 g
Mushroom, enoki372.42 g8.14 g2.94 g
Mushroom, king oyster382.41 g8.5 g3.01 g
Mushroom, lion's mane352.5 g7.59 g4.38 g
Mushroom, maitake312.2 g6.6 g3.07 g
Mushroom, oyster332.9 g6.94 g2.85 g
Mushroom, pioppini313.5 g5.76 g2.75 g
Mushroom, white, exposed to ultraviolet light, raw223.09 g3.26 g1 g

These are the USDA entries that are mushrooms, not foods made from it. Follow a name for the full profile and per-portion figures. Showing 12 of 28 USDA entries that are mushrooms; the rest differ only in cut, pack or preparation.

How much is actually in it

What your body absorbs

What cooking and storage change

What it does to your health

Who this works differently for

What is still unknown

The bottom line

Species matters more than anything else here, and averages mislead. Niacin across 28 USDA records runs from 0.2 to 14 mg per 100 grams. For vitamin B12, measured properly by mass spectrometry, white button mushrooms hold essentially none while shiitake holds 0.8 to 1.1 micrograms per 20 grams dry weight, which is a difference of several hundredfold. Advice to eat mushrooms for B12 without naming the species is useless, and even shiitake is a modest source at a large portion. Nobody has shown that B12 from mushrooms corrects a deficiency in anyone, so if you avoid animal foods this is a supplement question for a doctor rather than a shopping one. The cancer association, about a fifth less stomach cancer, comes from case-control studies where people with cancer recall old diets. And of 2349 papers on medicinal mushrooms in cancer care, 39 involved patients, most of them small and not randomised.

Sources

  1. msh-dr-01 · review with weighted meta-analysis and response surface modelling
    For sliced Agaricus bisporus, an optimum was identified at 16,664 J/m2 and 3.2 W/m2, yielding 16.27 μg/g vitamin D₂ (95% CI: 13.69-18.85).
    Food Res Int, 2026 · checked 2026-09-22
  2. msh-dr-03 · systematic review of food composition studies
    Real B12 content varied from mean (SD) mcg/portion size of seaweed hijiki 3 × 10-3/7 g to nori 1.03 - 2.68/sheet; mushroom white button cap 2 × 10-3(7 × 10-4)/20 g dry weight (dw) to shiitake 0.79(0.67)-1.12 (0.78)/20 g dw
    Crit Rev Food Sci Nutr, 2023 · checked 2026-09-22
  3. msh-dr-02 · systematic review and meta-analysis of randomised controlled trials
    The searches identified 49 papers which described suitable RCTs using vitamin D-fortified bread/savoury biscuits (n = 5), orange juice (n = 5), UV-mushrooms (n = 8), cheese (n = 3), yogurt (n = 5), fluid milk (n = 13), powdered milk (n = 5), eggs (n = 2), edible oils (n = 4), or breakfast cereal (n = 1).
    J Steroid Biochem Mol Biol, 2024 · checked 2026-09-22
  4. msh-dr-04 · pooled analysis of case-control studies with meta-analysis
    Higher mushroom consumption was associated with a lower risk of gastric cancer [relative risk (RR) for the highest vs. lowest consumption categories, 0.82; 95% confidence interval (CI), 0.71-0.95].
    Eur J Cancer Prev, 2023 · checked 2026-09-22
  5. msh-dr-05 · systematic review of clinical studies
    Of 136 clinical studies identified by screening 2349, 39 met inclusion criteria.
    Curr Oncol Rep, 2023 · checked 2026-09-22
  6. msh-dr-06 · systematic review
    This review includes results from five randomized controlled trials (RCTs), 15 laboratory
    Front Nutr, 2025 · checked 2026-09-22

Review. This page predates our review log, so no review date is shown; it is queued for a fresh review. Last updated 2026-09-22. Bioma Learn has no human medical reviewer at this time, and we say so rather than invent one. Methodology. This is information, not medical advice.