Vitamin D Basics

Your Evidence-Based Guide to Vitamin D

Understand the essential fat-soluble vitamin that supports bone health. Explore sources, deficiency risks, testing, and supplementation—all grounded in current medical research.

Your Evidence-Based Guide to Vitamin D

What Is Vitamin D?

Vitamin D is a fat-soluble prohormone with several forms. The two most important in humans are vitamin D3 (cholecalciferol) and vitamin D2 (ergocalciferol). Although often called a vitamin, it acts more like a hormone, influencing calcium and phosphorus balance throughout the body.

Vitamin D3 is naturally found in animal foods and is also produced in your skin when it is exposed to ultraviolet B (UVB) rays from sunlight. Vitamin D2 comes from fungal and plant sources, such as mushrooms, and is also used in fortified foods and supplements.

Sources: University of Washington Department of Laboratory Medicine & Pathology, Cleveland Clinic Journal of Medicine, GoodRx

Why Vitamin D Matters

Your body needs vitamin D to regulate calcium and phosphorus—two minerals that are critical for building and maintaining strong bones. Without enough vitamin D, your bones can become thin, brittle, or misshapen. While these are the most clearly established roles, researchers continue to investigate other potential health effects.

The active form of vitamin D is made through a two-step process: the liver converts both D2 and D3 to 25-hydroxyvitamin D (calcidiol), which is the main circulating form. Then the kidneys and other tissues convert that into 1,25-dihydroxyvitamin D (calcitriol), which is the most metabolically active form.

Sources: University of Washington Department of Laboratory Medicine & Pathology

Key Sources of Vitamin D

Vitamin D is unique because your skin can produce it when exposed to UVB radiation from the sun. For some people, as little as 5 to 30 minutes of sun exposure per day may provide enough, but this varies widely by skin tone, latitude, time of day, and sunscreen use. However, because of the risk of skin cancer, some health organizations recommend obtaining vitamin D from food and supplements rather than intentional sun exposure.

Natural dietary sources are actually few. The richest natural sources are fatty fish and fish liver oils, but even these provide only a fraction of the daily recommended intake when consumed in normal portions. Most people in the US rely on fortified foods like milk and cereals, which contain vitamin D2 or D3.

If you are looking for a convenient comparison of D2 and D3, see the table below.

  • Fatty fish (such as salmon, trout, and tuna) and fish liver oils are among the richest natural sources.
  • Egg yolks contain small amounts of vitamin D3.
  • Mushrooms can provide vitamin D2, especially if they are exposed to UV light.
  • Many dairy products, breakfast cereals, and orange juice are fortified with vitamin D.

Sources: GoodRx, Clarity X DNA, Cleveland Clinic Journal of Medicine

Understanding Deficiency

Vitamin D deficiency is common in the United States. An analysis of national survey data from 2011 to 2014 found that almost 20% of the population had blood levels of 25-hydroxyvitamin D (25(OH)D) that put them at risk for inadequacy (30–49 nmol/L or 12–19 ng/mL), and 5% were at risk for deficiency (below 30 nmol/L or 12 ng/mL).

Certain groups are more likely to be deficient. Lack of sun exposure, older age, and obesity are recognized risk factors, as are conditions that affect fat absorption, such as celiac disease or Crohn’s disease. People who take medications like corticosteroids or anti-seizure drugs may also need extra attention to their vitamin D status.

Signs of vitamin D deficiency can be subtle. Some individuals may experience bone pain or back pain, and long-term deficiency can lead to osteoporosis in adults or rickets in children. However, these symptoms are not specific, so a blood test is often needed to confirm.

Sources: Cleveland Clinic Journal of Medicine, Serenity Pregnancy Resource Center, GoodRx

Importance of Testing

How do you know if you are deficient? A simple blood test can measure your vitamin D level. The preferred initial test is the 25-hydroxyvitamin D (25(OH)D) test because it reflects both vitamin D2 and D3 and is the best indicator of total body stores in patients without kidney disease.

Doctors do not recommend routine testing for everyone. Following guidelines from the Endocrine Society and the Choosing Wisely campaign, doctors should order a vitamin D test only when a person has specific risk factors or symptoms. These include obesity, osteoporosis, or long-term treatment with corticosteroids or anti-seizure medications.

It’s important to note that the test for 1,25-dihydroxyvitamin D (the active form) is not useful for routine screening. That test does not reflect your body’s vitamin D reserves and cannot reliably detect toxicity. Your doctor may order it in special situations, but it is not part of standard screening.

Sources: University of Washington Department of Laboratory Medicine & Pathology

Guide to Supplementation

If you cannot get enough vitamin D from sun and food, a supplement can help. Two forms are available: vitamin D2 (ergocalciferol) and vitamin D3 (cholecalciferol). While both can raise blood levels, vitamin D3 appears to be more effective at raising and maintaining your 25(OH)D levels. This may be because D3 binds more strongly to vitamin D binding proteins in the blood and is converted more efficiently in the liver.

Both D2 and D3 supplements are available over the counter at common doses like 400, 800, 2,000 IU. Vitamin D2 is also available by prescription, often as high-dose capsules of 50,000 IU, which doctors may use to treat severe deficiency.

For treating a confirmed deficiency, typical replacement therapy is at least 2,000 IU per day, with some doctors recommending up to 5,000 IU. After an initial correction period, a maintenance dose of at least 2,000 IU daily is often used. However, the exact dose should always be guided by your healthcare provider and based on your blood levels.

Taking too much vitamin D can cause harmful side effects, primarily by raising blood calcium to dangerous levels. The risk of toxicity comes from high-dose supplements, not from sun exposure or food. Symptoms of excess vitamin D include nausea, vomiting, weakness, and kidney problems. Never take more than the recommended amount without medical supervision.

