There is no single number of minutes that works for everyone. How much sun exposure you need for vitamin D depends on your skin tone, where you live, the season, and the time of day. For many fair-skinned people, a short period of midday sun on the arms and legs — often cited as roughly 10 to 20 minutes — can trigger meaningful vitamin D production. For people with darker skin, older adults, and those living far from the equator, that window is longer, and in some conditions and seasons it may not be achievable at all.
How Does Your Body Actually Make Vitamin D From Sunlight?
Vitamin D is the one nutrient your body can manufacture on its own, and sunlight is the trigger. The process starts in your skin.
When ultraviolet B (UVB) rays penetrate the skin, they convert a cholesterol-like compound called 7-dehydrocholesterol into a precursor molecule. That precursor then travels through the bloodstream to the liver and kidneys, where it is converted into the active form of vitamin D the body can use. Without enough UVB reaching the skin, this chain never starts.
This is why diet alone often falls short. Very few foods contain substantial vitamin D naturally — fatty fish and egg yolks are among the few — which is why some foods are fortified. Sunlight remains the primary natural source for most people.
One detail that surprises many people: UVB rays do not penetrate glass. Sitting by a sunny window will not produce vitamin D, even if you feel warm. The UVB is filtered out. You need direct exposure to outdoor sun.
What Factors Change How Much Sun You Need?
The variables that matter most are skin tone, latitude, season, and time of day. Each one can shift your personal requirement dramatically.
Skin tone is the biggest factor. Melanin, the pigment that gives skin its color, absorbs UVB radiation. People with darker skin need more sun exposure to make the same amount of vitamin D as people with lighter skin. This is a normal biological difference, not a deficiency in the person.
Latitude matters because of the angle of the sun. Closer to the equator, UVB is stronger year-round. In northern cities — roughly above 35 degrees latitude, which includes much of the United States — the sun’s angle in late fall and winter is too low for UVB to penetrate the atmosphere effectively. During those months, vitamin D production in the skin drops sharply or stops, no matter how long you stay outside.
Time of day changes UVB intensity. Midday, roughly between 10 a.m. and 3 p.m., delivers the most UVB. Early morning and late afternoon sun is weaker for vitamin D purposes.
Season and weather add more variation. Cloud cover reduces UVB. So does smog and heavy air pollution.
Age plays a role too. Older skin is less efficient at producing vitamin D through the same pathway. And anyone with limited mobility or who spends most time indoors faces obvious practical limits.
Is There an Official Recommendation for Sun Exposure?
No major health organization publishes a specific “minutes of sun per day” recommendation for vitamin D. That number does not exist in clinical guidelines, and it is not an oversight.
The reason is that the variables above make a universal number impossible. Ten minutes might be plenty for a fair-skinned person in Florida in July and completely inadequate for a dark-skinned person in Boston in January. A single figure would be misleading.
What guidelines do address is vitamin D intake from food and supplements, because that can be standardized. The recommended daily allowance for most adults is 600 international units (IU), rising to 800 IU for adults over 70. These are intake targets, not sun targets.
Some clinicians offer general guidance — a few minutes of midday sun on exposed skin several times a week for lighter-skinned people — but this is practical advice, not an evidence-based standard. It should not be treated as a formal recommendation.
How Long Is Too Long in the Sun?
There is no safe threshold where sun exposure becomes risk-free, and the same UVB that makes vitamin D also damages skin. These two effects cannot be separated.
UV radiation is a known human carcinogen. It causes DNA damage in skin cells, and cumulative exposure raises the risk of skin cancers, including melanoma, basal cell carcinoma, and squamous cell carcinoma. It also drives premature skin aging — wrinkles, dark spots, and loss of elasticity.
This creates a real tension. The sun exposure that helps vitamin D production is the same exposure that carries skin cancer risk. There is no way to get the benefit without some of the risk.
The practical implication: shorter exposures are generally better than long ones. The goal is not to tan or to burn. A sunburn is a sign of skin damage, and it does not improve vitamin D production — once your skin has made what it can, additional UVB does not keep adding more vitamin D. It just adds damage.
People with fair skin, a history of skin cancer, or who take medications that increase sun sensitivity should be especially careful. Some medications, including certain antibiotics and acne treatments, make skin burn faster.
What If You Cannot Get Enough Sun?
For many people, sunlight alone will not reliably meet vitamin D needs year-round. This is common and not a personal failing.
People who live in northern latitudes, have darker skin, are older, cover their skin for cultural or religious reasons, or spend most daylight hours indoors often fall into this group. So do people who use sunscreen consistently, which blocks UVB — though this is the correct choice for skin cancer prevention.
In these situations, food and supplements become the practical route. Vitamin D supplements are widely available and, in the amounts found in standard multivitamins and dedicated supplements, are generally considered safe for most adults. Vitamin D is fat-soluble, which means it can build up in the body, so very high doses taken over long periods can be harmful. Extremely high doses are not better.
If you think you may be low, a blood test can measure your vitamin D level. This is the only way to know for certain. Symptoms of low vitamin D are often vague or absent, so guessing based on how you feel is unreliable.
Does Sunscreen Block Vitamin D Production?
Sunscreen reduces vitamin D production in the skin, but the effect in real-world use is smaller than many people assume.
The reason is practical. Most people apply far less sunscreen than the amount used in laboratory testing, and they do not reapply as often as directed. So some UVB still reaches the skin. Studies on this question have generally found that regular sunscreen use does not lead to vitamin D deficiency in most people.
The more important point is that sunscreen prevents skin cancer, and that benefit is well established. Skipping sunscreen to make more vitamin D is a poor trade. If you are concerned about your vitamin D level, address it through diet, supplements, or a blood test — not by abandoning sun protection.
The Bottom Line on Sun and Vitamin D
There is no universal answer to how much sun you need. For lighter-skinned people, short midday exposures of roughly 10 to 20 minutes may be enough to support vitamin D production in summer. For others, especially those with darker skin or who live far from the equator, sun alone may not be sufficient — particularly in winter.
The safest approach is to get some sensible sun when you can, protect your skin from burning, and rely on food and supplements when sun is not enough. If you want to know your actual vitamin D status, a blood test is the only reliable answer.
Frequently Asked Questions
How many minutes of sun do I need for vitamin D?
There is no official recommended number of minutes, because it varies by skin tone, location, season, and time of day. For many fair-skinned people, roughly 10 to 20 minutes of midday sun on exposed skin may be enough in summer.
Can I make vitamin D through a window?
No. Glass blocks UVB rays, which are the specific wavelengths your skin needs to produce vitamin D. You need direct outdoor sun for this process to work.
Do people with darker skin need more sun for vitamin D?
Yes. Melanin absorbs UVB radiation, so darker skin requires longer sun exposure to produce the same amount of vitamin D as lighter skin. This is a normal biological difference.
Does sunscreen stop vitamin D production?
Sunscreen reduces it, but in real-world use the effect is usually small because most people apply less than the tested amount. Sunscreen’s skin cancer protection is well established, so skipping it for vitamin D is not advised.

