When comparing vitamin D supplements vs sunlight, neither one wins for everyone. Sunlight is free, and your body can’t overdose on vitamin D from it. But it’s unreliable in winter, less effective as you age, and it raises your skin cancer risk. Supplements give a predictable dose all year, but taking too much can cause harm.
For many US adults over 30, the practical answer is a combination adjusted to four factors: age, skin tone, where you live, and the time of year. This guide explains how each one affects your levels, what the evidence says about benefits and risks, and when a blood test is worth discussing with your doctor.
Key Takeaways
- The US Recommended Dietary Allowance (RDA) is 600 IU (15 mcg) a day for adults 19–70 and 800 IU (20 mcg) for adults over 70. The Tolerable Upper Intake Level (UL) is 4,000 IU (100 mcg), a safety ceiling rather than a target.
- The RDA assumes minimal sun exposure, so it applies even if you rarely go outside.
- Sun exposure can’t cause vitamin D toxicity, but high-dose supplements can.
- In much of the northern US, winter sunlight is too weak for your skin to make meaningful vitamin D for several months.
- Older skin makes less vitamin D, and darker skin needs more sun exposure to make the same amount.
- Major guidelines don’t recommend routine vitamin D testing for healthy adults, but some groups have good reasons to ask for one.
Sunlight vs Supplements at a Glance
| Factor | Sunlight | Supplements |
| Cost | Free | Low cost |
| Reliability | Varies with season, location, age, skin tone | Consistent dose year-round |
| Risk of vitamin D toxicity | None | Possible with long-term high doses |
| Other risks | Sunburn, skin aging, skin cancer | Interactions with some medications; label accuracy varies |
| Works in winter (northern US) | Often not | Yes |
| Easy to measure intake | No | Yes |
How Your Body Makes Vitamin D From Sunlight

When ultraviolet B (UVB) rays hit your skin, they convert a cholesterol-based compound called 7-dehydrocholesterol into vitamin D3. Your liver then turns it into 25-hydroxyvitamin D, or 25(OH)D, the form a blood test measures. Your kidneys convert that into the active hormone your body uses to absorb calcium and support bone health.
Vitamin D from supplements follows the same path from the liver onward. Your body doesn’t treat “sunshine vitamin D” as more natural or more effective once it’s in your bloodstream.
Can You Get Enough Vitamin D From the Sun?
Sometimes, yes. Many people make a meaningful amount of vitamin D in summer, and some likely meet their needs through sun alone. The problem is that how much you make depends on so many factors that no single exposure time works for everyone.
Some researchers have suggested that roughly 5–30 minutes of midday sun on the face, arms, legs, or back, about twice a week, may be enough for many people to produce vitamin D. However, the amount produced varies substantially depending on skin pigmentation, age, geographic location, season, weather, clothing, and sunscreen use. The NIH Office of Dietary Supplements notes that these factors make it difficult to establish a universal amount of sun exposure that produces sufficient vitamin D for everyone.
The main factors that change how much vitamin D you make:
- Time of day. UVB is strongest around midday. Early morning and late afternoon sun produces much less.
- Latitude and season. The farther north you live, the weaker UVB gets, especially in winter.
- Skin tone. Melanin, the pigment in darker skin, absorbs UVB, so darker skin needs longer exposure to make the same amount.
- Age. Skin makes less vitamin D as you get older (covered below).
- Body weight. People with obesity tend to have lower blood levels, likely because vitamin D is stored in fat tissue.
- Clothing and shade. Covered skin makes little or no vitamin D.
What About Sunscreen?
In theory, sunscreen blocks UVB. In practice, studies have not consistently shown that typical sunscreen use causes vitamin D deficiency, partly because people may not apply enough sunscreen to block all UVB. The NIH Office of Dietary Supplements notes that sunscreen can reduce vitamin D production, but avoiding sunscreen to increase vitamin D is not recommended because UV exposure increases skin-cancer risk.
Vitamin D From Sunlight in Winter

This is where sunlight falls short for a large share of Americans. At around 42° north latitude, such as Boston, UVB radiation can be insufficient for meaningful vitamin D production during much of the winter, particularly from November through February. However, the exact amount of vitamin D produced varies with latitude, season, time of day, weather, skin pigmentation, and other factors. Research published in the Journal of General Internal Medicine found that vitamin D production from sunlight was essentially absent in Boston during November through February.
Your body stores some vitamin D in fat and the liver, so summer exposure carries over for a while. Blood levels still tend to dip in late winter and early spring.
A rough visual cue some people use: when your shadow is longer than you are tall, the sun is too low for much UVB. It’s imprecise, but it shows why a sunny January afternoon in Chicago doesn’t help much.
If you live in the northern half of the country and spend most winter days indoors, food and supplements are the more realistic winter sources.
Vitamin D Production Declines With Age

