Skip to content

Can You Get Enough Vitamin D From the Sun?

Can You Get Enough Vitamin D From the Sun?
Your skin is built to make vitamin D from sunlight. So why are most people still short on it? It comes down to one thing, and you can read it off your own shadow.

Sunlight is the primary natural source of vitamin D, and under the right conditions your skin can make all of it you need. The catch is how rarely those conditions actually show up.

Here is the strange part. We are built for this. Expose enough bare skin to strong, high sun and your body turns into a vitamin D factory, no food and no pills required. Sunlight is where most people get most of their vitamin D. So if the factory is free and built in, why do roughly 70% of US adults fall short of sufficient vitamin D levels?

Because the factory only runs when a stack of conditions all line up. And in modern life, they rarely do.

Let me walk through it.

HOW YOUR SKIN MAKES VITAMIN D

It runs on a specific kind of light. UVB radiation, a narrow band of roughly 290 to 315 nanometers, converts a molecule called 7-dehydrocholesterol in your skin into previtamin D3, which then becomes vitamin D3. Your liver and kidneys finish it into the active form your body uses.

Two things matter here. First, it has to be UVB specifically. The warmth you feel and the color you get are mostly UVA, and UVA makes no vitamin D at all. Second, vitamin D acts more like a hormone than a vitamin. It is a body-wide signal that supports bone, muscle, and immune function, not a trace nutrient you need a little of.*

So the entire question is whether UVB is reaching your skin. And UVB has one big weakness.

IT ALL COMES DOWN TO ONE THING: HOW HIGH THE SUN IS

UVB is short-wavelength, high-energy light, and the atmosphere absorbs it easily. When the sun is high overhead, UVB takes the shortest path through the air and reaches the ground. When the sun is low, that path gets long, and the air strips the UVB out before it ever gets to you. The longer-wavelength UVA still comes through, which is why low sun still feels warm and can still burn. But the vitamin-D light is gone.

This is the key that unlocks everything else. Three things people treat as separate problems, the time of day, the season, and where you live, are really the same problem wearing different clothes. All three are just one question: how high does the sun get?

High sun, UVB reaches you, your skin makes vitamin D. Low sun, the air eats the UVB, and you make almost none. The warmth lies. The angle tells the truth.

TIME OF DAY: THE SHADOW TEST

Even in midsummer, in a sunny place, early and late sun does almost nothing for vitamin D. The sun sits too low, so the UVB gets filtered out. Vitamin D researchers turned this into a test you can run right now: the shadow rule. If your shadow is longer than you are tall, the sun is too low and your skin is making little to no vitamin D. If your shadow is shorter than your height, the sun is high enough and UVB is getting through.

Go outside and look. The 7am dog walk. The after-work run at 6pm. The long golden evening on the patio. Beautiful light, almost no vitamin D. In most places the window where UVB is actually strong enough sits roughly between 10am and 2pm, when the sun is highest and the UV index climbs above about 3.

Which is, of course, exactly when most of us are indoors. Hold that thought.

SEASON: THE WINTER SHUTDOWN

Now stretch that same idea across the calendar. In summer the sun climbs high at midday. In winter the entire arc of the sun drops, so even at noon it never gets high enough. It is the same low-angle problem as a winter morning, except it lasts for months.

The thresholds are specific. Above about 37 degrees latitude there are four months of "vitamin D winter," and at 42 degrees there are five: stretches of the year when skin synthesis effectively stops no matter what you do. The clearest, coldest, brightest January noon in a northern city produces essentially nothing. You can stand in it all day. The light looks identical to July. The UVB simply is not there.

LATITUDE: WHERE YOU LIVE SETS THE BASELINE

Latitude is the same story again, made permanent. The farther you live from the equator, the lower the sun sits across the whole year, and the longer your winter shutdown runs. Near the equator the sun passes nearly overhead year-round. Up north, it never climbs as high, even at the peak of summer.

Put it on a map. The 37th parallel runs roughly through San Francisco, Las Vegas, and Richmond, Virginia. The large majority of the US population lives north of that line. So for a third to nearly half of the year, most of the country sits in the dead zone, getting close to nothing from the sun even on a bright, cloudless day.

THE PART MODERN LIFE PLAYS

Everything up to here is about whether the sun can make vitamin D. This part is about whether we ever stand in it. The honest answer is barely.

Americans spend roughly 90% of their time indoors. A large EPA-funded survey pinned it at about 87% inside buildings and another 6% inside vehicles. That leaves a thin slice of life actually out under open sky, and usually not the slice that counts.

Here is the thought I asked you to hold. The UVB window opens roughly 10am to 2pm. That is the workday. For most people, the few hours the sun could actually make vitamin D are the exact hours they spend at a desk, under a roof, behind a window. And window glass blocks UVB completely, so the bright office, the sunny commute, and the sunroom at home all produce nothing.

Two more modern layers sit on top. Air pollution scatters and absorbs UVB before it reaches the ground, so a hazy city day delivers less than a clear one. And clothing covers most of the skin most of the time, leaving hands and a face to do work that needs an arm, a back, a pair of legs.

None of this is a willpower problem. It is just the shape of a modern day. The sun shows up. We do not.

AND WHAT YOUR BODY ADDS

Say the angle is perfect and you actually get outside at noon, in summer, in shorts. Your own body still has a say.

