Vitamin D2 (ergocalciferol) helps your body absorb calcium, supports bone health, aids muscle function, and plays a role in immune defense. It’s one of two forms of vitamin D found in supplements and food, and your body converts it into the same active hormone that vitamin D3 produces, though less efficiently. Understanding what D2 actually does, where it comes from, and how it compares to D3 can help you make smarter choices about your intake.
How Your Body Activates Vitamin D2
Vitamin D2 doesn’t do much on its own. It needs to be chemically transformed before your body can use it. The process starts in the liver, where an enzyme adds a hydroxyl group to the molecule, creating a compound called 25(OH)D. This is the form doctors measure in blood tests to check your vitamin D status. From there, the kidneys convert it into the fully active hormone, which then circulates and acts on cells throughout your body.
Here’s where D2 and D3 diverge. The liver has two main enzyme systems that handle this first activation step. One of them, located in the cell’s mitochondria, converts D3 about five times faster than it converts D2. The other enzyme system can handle both forms, but overall, D2 produces less of the circulating 25(OH)D per dose than D3 does. This is why many researchers and clinicians consider D3 the more potent option, though D2 still works and remains widely prescribed.
Calcium Absorption and Bone Health
The most well-established role of vitamin D2 is helping your intestines absorb calcium and phosphorus from food. Without adequate vitamin D, your body absorbs only about 10 to 15 percent of the calcium you eat. With sufficient levels, that jumps to around 30 to 40 percent. This matters enormously for bone density. When calcium absorption drops too low, your body pulls calcium from your skeleton to maintain blood levels, gradually weakening bones over time.
Severe vitamin D deficiency causes rickets in children (soft, bowed bones) and osteomalacia in adults (painful bone softening). Blood levels below 12 ng/mL are associated with these conditions. Levels between 12 and 20 ng/mL are generally considered inadequate for bone and overall health, while 20 ng/mL or above is sufficient for most people. Levels above 50 ng/mL may carry risks, particularly above 60 ng/mL.
Muscle Strength and Fall Prevention
Vitamin D2 influences your muscles through several pathways. It regulates how muscle cells use energy, controls calcium flow into muscle fibers, and affects how strongly those fibers contract. Because calcium is essential for every muscle contraction, vitamin D’s role in calcium absorption indirectly supports neuromuscular coordination as well.
Deficiency creates real, measurable problems. Low vitamin D is linked to increased muscle weakness, slower recovery after injury or surgery, and a higher risk of falls, especially in older adults. Studies using high-dose D2 supplementation (50,000 IU prescriptions) have found that more than half of surgical patients had inadequate levels before treatment, with 27 percent fully deficient. Correcting the deficiency improved strength outcomes. This is one reason doctors routinely test vitamin D levels in older patients who report weakness or frequent falls.
Immune System Effects
Vitamin D plays a broad role in immune regulation, but D2 and D3 don’t behave identically here. A study published in Frontiers in Immunology analyzed blood gene expression in people supplemented with either form and found that while both altered immune-related genes, most changes were specific to one form or the other. The most notable difference: only vitamin D3 stimulated gene activity related to type I and type II interferon responses, which are critical for fighting bacterial and viral infections. Vitamin D2 did not show this same effect.
This doesn’t mean D2 is immunologically useless. Both forms influenced overlapping sets of immune genes. But for immune support specifically, the evidence tilts toward D3 having a broader impact.
Where Vitamin D2 Comes From
Unlike D3, which your skin produces from sunlight and which comes from animal sources like fatty fish and egg yolks, D2 is found almost exclusively in fungi. Mushrooms are the primary dietary source, but their D2 content varies wildly depending on whether they’ve been exposed to UV light.
- UV-treated portabella mushrooms: 446 IU per 100 grams, compared to just 11 IU without UV exposure
- Maitake mushrooms: range from 4 IU to 2,242 IU per 100 grams, depending on growing methods
- Wild chanterelles and morels: roughly 206 to 212 IU per 100 grams, higher than most untreated commercial mushrooms because natural sunlight exposure during growth boosts D2 production
- Untreated white button mushrooms: only about 4 IU per 100 grams
The takeaway: if you’re relying on mushrooms for vitamin D2, look for labels that say “UV-treated” or “exposed to UV light.” A brief 15- to 20-second UV exposure during processing can increase D2 content by more than 40 times. Wild-harvested varieties like chanterelles and morels naturally contain more D2 than commercially grown mushrooms kept in the dark.
Vitamin D2 is also added to some fortified foods like orange juice, plant milks, and cereals, and it’s the form used in most prescription-strength vitamin D supplements in the United States.
How D2 Compares to D3
Both forms raise your blood levels of vitamin D, but they’re not equally effective. D3 consistently produces more circulating 25(OH)D per unit than D2 does. The liver metabolizes them differently, and D2 appears to break down faster in the body. For maintaining steady, long-term vitamin D status, D3 has a clear edge.
That said, D2 still raises blood levels meaningfully and is the go-to option for people who avoid animal products, since D3 supplements are typically derived from lanolin (sheep’s wool oil) or fish oil. Prescription vitamin D in the U.S. has traditionally been D2 in 50,000 IU capsules, used to correct confirmed deficiency. If you’re taking D2 and your levels are where they should be on blood work, there’s no reason to switch. If your levels aren’t responding well, your provider may recommend trying D3 instead.
How Much You Need
The recommended daily amount of vitamin D (from D2, D3, or both combined) is 600 IU for most adults and 800 IU for those over 70. Blood levels of 20 ng/mL or higher are considered adequate. Below 12 ng/mL signals deficiency.
The upper tolerable intake is 4,000 IU per day for adults from supplements, though prescription doses for treating deficiency can be much higher under medical supervision. Blood levels above 50 ng/mL are linked to potential harm, including elevated calcium in the blood, nausea, and kidney problems. Because D2 is less potent per dose than D3, the risk of toxicity from D2 supplements alone is relatively low at standard doses, but it’s still possible with prolonged high intake.