Aging skin contains less 7-dehydrocholesterol, the starting compound for vitamin D production. As a result, older adults can make substantially less vitamin D from the same amount of UVB exposure. One commonly cited estimate is that a 70-year-old may produce only about one-quarter as much vitamin D3 from the same exposure as a 20-year-old. This age-related difference has been reported in the scientific literature.
For readers in their 30s and 40s, this decline is gradual rather than dramatic. It becomes more relevant after 60 or 70, when other factors add up. Older adults often spend more time indoors, and kidney function that converts vitamin D to its active form can decline.
This is one reason the US RDA rises from 600 IU to 800 IU after age 70. It’s also why the Endocrine Society’s 2024 guideline suggests routine supplementation for adults 75 and older, without testing first.
Can You Overdose on Vitamin D From the Sun?
No. With prolonged sun exposure, your skin breaks down extra previtamin D3 and vitamin D3 into inactive compounds. This built-in limit prevents toxicity from sunlight alone.
Sunlight carries a different risk. Ultraviolet (UV) radiation is a known human carcinogen, and excessive exposure increases the risk of skin cancer and premature skin aging. The National Toxicology Program’s Report on Carcinogens identifies solar radiation as a known human carcinogen. The American Academy of Dermatology recommends obtaining vitamin D through a healthy diet and appropriate supplementation rather than intentional unprotected UV exposure or indoor tanning.
So “you can’t overdose from the sun” is true for vitamin D. It isn’t a reason to seek more sun than you otherwise would.
Supplements: What They Do Well and Where They Can Go Wrong
Supplements solve sunlight’s biggest weakness: unpredictability. A daily dose works the same way in December as in July, and it doesn’t depend on your skin tone, age, or ZIP code.
D3 vs D2
Supplements come in two forms: vitamin D3 (cholecalciferol) and vitamin D2 (ergocalciferol). Both raise blood vitamin D levels, but a systematic review and meta-analysis found that vitamin D3 generally increases and maintains 25-hydroxyvitamin D levels more effectively than vitamin D2. The NIH Office of Dietary Supplements also notes that both forms are absorbed into the bloodstream and raise 25(OH)D levels.
Food Counts, Too
Few foods naturally contain much vitamin D. The best sources include fatty fish such as salmon and trout, fortified milk and plant milks, fortified cereals, and some mushrooms exposed to UV light. U.S. dietary survey data show that average vitamin D intake from food and beverages is well below the adult RDA for most groups. The NIH Office of Dietary Supplements summarizes these National Health and Nutrition Examination Survey (NHANES) findings.

The Risks of Supplements
Vitamin D toxicity is uncommon and usually results from taking very high doses for months, or from products that contain far more than their labels state. Too much vitamin D raises blood calcium levels (hypercalcemia), which can cause nausea, vomiting, weakness, confusion, excessive thirst, and kidney stones. In severe cases, it can damage the kidneys.
Check with your doctor before taking vitamin D if you:
- Take thiazide diuretics, which can raise calcium levels when combined with vitamin D
- Take steroid medications such as prednisone, which can affect vitamin D metabolism
- Take orlistat or cholestyramine, which can reduce vitamin D absorption
- Have kidney disease, sarcoidosis or another granulomatous disease, hyperparathyroidism, or a history of kidney stones
- Are pregnant or breastfeeding
In the US, the FDA doesn’t approve dietary supplements before they’re sold. Products with third-party seals such as USP Verified or NSF Certified have been independently checked for content.
More Isn’t Better
Vitamin D is essential for bone health, and severe deficiency can cause osteomalacia in adults. However, large randomized trials in generally healthy adults have not shown that routine vitamin D supplementation prevents cancer or cardiovascular disease in people who are not deficient. The VITAL trial also found that vitamin D supplementation did not significantly reduce total invasive cancer or major cardiovascular events in its primary analysis. A separate VITAL fracture analysis found no significant reduction in total fractures among generally healthy adults taking vitamin D3. VITAL trial results and the VITAL fracture analysis provide the primary evidence.
Is Sunlight or Supplements Better for Vitamin D? Matching the Approach to Your Situation
The table below shows reasonable starting points for common situations. It’s general guidance, not an individual recommendation.
| Your situation | Reasonable approach to consider |
| Under 50, lighter skin, southern US, outdoors regularly | Sun and food may cover much of the year; consider a supplement in winter |
| Northern US, mostly indoor work | A supplement near RDA levels, especially from fall through spring |
| Darker skin, especially in northern states | Higher risk of low levels; a supplement is often reasonable, and it’s worth discussing with your doctor |
| Over 70 | RDA rises to 800 IU; the Endocrine Society suggests supplementation for adults 75+ |
| Crohn’s disease, celiac disease, weight-loss surgery, or liver/kidney disease | Ask your doctor about testing and dosing, since absorption or conversion may be affected |
| Pregnant or breastfeeding | Follow your prenatal provider’s guidance |
For most people who choose a supplement, a daily dose at or near the RDA is a conservative starting point. Doses above the UL should only be taken under medical supervision.
When to Ask Your Doctor About a Vitamin D Blood Test

