More Time Outdoors Tracked With 36 of 134 Diseases in UK Biobank, and for Many the Sweet Spot Was in the Middle
Sunlight advice tends to come in two flavors: get more, for your vitamin D and your mood, or get less, for your skin. A very large study suggests both are true, and that the useful question is how much.
- A study published in Frontiers in Public Health on October 26, 2026 followed 281,282 UK Biobank adults for a median of more than 13 years and compared their reported time outdoors with 134 diseases.
- After correcting for testing so many diseases, 36 were linked to time outdoors. Each extra hour outdoors a day went with a 5.2 percent higher risk of melanoma and a 2.5 percent lower risk of osteoporosis.
- A separate curve analysis found U shaped patterns for 30 conditions, including depression, anxiety and sleep disorders: risk was lowest at moderate time outdoors and rose at both ends.
What the study measured
Researchers used UK Biobank, a long running study of hundreds of thousands of British adults. Participants reported how much time they typically spent outdoors in summer and winter, and the team followed 281,282 of them through health records for a median of more than 13.4 years.

A crisp fall morning in Park Slope, Brooklyn.
spurekarCC BY 2.0
Illustrative. Not connected to UK Biobank.
They then looked at how time outdoors related to the later risk of 134 diseases. After correcting for the number of comparisons, 36 showed a link.
The straight line findings
For some conditions, more time outside simply went with more or less risk. Each additional hour outdoors per day was associated with a 5.2 percent higher risk of melanoma, with a confidence interval of 1.2 to 9.4 percent, as well as about 4 percent higher risk of obesity and of osteoarthritis.
Melanoma risk
Per extra hour outdoors a day.
Osteoporosis risk
Per extra hour outdoors a day.
U shaped conditions
In a separate curve analysis, including depression, anxiety and sleep disorders.
281,282 UK Biobank adults, 134 diseases examined, self reported time outdoors, median follow up over 13.4 years.
In the other direction, each hour went with a 2.5 percent lower risk of osteoporosis, with an interval of 0.6 to 4.3 percent, and about 5 percent lower risk of pressure ulcers.
The curves that bend
A separate analysis of the shape of each relationship found U shaped curves for 30 conditions, including depression, anxiety and sleep disorders. People at the lowest and the highest levels of time outdoors had higher risk than those in between. That pattern fits the idea that some daylight is good for mood and sleep timing, while very high exposure brings its own costs, or marks lives that differ in other ways.
some daylight is good for mood and sleep timing
The per hour effects are small. They matter at the scale of a population more than for any one person's next afternoon.
Honest caveat
Time outdoors was self reported by questionnaire, which is imprecise, and the study is observational, so it cannot show that time outdoors caused any of these differences. Outdoor workers, for example, differ from office workers in many ways. Many diseases were tested, which raises the chance that some links are due to chance. We read the published abstract and record, not the full paper.
What this means for you
The reasonable reading is the boring one: regular, moderate time outdoors fits with lower risk for many conditions, and very long exposure needs sun protection because melanoma risk rose steadily with hours.
If you spend most of your day inside, a little more daylight is a low risk change. If you already spend hours outside, protect your skin and do not assume more is always better.
Primary sources
Common questions
Is time outdoors good or bad for you?
In this study, often in between. Thirty conditions, including depression and sleep disorders, showed U shaped patterns with the lowest risk at moderate time outdoors. Melanoma risk rose steadily with more hours.
How big were the effects?
Small per hour: for example, about 5 percent higher melanoma risk and 2.5 percent lower osteoporosis risk for each extra hour outdoors a day.
Does this prove sunlight causes these effects?
No. It is an observational study using self reported time outdoors, so other differences between people could explain the links.

Stay Curious.
Better health isn't found in a single article. It's built through curiosity, evidence, and small discoveries over time. Join thousands exploring longevity, gut health, recovery, nutrition, and the tools that truly make a difference.