Cooked mushrooms can contain vitamin D, but the amount depends almost entirely on whether the mushrooms were exposed to ultraviolet light before you ate them. A standard white button mushroom from the grocery store contains roughly 4 IU of vitamin D per 100 grams, which is essentially nothing. But mushrooms that grew in sunlight, were wild-harvested, or received commercial UV treatment can deliver hundreds or even thousands of IU in the same serving.
Cooking itself does not destroy this vitamin D in any meaningful way. The real question isn’t whether cooking matters, but whether your mushrooms had vitamin D to begin with.
Why Most Store-Bought Mushrooms Have Almost No Vitamin D
Mushrooms produce vitamin D through the same basic mechanism your skin uses: ultraviolet light hits a precursor compound and converts it. In mushrooms, that precursor is ergosterol, a substance found naturally in their cell walls at concentrations of 21 to 107 mg per 100 grams. When UV-B or UV-C light strikes ergosterol, it transforms into vitamin D2 (ergocalciferol).
The problem is that most commercial mushrooms, including white button, cremini, and portobello varieties, are grown entirely indoors under artificial light that contains no UV radiation. They never get the trigger they need to make the conversion. That’s why a typical white button mushroom contains just 0.1 micrograms (4 IU) of vitamin D2 per 100 grams, a negligible amount when the daily recommended intake is 600 IU for most adults.
Which Mushrooms Actually Contain Vitamin D
Wild mushrooms that grow outdoors in natural sunlight accumulate far more vitamin D2. Among the richest sources measured by USDA researchers, chanterelles contain around 212 IU per 100 grams and morels around 204 IU per 100 grams in standard samples, with some morel samples reaching as high as 2,529 IU per 100 grams. Wild porcini mushrooms have been measured at 58.7 micrograms per 100 grams (about 2,348 IU), and wild funnel chanterelles at 21.1 micrograms per 100 grams (about 844 IU).
Maitake mushrooms show the widest range. Standard commercial maitake contains as little as 4 IU per 100 grams, but one producer using a proprietary UV-exposure method achieved 2,242 IU per 100 grams. This highlights how dramatically light exposure changes the picture.
Some grocery stores now sell mushrooms labeled “UV-treated” or “high in vitamin D.” These are conventional varieties (usually white button or portobello) that have been exposed to UV light during or after harvesting. They can contain several hundred IU per serving. Check the nutrition label, because the difference between a UV-treated and untreated mushroom of the same species can be a hundredfold.
How Cooking Affects Vitamin D Levels
Vitamin D2 is a fat-soluble compound that holds up well under normal cooking temperatures. Sautéing, roasting, grilling, and baking mushrooms does not cause significant losses. In fact, researchers studying mushroom nutrition have noted that it’s unknown exactly how cooking changes the bio-accessibility of vitamin D from mushrooms in humans, and that cooking may actually enhance the body’s ability to absorb some nutrients by breaking down cell walls.
So if you start with a mushroom that contains meaningful vitamin D, cooking it won’t strip that away. A sautéed chanterelle or a roasted UV-treated portobello retains its vitamin D content through the cooking process.
Your Body Absorbs Mushroom Vitamin D Effectively
One common concern is whether vitamin D2 from a food source like mushrooms actually raises your blood levels the way a supplement would. Clinical trials have tested this directly. In one study, people who consumed 2,000 IU of vitamin D2 from UV-irradiated mushrooms raised and maintained their blood levels of 25-hydroxyvitamin D (the standard marker for vitamin D status) just as effectively as people taking 2,000 IU of vitamin D2 or D3 in supplement form.
A separate randomized controlled trial gave people with low vitamin D levels (below 20 ng/mL) either UV-irradiated mushroom soup or an equivalent vitamin D2 supplement four times a week for four weeks. Both groups saw significant and comparable increases in blood vitamin D levels. The mushroom-based vitamin D was absorbed and used by the body just as well as the pill.
One nuance worth noting: in a six-week trial, participants eating UV-irradiated mushrooms containing 684 IU of vitamin D2 per serving saw their D2 levels rise, but their D3 levels dipped slightly. The net effect on total vitamin D status was a small decrease. This suggests that for people relying heavily on mushroom-sourced D2, combining it with other vitamin D3 sources (sunlight, fatty fish, fortified foods) is a reasonable strategy.
How to Boost Vitamin D Before You Cook
You can dramatically increase the vitamin D content of ordinary store-bought mushrooms at home by placing them in direct sunlight before cooking. The ergosterol in their tissue remains active even after harvesting, so UV light still triggers the conversion to vitamin D2. Place sliced mushrooms gill-side up in direct midday sun for 15 to 60 minutes. Slicing increases the surface area exposed to UV, which speeds up the process. Even on a partly cloudy day, this can raise vitamin D levels from near zero to several hundred IU per serving.
Keep in mind that once you’ve boosted the vitamin D through sun exposure, you should cook or eat the mushrooms relatively soon. Refrigerated UV-irradiated mushrooms can lose up to 50% of their vitamin D2 within seven days of storage. One study found that whole button mushrooms dropped from 14.8 to 6.2 micrograms per gram of dry weight over a single week in the fridge. Sliced mushrooms fared slightly better in another study, dropping from 11.9 to 9.1 micrograms per gram over three days and then stabilizing. Dried mushrooms retain vitamin D much longer, making them a practical way to preserve the benefit.
Practical Takeaways for Getting Vitamin D From Mushrooms
- Standard grocery mushrooms (white button, cremini, portobello grown indoors) contain almost no vitamin D, cooked or raw.
- UV-treated commercial mushrooms can provide a meaningful portion of your daily vitamin D. Look for the label.
- Wild mushrooms like chanterelles, morels, and porcini are naturally rich in vitamin D2, with some varieties providing well over a day’s worth per serving.
- Sun-exposing sliced mushrooms at home for 15 to 60 minutes before cooking is a simple, effective way to increase their vitamin D content from nearly zero to a useful amount.
- Cooking does not significantly reduce vitamin D levels and may improve how well your body can access the nutrient.

