Can you get enough vitamin D from the sun?

Mike Bohl, MD, MPH, ALM - Contributor Avatar

Written by Michael Martin 

Mike Bohl, MD, MPH, ALM - Contributor Avatar

Written by Michael Martin 

last updated: Jul 13, 2020

3 min read

In recent years, vitamin D has gotten more good publicity than money can buy. Experts say that many of us are deficient, and we should get more to guard against serious health conditions like heart disease and cancer.

Plot twist: our bodies produce vitamin D in response to the skin’s exposure to the sun, which comes with its own risks. Is it possible to get enough vitamin D from the sun?

Daily multivitamin

Get $15 off your first multivitamin order

What is vitamin D?

Vitamin D, a.k.a. “the sunshine vitamin,” isn’t actually a vitamin. Technically, it’s a prohormone (something the body makes and converts to a hormone) that has a role in several important bodily processes.

Vitamin D is produced when sunlight hits the skin, spurring the body to produce a substance that the liver and kidneys convert to forms usable by various organs and systems. Vitamin D is found in a variety of foods, including eggs and milk. But that variety is fairly small; our main source of vitamin D is the sun (Nair, 2012).

Benefits of vitamin D

Vitamin D seems to have several benefits, including preserving bone strength and preventing fractures and osteoporosis.

It also bolsters the immune system, protects against certain cancers (including breast and colon), and helps the body regulate blood sugar. This in turn reduces the risk of diabetes, heart disease, and stroke (Vacek, 2012).

Can you get enough vitamin D from the sun?

Experts have called vitamin D deficiency a silent epidemic. They estimate that 40% of Americans may be deficient in vitamin D, up to 1 billion people worldwide.

So you may be wondering: Is it possible to get enough vitamin D from sun exposure alone?

The answer is ¯\_(ツ)_/¯.

Well, that’s a bit flip. Maybe a better question would be: Should you try?

Let’s break it down. Sun exposure produces a significant amount of vitamin D. Exposing your sunscreen-free face, arms, legs, or neck to the sun for five to 30 minutes—between 10 a.m. and 3 p.m., at least twice a week—can result in a sufficient production of vitamin D.

Being in the sun long enough to produce a pinkish tint after 24 hours can produce 10,000 to 25,000 IU of vitamin D (Holick, 2008). 

Caveats: people with darker skin have natural sun protection and need 3–5 times as much time in the sun to produce an equivalent amount of vitamin D as pale-skinned people. And wearing an SPF 30 sunscreen can reduce your vitamin D production by as much as 95% (Nair, 2012).

Still more caveats: during winter in much of the Northern Hemisphere—imagine north of a horizontal line from Philadelphia to San Francisco—it’s impossible to get enough sun exposure to generate sufficient vitamin D.

That’s because, as you’ll recall from third-grade science, the earth tilts away from the sun during the winter months. So even if you could endure subzero temps to sunbathe, you wouldn’t get the same level of sun exposure that generates vitamin D during summer.

There’s an advantage to getting your vitamin D from the sun. It can last twice as long in the blood as vitamin D consumed orally. But there’s a distinct disadvantage to being in the sun without sunscreen: exposure to the sun’s UV rays can increase your risk of skin cancer.

So it’s not a great idea to try and bank enough D with summer sunbathing.

Other ways to get vitamin D

How much vitamin D should you get daily? The Office of Dietary Supplements at the National Institutes of Health recommends a daily intake of 600 IU (15 mcg) for adults up to age 69 and 800 IU (20 mcg) for adults 70 and older. That’s between food and supplements.

Some experts maintain that’s not enough and recommend higher daily amounts (Aloia, 2008).

But don’t overdo it. Vitamin D is fat-soluble, meaning it’s stored in the body—you don’t pee away the excess, as you do with many vitamins. But the body can only hold so much, and vitamin D toxicity is possible. The tolerable upper daily limit is 4,000 IU (100 mcg), according to the NIH.

Good sources of vitamin D include fatty fish (such as salmon and tuna), fish oil, fortified milk, eggs, and fortified breakfast cereals. For example, 3 oz. of salmon provides 570 IU, a cup of 2% milk has 120 IU, and one egg (including the yolk) provides 44 IU (NIH, n.d).

You could also take a vitamin D supplement. Remember that, unlike prescription drugs, the U.S. Food and Drug Administration does not regulate supplements as tightly. So be sure to do your research and ensure you’ve chosen a reputable brand before you buy.

If you’re concerned that you might have a low level of vitamin D, talk with your healthcare provider, who can check your vitamin D status with a simple blood test.


If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.

How we reviewed this article

Every article on Health Guide goes through rigorous fact-checking by our team of medical reviewers. Our reviewers are trained medical professionals who ensure each article contains the most up-to-date information, and that medical details have been correctly interpreted by the writer.

Current version

July 13, 2020

Written by

Michael Martin

Fact checked by

Mike Bohl, MD, MPH, ALM

About the medical reviewer

Dr. Mike is a licensed physician and a former Director, Medical Content & Education at Ro.