The Endocrine Society’s 2024 clinical practice guideline recommends against routine 25(OH)D testing in generally healthy adults because evidence is insufficient to establish that routine testing improves health outcomes. The U.S. Preventive Services Task Force also concluded that evidence was insufficient to assess the benefits and harms of screening for vitamin D deficiency in asymptomatic adults. Testing may still be appropriate in people with specific medical conditions or risk factors.
Consider asking about a test if you:
- Have osteoporosis, osteopenia, or a history of fractures from minor falls
- Have a condition that affects fat absorption, or have had weight-loss surgery
- Have kidney or liver disease
- Take medications that affect vitamin D, such as long-term steroids or certain anti-seizure drugs
- Have ongoing bone pain or muscle weakness without a clear cause
- Get very little sun and eat few vitamin D sources
Understanding the Numbers
Experts don’t fully agree on what counts as “enough,” which is why results can be confusing.
| Blood level of 25(OH)D | What the National Academies say |
| Below 12 ng/mL (30 nmol/L) | Risk of deficiency |
| 12–20 ng/mL (30–50 nmol/L) | Possibly inadequate for some people |
| 20 ng/mL (50 nmol/L) and above | Adequate for most people’s bone health |
| Above 50 ng/mL (125 nmol/L) | Linked to potential adverse effects |
Some laboratories and clinicians still use 30 ng/mL (75 nmol/L) as a threshold for vitamin D sufficiency, reflecting the Endocrine Society’s 2011 guideline. However, the Endocrine Society’s 2024 guideline no longer endorses specific 25(OH)D thresholds for vitamin D sufficiency, insufficiency, or deficiency in generally healthy adults. If your result falls between 20 and 30 ng/mL, discuss the result with your healthcare professional rather than assuming that one universal cutoff applies.
If you’re diagnosed with deficiency, treatment doses are often higher than the RDA for a limited period. Those doses should be set and monitored by your doctor, not copied from a study or a friend’s prescription.
FAQ
Does sitting by a sunny window help you make vitamin D?
Not much. Standard window glass blocks most UVB rays, which are the ones your skin needs to make vitamin D. Glass still lets through UVA, which contributes to skin aging, so a sunny office desk offers the downside without the vitamin D.
Is it better to take vitamin D daily or in a large weekly dose?
Both daily and intermittent vitamin D dosing can raise blood vitamin D levels, but very large, infrequent doses are not necessarily safer or more effective. In a randomized trial involving 2,256 women aged 70 and older, a single 500,000-IU dose of vitamin D given once annually was associated with higher rates of falls and fractures than placebo. The randomized trial is one reason extremely large annual doses are not generally used as a routine strategy. Daily or weekly dosing within medical guidance is more common when supplementation is indicated.
Do I need to take vitamin K2 or calcium with vitamin D?
Vitamin D works on its own, and the evidence that adding K2 improves outcomes for most people is still limited. For calcium, most experts prefer food sources first. Whether you need a calcium supplement depends on your diet and bone health, so it’s a question for your doctor.
How long does it take for a supplement to raise vitamin D levels?
Blood levels rise gradually over several weeks and generally take a few months to level off on a steady daily dose. That’s why doctors often wait a few months before retesting.
Can you get enough vitamin D from food alone?
It’s possible but difficult. Very few foods are naturally rich in vitamin D, so meeting the RDA from food usually means eating fatty fish several times a week and relying on fortified foods. Many people who avoid fish or dairy find a supplement more practical.
Finding the Right Mix
Sunlight and supplements solve different problems. Sun exposure is free and self-limiting for vitamin D, but its output depends on where you live, the season, your skin, and your age, and it comes with skin cancer risk. Supplements are predictable and cheap, but they call for sensible doses and a check for medication interactions.
For many adults over 30, a reasonable plan is to enjoy regular, sun-safe time outdoors, eat vitamin D foods where you can, and use a modest supplement when sunlight can’t do the job. If you have a risk factor for deficiency or a condition affecting absorption, a conversation with your doctor about testing is the next step, not a higher dose.