Sources: Cleveland Clinic Journal of Medicine, University of Washington Department of Laboratory Medicine & Pathology, GoodRx, MDPI Nutrients

Vitamin D2 vs. D3: A Side-by-Side Comparison

When choosing a supplement, you may wonder about the differences between vitamin D2 and D3. The table below summarizes the key differences, based on current evidence.

Vitamin D2 vs. D3
AttributeVitamin D2 (ergocalciferol)Vitamin D3 (cholecalciferol)
SourcePlant/fungal; found in mushrooms and many fortified foods. Supplements are made in a laboratory.Animal; found in fatty fish and egg yolks. It is also produced in human skin upon sun exposure.
PotencyGenerally considered less potent; does not raise 25(OH)D levels as effectively as D3.More potent and better at raising and maintaining 25(OH)D levels.
AvailabilityOver the counter at common doses (e.g., 400–2,000 IU) and by prescription at 50,000 IU.Over the counter at many doses (e.g., 400–10,000 IU); not typically prescribed.
Dietary sourcesMushrooms, fortified foods such as yogurt and cereal.Fatty fish, egg yolks, and fortified dairy products.

Sources: University of Washington Department of Laboratory Medicine & Pathology, Cleveland Clinic Journal of Medicine, GoodRx

Frequently asked questions

What is the main function of vitamin D?

Vitamin D's primary role is to regulate calcium and phosphorus in the body, which is essential for developing and maintaining strong, healthy bones. It helps your intestines absorb calcium and phosphorus from the food you eat. Without adequate vitamin D, bones can become weak and prone to fractures.

Sources: Serenity Pregnancy Resource Center, University of Washington Department of Laboratory Medicine & Pathology
How much vitamin D do I need per day?

The recommended dietary allowance (RDA) is 600 IU per day for adults aged 1–70 years and 800 IU per day for those 71 and older. For infants under 12 months, the recommendation is 400 IU per day. These values are based on standard dietary reference intakes, though your doctor may recommend a higher dose if you are deficient.

Sources: GoodRx
What are the signs of vitamin D deficiency?

Signs can include bone pain and back pain. In severe cases, deficiency can lead to rickets in children and osteoporosis in adults. However, many people with low vitamin D have no obvious symptoms, so a blood test is the most reliable way to identify deficiency.

Sources: Serenity Pregnancy Resource Center
Can I get enough vitamin D from sunlight alone?

For some people, yes. Exposing your skin to UVB rays triggers vitamin D production, and as little as 5–30 minutes a day may be sufficient for some. However, this depends on many factors, such as skin tone, time of day, latitude, and sunscreen use. In addition, repeated unprotected sun exposure raises the risk of skin cancer, so some health organizations recommend relying on food and supplements for your daily vitamin D.

Sources: GoodRx
What is the difference between vitamin D2 and D3?

Vitamin D2 (ergocalciferol) comes from plant and fungal sources, while vitamin D3 (cholecalciferol) comes from animal sources and is also produced in your skin with sun exposure. Both can raise blood levels of vitamin D, but D3 is more effective at raising and maintaining 25-hydroxyvitamin D levels. D2 is available by prescription in high doses, while D3 is commonly sold over the counter.

Sources: Cleveland Clinic Journal of Medicine, GoodRx
Should I get tested for vitamin D levels?

Routine testing is not recommended for everyone. Current guidelines suggest testing only for people with specific risk factors, such as obesity, osteoporosis, or those on long-term corticosteroid or anti-seizure medications. If you are concerned about deficiency, talk to your healthcare provider about whether a 25-hydroxyvitamin D test is appropriate for you.

Sources: University of Washington Department of Laboratory Medicine & Pathology, MDPI Nutrients

Sources

  1. Vitamin D Testing Recommendations - UW Medicine Pathology — University of Washington Department of Laboratory Medicine & Pathology
  2. Vitamin D supplementation: Pearls for practicing clinicians — Cleveland Clinic Journal of Medicine
  3. Vitamin D: Evidence-Based Health Benefits and Recommendations for Population Guidelines — MDPI Nutrients
  4. Vitamin D2 vs. Vitamin D3: Key Differences and Which to Choose - GoodRx — GoodRx
  5. Vitamin D vs D3: Understanding the Key Differences — Clarity X DNA
  6. Understanding Vitamin D Deficiency — Serenity Pregnancy Resource Center
NEW AND UPDATED

Latest articles

Vitamin d benefits

Explain the evidence-based benefits of vitamin D for bone health, immune function, and other aspects of health.

Available now

Vitamin d deficiency

Provide comprehensive information on vitamin D deficiency, including causes, symptoms, risk factors, and implications.

Available now

Vitamin d foods

Provide a comprehensive reference of dietary sources of vitamin D, including natural and fortified foods.

Available now

Vitamin d2 vs d3

Compare the two main forms of vitamin D supplements—ergocalciferol (D2) and cholecalciferol (D3)—explaining the difference in food sources, potency, and research support.

Vitamin d from sun

Educate on the role of sunlight in vitamin D synthesis, balancing benefits with skin cancer risk.

Vitamin d test

Explain what the vitamin D blood test measures, why and when it is ordered, and how to interpret the results in the context of official guidelines.

Vitamin d deficiency treatment

Provide evidence-based treatment options for vitamin D deficiency, including supplements, diet, and monitoring.

Vitamin d supplements

Guide readers on choosing and using vitamin D supplements safely, including dosing and avoiding toxicity.

Vitamin d for elderly

Address the elevated risk of vitamin D deficiency in older adults, focusing on why it matters for bone and muscle health, and how they can safely maintain adequate levels.