From October to March, the sun in the UK is too low in the sky for our skin to make vitamin D. That’s why the UK government advises everyone to consider a daily vitamin D supplement in autumn and winter.

But here’s something many people don’t know: mushrooms can make vitamin D too, in a very similar way to our skin. When they are exposed to ultraviolet (UV) light, from the sun or from a special lamp, their vitamin D content goes up a lot.
This makes mushrooms one of the very few vegetarian foods that can give you a useful amount of vitamin D. In this post about mushrooms and vitamin D, you will learn how vitamin D mushrooms work, a simple sunlight trick, the other benefits of mushrooms, and easy ways to cook them.
Quick answer: Mushrooms contain a substance called ergosterol, which turns into vitamin D2 when exposed to UV light. “Vitamin D mushrooms” sold in some UK supermarkets have been treated with UV light; an 80 g portion can give about a third of the daily 10 micrograms. Normal mushrooms have very little vitamin D. Mushrooms are a helpful extra, but in winter you should still follow the advice to consider a 10 microgram vitamin D supplement.
Why Vitamin D Matters in the UK
Vitamin D helps your body absorb calcium. It is needed for healthy bones, teeth and muscles.
In the UK:
- Between October and early March, we cannot make vitamin D from sunlight, because the sun is too low.
- Very few foods naturally contain much vitamin D. The main ones are oily fish, egg yolks and fortified foods, which is a challenge for vegetarians.
- So the government advises that everyone aged 4 and over should consider taking a daily 10 microgram (400 IU) vitamin D supplement from October to March.
- People who get little sun, or who have darker skin (for example people of African, African-Caribbean or South Asian background), may need a supplement all year round.
Our earlier post on the best sources of vitamin D for vegans explains more.
Mushrooms and Vitamin D: How Does It Work?
Mushrooms contain a natural substance called ergosterol. It is similar to the cholesterol in our skin that turns into vitamin D in sunlight.
When mushrooms are exposed to UV light, ergosterol turns into vitamin D2. Most mushrooms are grown in the dark, so ordinary shop mushrooms contain very little vitamin D. But after UV exposure, they can contain a lot more.
Research reviews have found that when common mushrooms are exposed to UV light, they can produce nutritionally useful amounts of vitamin D, and they are one of the only non-animal, unfortified foods that can do this.

Vitamin D Mushrooms in UK Supermarkets
Some UK supermarkets sell mushrooms labelled “vitamin D mushrooms” or “high in vitamin D”. These have been briefly exposed to UV light after harvesting.
According to the British Heart Foundation, an 80 g portion of vitamin D-enriched mushrooms gives about 3.2 micrograms of vitamin D. That is about a third of the daily 10 micrograms.
Look for them next to the ordinary mushrooms. Check the label for the words “vitamin D” and the amount per portion.
The Sunlight Trick
You can also boost vitamin D in your own mushrooms with sunlight. In one study, button mushrooms placed in direct sunlight produced almost as much vitamin D as mushrooms treated with a UV lamp.
How to try it:
- Slice your mushrooms (more surface = more vitamin D) or place whole ones gill-side up.
- Spread them on a tray in direct sunlight outdoors, for at least 30 to 60 minutes around the middle of the day.
- Cook or store them in the fridge as usual.
The catch for the UK: this works best on bright days from late spring to early autumn, when the sun is strong enough. In winter, the sun is too weak, which is exactly when we need vitamin D the most. So in winter, choose UV-treated vitamin D mushrooms from the shop instead, and follow the supplement advice.
Other Health Benefits of Mushrooms
Even without the vitamin D boost, mushrooms are a great food:
- Very low in calories and fat.
- B vitamins such as riboflavin and niacin, which help your body release energy from food.
- Minerals like potassium, copper and selenium.
- Fibre, including beta-glucans.
- A meaty texture and rich “umami” flavour, which makes them perfect for vegetarian meals and for cutting down on meat.
About 14 button mushrooms (80 g) count as one portion of your 5 A Day.
Which Mushrooms to Buy
- White button mushrooms: Mild and cheap. Great for everyday cooking.
- Chestnut mushrooms: Browner, firmer and more flavourful. A great all-rounder.
- Portobello (large flat) mushrooms: Meaty. Perfect for grilling as “burgers”.
- Oyster and shiitake: Found in many supermarkets now. Great in stir-fries.
- Vitamin D mushrooms: UV-treated button or chestnut mushrooms.
Storage: Keep mushrooms in a paper bag in the fridge, not a sealed plastic box, so they don’t go slimy. Use within 4 to 5 days. Wipe or rinse them quickly just before cooking.
Never pick wild mushrooms unless you are with a trained expert. Some poisonous mushrooms look very like edible ones and can be deadly.

