Health
Vitamin D in mushrooms: the sunlight trick
Mushrooms can make vitamin D, much like human skin. How it works, why most mushrooms contain very little, and how to boost it at home.

Vitamin D deficiency is surprisingly common in India despite all the sunshine. Indoor lifestyles, covered skin, pollution and diet all play a part, and vegetarians have few food sources of the vitamin. Mushrooms are one of the very few non-animal foods that can help, thanks to a neat piece of biology.
How mushrooms make vitamin D
Mushrooms contain a compound called ergosterol in their cell membranes. When ergosterol is exposed to ultraviolet (UV) light, it converts into vitamin D2, also known as ergocalciferol. It's a similar process to the way human skin makes vitamin D3 in sunlight.
The catch: mushrooms are grown in the dark
Commercial mushrooms, including ours, are grown indoors in controlled, mostly dark rooms. Light isn't needed for the mushroom to grow, and darkness helps keep conditions stable. The result is that most fresh mushrooms contain only small amounts of vitamin D.
Grown in the dark, mushrooms are ready to make vitamin D. They just need to see the sun.
The sunlight trick at home
You can raise the vitamin D content of mushrooms yourself:
- Slice the mushrooms, which exposes more surface area to the light.
- Spread them out gill-side up on a plate or tray in direct midday sun.
- Leave them for 15 to 60 minutes, depending on the strength of the sun.
- Cook or refrigerate them as normal.
Studies have found that even a short exposure to strong sunlight can increase vitamin D2 levels in mushrooms many times over. Results vary with the season, time of day, cloud and pollution, so think of this as a bonus rather than a precise dose.
Some commercial mushrooms are UV-treated
In some countries, mushrooms are passed under UV lamps after harvest and sold as high in vitamin D. This isn't yet common in India. If a mushroom is marketed as rich in vitamin D, look for a stated value on the label.
Does vitamin D survive cooking?
Vitamin D2 in mushrooms is reasonably stable during normal cooking such as sautéing and baking. Some is lost with long cooking, as with most vitamins, but mushrooms still retain a useful amount.
Is D2 as good as D3?
Vitamin D2 from mushrooms does raise vitamin D levels in the body, though some research suggests D3 is more effective at maintaining them. For vegetarians and vegans, D2 from mushrooms is a valuable dietary source.
A note on deficiency
Food alone rarely corrects a diagnosed vitamin D deficiency. If you're concerned about your levels, a simple blood test and advice from your doctor is the right step.
Read more about what mushrooms bring to your diet in mushroom nutrition.
Need fresh mushrooms?
Maba Agro supplies organically grown button, oyster, shiitake and portobello mushrooms to mandis, hotels and homes across North India.