Skin tone. Melanin is a built-in sunscreen. It absorbs UVB, so darker skin needs considerably more sun to make the same amount of vitamin D. The data shows it plainly: in US surveys, deficiency runs far higher among people with darker skin.

Sunscreen. Here the common story is mostly wrong, and worth correcting. In a lab, SPF 30 blocks around 97% of UVB, which should nearly shut synthesis down. In real life people apply far less than the test amount and miss spots, so the effect is much smaller. A 2025 randomized trial in the British Journal of Dermatology followed 639 adults for about a year and found that routine high-SPF use lowered vitamin D only modestly compared with occasional use. Sunscreen is not the reason people are low.

Body fat. Vitamin D is fat-soluble, so it gets stored in fat tissue and pulled out of circulation. The more body fat you carry, the lower your blood level tends to run, which is part of why deficiency is more common with obesity.

Age. Older skin makes less. The same sun that flooded you with vitamin D at 25 produces a fraction of it at 65.

SO HOW MUCH SUN WOULD IT ACTUALLY TAKE

When every condition lines up, the output is huge. A single full-body dose of strong summer sun for lighter skin has been estimated as equivalent to roughly 10,000 to 20,000 IU of vitamin D. That is why a week at the beach can genuinely move your levels.

But look at what "lines up" demands: the right latitude, the right season, near midday, plenty of bare skin, no glass in the way, little or no sunscreen, lighter skin or extra time to make up for it, and actually being outdoors for it. Miss one and the number drops. Miss most of them, which is what an ordinary indoor week in an ordinary northern city does, and you are scraping the bottom.

70%
of US adults fall short of sufficient vitamin D, in a country where the sun is supposedly free

WHAT THIS MEANS

The sun is the natural source of vitamin D. It is just not a source you can rely on, given how and where most people actually live. Indoors 90% of the day, north of the Mediterranean line, working through the only hours that count, sunscreen on, darker skin, past your mid-twenties: the sun does part of the job for a few summer months and almost none the rest of the time.

Food does not rescue it either. Almost nothing you eat carries meaningful vitamin D, which is the whole reason it gets added to milk.

So the gap is real, it is the norm and not the exception, and for most people it does not close on its own. A small daily dose, taken consistently, is the dependable floor underneath all of it. That is the entire idea behind D3X: vitamin D is foundational, most people are short, and the only version that does anything is the one you actually take every day.

Check your shadow tomorrow. Then stop being part of the 70%.

Sources

Linus Pauling Institute, Oregon State University. "Vitamin D and Skin Health." Reviewed 2026.

Wacker M, Holick MF. "Sunlight and Vitamin D: A global perspective for health." Dermato-Endocrinology, 2013.

Holick MF. "Holick's rule and vitamin D from sunlight." (The shadow-rule heuristic for adequate UVB.)

Whiting SJ, et al. "7-Dehydrocholesterol and vitamin D winter by latitude." Nutrition in the Prevention and Treatment of Disease, 4th ed., 2017.

US Environmental Protection Agency. "Indoor Air Quality Exposure and Characterization Research." (~90% of time spent indoors.)

Klepeis NE, et al. "The National Human Activity Pattern Survey (NHAPS)." Journal of Exposure Analysis and Environmental Epidemiology, 2001. 9,386 respondents: ~87% indoors, ~6% in vehicles.

Neale RE, et al. "Effect of daily sunscreen application on vitamin D: the Sun-D randomized controlled trial." British Journal of Dermatology, 2025. 639 participants.

Forrest KYZ, Stuhldreher WL. "Vitamin D deficiency and insufficiency among US adults." British Journal of Nutrition (NHANES analysis): 28.9% deficient, 41.4% insufficient.

Linus Pauling Institute, Oregon State University. "Micronutrient Inadequacies in the US Population." (Obesity and vitamin D deficiency risk.)

Schalka S, et al. "Optimized sunscreens and cutaneous vitamin D formation." (1 MED whole-body exposure estimated at ~10,000–20,000 IU equivalent.)

Frequently Asked

Can you get enough vitamin D from the sun?

In theory yes, since UVB sunlight is the body's main natural source of vitamin D. In practice most people cannot rely on it, because the angle of the sun, plus season, latitude, time spent indoors, skin tone, sunscreen, glass, and body fat all limit how much the skin actually makes.

What time of day is best to make vitamin D from the sun?

Roughly between 10am and 2pm, when the sun is highest and UVB is strongest. Early morning and evening sun sits too low in the sky, so the atmosphere filters out almost all the UVB and the skin makes very little vitamin D even though it still feels warm.

What is the shadow rule for vitamin D?

A quick way to tell if the sun is high enough to make vitamin D. If your shadow is shorter than your height, the sun is high enough for UVB to reach your skin. If your shadow is longer than you are tall, the sun is too low and you are making little to no vitamin D.

Why are so many people low on vitamin D if sunlight is free?

Because the sun only makes vitamin D when it is high in the sky, and modern life keeps people out of it during those hours. Americans spend roughly 90% of their time indoors, often working through the midday UVB window, and glass, clothing, higher latitudes, and winter remove most of what is left.

Does sunscreen block vitamin D?

Less than most people think. In lab conditions high-SPF sunscreen blocks most UVB, but in real-world use people apply far less than the tested amount, so the effect on vitamin D levels is modest. A 2025 randomized trial found only a small reduction from routine high-SPF use.

From D3X

Time to get serious about your D.

Get D3X →
All articles