4 Easy Mushroom Ideas
1. Garlic mushrooms on toast
Fry sliced mushrooms in a little olive oil or butter with garlic for 5 to 6 minutes until golden. Add a squeeze of lemon, black pepper and chopped parsley. Pile onto wholemeal toast. A classic British breakfast or lunch.
2. Mushroom and spinach omelette-style wrap (egg-free)
Make a quick besan (gram flour) pancake, as in our healthy Indian breakfast ideas, and fill it with fried mushrooms and wilted spinach.
3. Portobello burgers
Brush large flat mushrooms with oil and garlic. Grill for 4 to 5 minutes each side. Serve in a wholemeal bun with salad and a spoon of hummus.
4. Mushroom matar masala (Indian twist)
See the recipe below.
Mushroom Matar Masala
Prep time: 10 minutes | Cook time: 20 minutes | Serves: 3 to 4
Ingredients
- 1 tablespoon oil
- 1 teaspoon cumin seeds
- 1 onion, finely chopped
- 1 teaspoon ginger-garlic paste
- 2 tomatoes, chopped (or ½ tin chopped tomatoes)
- ½ teaspoon turmeric
- 1 teaspoon ground coriander
- ½ teaspoon chilli powder
- 250 g chestnut or vitamin D mushrooms, sliced
- 1 cup frozen peas
- ½ teaspoon garam masala
- Salt to taste
- Fresh coriander to finish
Method
- Heat the oil and add cumin seeds. When they sizzle, add the onion and cook for 5 minutes until golden.
- Add ginger-garlic paste and cook for 1 minute.
- Add tomatoes, turmeric, coriander, chilli and salt. Cook for 5 minutes until soft and saucy.
- Add the mushrooms. Cook for 5 minutes until they release their juices.
- Add the peas and a splash of water. Simmer for 5 minutes.
- Stir in garam masala and fresh coriander. Serve with roti or rice.
Who Should Be Careful?
- Mushroom allergy or intolerance: Rare, but avoid if mushrooms make you unwell.
- Wild mushrooms: Never eat wild mushrooms unless identified by an expert.
- Vitamin D supplements: You don’t need more than the advised 10 micrograms a day unless your doctor says so. Taking very high doses for a long time can be harmful.
Frequently Asked Questions
Do normal mushrooms contain vitamin D?
Only a very small amount, because most mushrooms are grown in the dark. UV-treated vitamin D mushrooms, or mushrooms you have put in strong sunlight, contain much more.
Is vitamin D2 from mushrooms as good as vitamin D3?
Both forms help your body. Some research suggests vitamin D3 raises blood levels a little more effectively, but vitamin D2 from mushrooms is still useful, especially for vegetarians.
Does cooking destroy vitamin D in mushrooms?
Some vitamin D is lost during cooking and storage, but a good amount remains, especially if you eat them before the best-before date.
Can mushrooms replace a vitamin D supplement in winter?
Not reliably. It is hard to get the full 10 micrograms from food alone, which is why the UK advice is to consider a daily supplement from October to March. Mushrooms are a helpful extra.
Can I put mushrooms on a sunny windowsill?
Glass blocks most of the UVB light that mushrooms need, so they work much better outdoors in direct sunlight.
Final Words
Mushrooms are an easy, affordable superfood with a special trick: they can make their own vitamin D. In winter, look for UV-treated vitamin D mushrooms in the supermarket. In summer, try putting them in the sun before cooking.
But remember: in the UK winter, a 10 microgram vitamin D supplement is still the simplest way to protect your bones and muscles. Mushrooms are a tasty way to help along the way.
This article is for general information only and is not medical advice. Please speak to your GP or pharmacist about vitamin D supplements, especially if you have a medical condition or take other medicines.




