The Solar Mushroom: How Sunlight Can Turn an Ordinary Food Into a Vitamin D Source
Mushrooms are not usually the first food that comes to mind when people think about vitamin D.
We think of sunlight, fortified milk or fatty fish such as salmon and mackerel. Mushrooms seem to belong to an entirely different nutritional category.
But fungi have a fascinating trick.
When certain edible mushrooms are exposed to ultraviolet (UV) light, a compound called ergosterol in their tissues can be converted into vitamin D2, also known as ergocalciferol.
That means a mushroom that contains very little vitamin D can be transformed into a much richer dietary source through controlled UV exposure. The National Institutes of Health notes that some mushrooms are specifically exposed to ultraviolet light to increase their vitamin D content.
For older adults, this is more than a nutritional curiosity.
Vitamin D plays an important role in calcium absorption and bone health, and vitamin D status can become harder to maintain with age. Adults over 70 have a recommended daily intake of 800 IU (20 micrograms) under U.S. dietary reference values.
Why mushrooms respond to sunlight
Humans and mushrooms make vitamin D in different ways.
Human skin contains a cholesterol-related compound called 7-dehydrocholesterol. When UV-B radiation reaches the skin, it initiates a chemical reaction that ultimately produces vitamin D3.
Mushrooms contain ergosterol instead.
UV exposure changes ergosterol into vitamin D2. The result is not identical to the vitamin D3 produced in skin, but both forms can be absorbed and increase vitamin D levels in the body. NIH notes that vitamin D3 may raise blood levels somewhat more effectively than vitamin D2, particularly over longer periods.
The important point is that vitamin D2 from mushrooms is biologically useful—not merely a laboratory curiosity.
The evidence is stronger than you might expect
Researchers have been studying UV-exposed mushrooms for years.
In one randomized controlled trial, UV-B-treated button mushrooms contained dramatically more vitamin D2 than untreated mushrooms. People with low vitamin D status who consumed the enhanced mushrooms experienced an increase in blood 25-hydroxyvitamin D comparable to the vitamin D2 supplement group.
More recent research has taken the idea into real-world settings.
A 2025 study in a residential aged-care setting tested meals containing UV-exposed mushrooms. Vitamin D intake increased substantially during the intervention, and more than three-quarters of participants rated the mushroom meals as good or excellent. The researchers concluded that vitamin D mushrooms could be a practical food-first approach for increasing vitamin D intake in aged care.
That is particularly interesting because older adults can be vulnerable to inadequate vitamin D intake and reduced vitamin D production from sunlight.
But there is an important catch
It would be tempting to conclude that everyone should simply put a carton of mushrooms outside for a few minutes and create a predictable dose of vitamin D.
The science is not that simple.
Vitamin D production depends on the mushroom species, variety, surface area, UV intensity, exposure conditions and processing. Laboratory and commercial UV treatments can also be much more controlled than ordinary sunlight.
Cooking can affect vitamin D content as well. One clinical study in people with prediabetes found that vitamin D2 from UV-treated mushrooms did not consistently produce the expected rise in blood vitamin D, partly because cooking reduced the vitamin D content and other factors may have limited absorption or metabolism.
So the idea is promising—but “sunlight makes mushrooms high in vitamin D” does not mean every mushroom exposed to sunlight contains a precisely predictable amount.
Why this matters after 70
Vitamin D becomes particularly relevant to healthy aging because it works closely with calcium to support normal bone health.
The U.S. recommended intake rises from 600 IU per day for adults through age 70 to 800 IU for adults over 70. Vitamin D is also involved in muscle and immune function.
That does not mean older adults should automatically take high-dose supplements.
Too much vitamin D can also be harmful, and the appropriate approach depends on diet, supplements, health conditions and, when medically appropriate, blood testing.
Food can therefore be part of the conversation.
UV-exposed mushrooms offer a plant-friendly source of vitamin D2 that can be incorporated into familiar meals—soups, stir-fries, omelets, pasta dishes or vegetable-based dinners.
A surprising brain-health connection
Researchers are also investigating whether vitamin D-enhanced mushrooms could have effects beyond vitamin D nutrition.
A recent study examined UV-exposed cremini mushrooms in adults and explored measures of mood, anxiety, depression, cognition and well-being. The study was relatively small and short, so it does not establish that vitamin D mushrooms improve brain health.
That distinction is important.
There is a difference between discovering an interesting biological signal and proving that a food prevents dementia, improves memory or treats depression.
For older readers, the responsible message is to remain curious without turning promising research into a miracle claim.
The bigger lesson
The mushroom story is fascinating because it shows how much food science can change the nutritional value of a familiar ingredient.
A mushroom grown without meaningful UV exposure may contain little vitamin D. The same basic food, after controlled UV treatment, can contain substantially more.
That is why you may now see “vitamin D mushrooms” in some markets.
They are not a replacement for sunlight, a balanced diet, supplements when medically recommended, or treatment for vitamin D deficiency.
But they offer something valuable: another food-based option.
And for older adults who eat little or no fish, follow a vegetarian diet, spend limited time outdoors or simply want more variety in their meals, that option may be worth knowing about.
The next time you see mushrooms in the produce aisle, look at them a little differently.
They may look like ordinary fungi.
But under the right kind of light, they can become something nutritionally quite different.
Photo by Jürgen: https://www.pexels.com/photo/close-up-shot-of-mushrooms-9954712/
About Wellcore Weekly: Wellcore Weekly covers health, wellness, nutrition, sleep, fitness, and medical research with timely, easy-to-understand updates for everyday readers.
