Vitamin D2 (ergocalciferol) is used to help your body absorb calcium and phosphorus, keeping bones strong and mineralized. It’s available both as an over-the-counter supplement and in prescription-strength doses for treating specific medical conditions like rickets, hypoparathyroidism, and certain inherited bone disorders.
How Vitamin D2 Works in Your Body
Vitamin D2 stimulates your intestines to absorb calcium and phosphorus from the food you eat. Without enough of it, your body can’t pull these minerals efficiently from your diet, no matter how much calcium-rich food you consume. Once you take vitamin D2, your liver converts it into a partially active form, which then travels to your kidneys and gets converted again into its fully active form. This active version triggers changes at the cellular level, essentially switching on the genes responsible for building the proteins your gut needs to transport calcium.
Because vitamin D2 is fat-soluble, it needs dietary fat to be absorbed properly. It gets packaged alongside fats during digestion, carried into your lymphatic system, and quickly transported to the liver. People with conditions that impair fat absorption, such as celiac disease, Crohn’s disease, or chronic liver problems, often develop vitamin D deficiency for this reason. Taking vitamin D2 with a meal that contains some fat improves absorption significantly.
Medical Conditions Treated With Vitamin D2
Doctors prescribe high-dose vitamin D2 for several specific conditions beyond general deficiency:
- Hypoparathyroidism: When the parathyroid glands don’t produce enough hormone to regulate calcium, vitamin D2 helps compensate by boosting calcium absorption directly.
- Refractory rickets: A form of bone softening and weakening that doesn’t respond to standard treatment. Prescription-strength vitamin D2 can push calcium and phosphorus levels high enough to support proper bone formation.
- Familial hypophosphatemia: An inherited condition where the body can’t properly process vitamin D on its own, leading to rickets or bone weakening. Higher doses of D2 help override this metabolic bottleneck.
For general vitamin D deficiency, which is extremely common, doctors often prescribe a weekly high-dose capsule of D2 (typically 50,000 IU) for several weeks to bring levels back up, then transition to a daily maintenance dose.
Vitamin D2 vs. D3
The key difference is where they come from. Vitamin D2 is plant-based, produced when a compound called ergosterol in fungi and plants gets exposed to ultraviolet light. Vitamin D3, on the other hand, comes from animal sources and is the same form your skin produces in sunlight.
Both forms go through the same two-step activation process in your liver and kidneys, and both raise your blood levels of vitamin D. However, research suggests D3 may be slightly more effective at raising and maintaining those levels over time. That said, D2 remains widely prescribed and is the go-to option for people following a vegan diet, since standard D3 supplements are derived from animal products like lanolin (sheep’s wool oil) or fish oil. Vegan-friendly D3 made from lichen does exist, but D2 supplements are more widely available and typically less expensive.
Food Sources of Vitamin D2
Mushrooms are one of the only plant foods that naturally contain vitamin D2. They carry ergosterol, which converts to vitamin D2 when exposed to UV light. Mushrooms grown outdoors or exposed to UV light during processing can contain meaningful amounts. Even a brief 15 to 20 seconds of UV exposure during commercial processing dramatically increases the vitamin D2 content. Some grocery stores now sell UV-treated mushrooms specifically marketed for their vitamin D content.
Wild mushrooms that grow in sunlight tend to have higher levels than commercially grown varieties raised in dark warehouses. If you buy regular white or cremini mushrooms, you can actually boost their vitamin D2 content at home by placing them gill-side up in direct sunlight for 15 to 30 minutes before eating them.
How Much You Need
The recommended daily amount of vitamin D (from D2, D3, or both combined) is 600 IU for most adults aged 19 to 70, and 800 IU for adults over 70. Infants need 400 IU daily. These recommendations apply to both men and women, including during pregnancy and breastfeeding.
The tolerable upper limit, meaning the maximum daily amount considered safe for long-term use, is 4,000 IU for anyone aged 9 and older. For younger children, the ceiling is lower: 1,000 IU for infants under 6 months, 1,500 IU for infants 7 to 12 months, 2,500 IU for toddlers, and 3,000 IU for children aged 4 to 8. Many doctors prescribe doses above 4,000 IU for short periods to correct a deficiency, but these higher doses require blood level monitoring.
Signs of Too Much Vitamin D2
Vitamin D2 toxicity is rare from food alone but can happen with excessive supplementation. The core problem is that too much vitamin D forces your body to absorb too much calcium, a condition called hypercalcemia. Early symptoms include loss of appetite, nausea, and vomiting. As calcium levels climb higher, you may experience excessive thirst, frequent urination, weakness, and nervousness.
Toxicity typically shows up when blood levels of 25-hydroxyvitamin D exceed 150 ng/mL, far above the 30 to 50 ng/mL range considered healthy. At that point, blood calcium levels rise to dangerously high levels that can damage the kidneys, causing protein in the urine, calcium deposits in kidney tissue, and eventually kidney failure if left untreated. This is why high-dose prescriptions come with periodic blood tests to check both vitamin D and calcium levels.
Drug Interactions to Be Aware Of
Vitamin D2 interacts with over 100 medications, though most interactions are moderate rather than dangerous. The most clinically significant ones involve thiazide diuretics (commonly prescribed for high blood pressure), which reduce how much calcium your kidneys flush out. Combining these with vitamin D2 can push calcium levels too high. Corticosteroids like prednisone are another common interaction, as they reduce calcium absorption and can blunt the effectiveness of vitamin D2, sometimes requiring a higher dose to compensate.
If you’re taking any prescription medications, especially for blood pressure, inflammation, or weight management, let your prescriber know before starting vitamin D2 supplements so they can adjust doses or monitor your levels accordingly.

