Skip to content
Health in Plain

Best Time of Day for Vitamin D Sunlight, and the Catch

There is a clean physical answer and an uncomfortable practical one. Physically, UVB peaks around solar noon, so that is when the skin can make vitamin D at all. Practically, that is the window the American Academy of Dermatology tells you to spend in the shade. Both are true, and pretending otherwise is how bad advice gets written.

Estimated sun exposure (arms and legs uncovered, no sunscreen)

5–15minutes

An estimate, not a prescription — the UVB that makes vitamin D peaks in the same midday hours that burn skin, so there is no window that gives you one without the other. US guidance is to get vitamin D from food and supplements.

How we got this number

Baseline from the Sociedade Brasileira de Dermatologia (Brazilian Society of Dermatology): 5 to 15 minutes for most people. This is an approximation — not an individual prescription.

UVB follows the sun’s angle, not the clock

The wavelength that starts vitamin D synthesis is the short end of the ultraviolet spectrum, and short wavelengths are the ones the atmosphere strips out most efficiently. The EPA describes how the National Weather Service models it: sunlight angle is determined by latitude, day of year and time of day, and the model runs the calculation across wavelengths from 280 to 400 nanometers, with ozone absorbing shorter wavelengths more strongly than longer ones.

The consequence is that “morning sun” is not a milder version of midday sun — it is a different spectrum. Low sun angle means a longer atmospheric path, and the UVB fraction is what disappears first. An 8 a.m. hour outdoors is genuinely low-risk and genuinely low-yield.

The shadow rule, and what it is really telling you

Dermatologists give a rule of thumb that doubles as a UVB detector: if your shadow is shorter than you are, seek shade. The AAD publishes it alongside its 10 a.m. to 2 p.m. window for the strongest rays. The federal agencies draw the window slightly wider — the EPA reports almost half the daytime total of UVB arriving between 10 a.m. and 4 p.m., and advises limiting midday exposure even in winter and especially at altitude, while the FDA’s consumer guidance names 10 a.m. to 2 p.m.

Read it the other way round and it becomes a synthesis indicator. A short shadow means a high sun angle, which means UVB is reaching the ground. A long shadow means the opposite. It works at any latitude and in any season without a table, which is more than most rules manage.

Cloud, glass and altitude move the needle further than the hour

Three modifiers are worth more attention than the clock:

  • Glass filters selectively. The National Cancer Institute warns that UV radiation goes through windshields and windows; the AAD specifies the split — UVB blocked, UVA through. So a sunny window delivers the aging wavelength and not the synthesizing one.
  • Cloud is partial. In the EPA’s model, clear skies transmit virtually 100 percent of ultraviolet, scattered clouds 89 percent, broken clouds 73 percent, and overcast 31 percent. A gray day is not a zero.
  • Altitude adds. Ultraviolet intensity rises about 6 percent per kilometer of elevation.

Season is the fourth and largest modifier, and it deserves its own page — at high latitude in winter no hour of the day carries much UVB, which is covered under vitamin D from sun in winter.

The catch, stated plainly

The hour that maximizes vitamin D synthesis is the hour that maximizes DNA damage, because it is the same photons doing both jobs. The Institute of Medicine reviewed this directly and found no studies establishing a minimal-risk UVB exposure that would allow vitamin D production — the window everyone wants identified has never been located.

That is why the sensible reading of this page is not “go out at noon”. It is: know that midday is where UVB lives, so you can interpret your own incidental exposure and stop expecting a 7 a.m. walk or a bright office window to be doing anything for you. The intake route is the one US guidance actually recommends, and how much sun for vitamin D a day explains what it assumes. How much melanin your skin carries changes the arithmetic further, in vitamin D and skin type.

This content is informational and does not replace dermatological or medical assessment.

Frequently asked questions

What time of day produces the most vitamin D?

Around solar noon, because UVB intensity follows the sun's angle above the horizon. The EPA states that almost half the daytime total of UVB is received between 10 a.m. and 4 p.m.; the FDA narrows its own advice to the 10 a.m. to 2 p.m. core.

Does sunlight through a window count?

Not for vitamin D, and it is not risk-free either. The National Cancer Institute warns that UV radiation passes through windshields and windows; the AAD specifies which part — UVA goes through, UVB is blocked. You get the aging wavelength without the synthesizing one.

Can you make vitamin D on a cloudy day?

Partly. In the EPA's UV Index model, scattered clouds transmit about 89 percent of ultraviolet, broken clouds about 73 percent and overcast skies about 31 percent. The AAD notes up to 80 percent of harmful UV can penetrate clouds.

Is early morning sun better than midday sun?

Safer, and much less productive. At a low sun angle UVB travels through more atmosphere and is largely filtered out, which is the same reason winter sun is weak — so an early walk carries little burn risk and contributes little vitamin D.

Does altitude change anything?

Yes, and by more than most people assume. The EPA calculates ultraviolet intensity rising about 6 percent per kilometer of elevation, so the same hour on a mountain is meaningfully stronger than at sea level.

Sources

  1. Learn about the UV Index — U.S. Environmental Protection Agency
  2. Ultraviolet (UV) Radiation and Sun Exposure — RadTown, U.S. Environmental Protection Agency
  3. Sunlight and Cancer Risk — National Cancer Institute
  4. Sunscreen: How to Help Protect Your Skin from the Sun — U.S. Food and Drug Administration
  5. Sunscreen FAQs — American Academy of Dermatology
  6. Overview of Vitamin D — Dietary Reference Intakes for Calcium and Vitamin D, Institute of Medicine, 2011 (NCBI Bookshelf NBK56061)

Written by Lucas Silva · Reviewed by Lucas Silva · Updated on August 17, 2026