Vitamin D From Sun: How Much Time Outdoors Makes a Difference

Vitamin D from sun: how many minutes are enough, the best time of day and how to fit it into a busy routine, plus what pediatricians advise for babies and kids.
Vitamin D from sun: woman sitting on a backyard step in the morning, in a T-shirt and shorts, holding a mug and getting sun on her arms and legs

You leave home as the day is breaking, spend the hours between work, the car and the kitchen and, when you finally look out the window, the sun is already gone. Some weeks, the only daylight your skin sees is on the walk from the front door to the car.

Most people today spend far more time indoors than outdoors, and for anyone juggling home, work and kids that’s even more common. But there’s evidence that getting vitamin D from sun exposure doesn’t take an afternoon at the beach: Cleveland Clinic talks about 10 to 30 minutes of sun on bare skin, and the Brazilian Society of Dermatology about 5 to 10 minutes a day, letting light reach skin that usually stays covered.

I put together what the NIH Office of Dietary Supplements (ODS), Cleveland Clinic and the American Academy of Pediatrics (AAP) say about how long, at what time of day and how to fit those minutes into your day, kids included.

Vitamin D from sun: why a few minutes already count

Sunlight is the body’s main source of vitamin D. According to a family physician at Cleveland Clinic, more than 90% of our vitamin D comes from sun exposure, and the rest comes from food. It’s the vitamin that helps your body absorb calcium for strong bones and that your muscles need to move, as the NIH Office of Dietary Supplements explains.

There’s a catch, though: your skin doesn’t make vitamin D from sunlight that comes through a window, the ODS points out. In other words, that patch of sun on the kitchen table warms you up, but it doesn’t count.

There’s no single amount of time that works for everyone, because, as Cleveland Clinic explains, it depends on your skin tone, where you live, the season and the time of day. Still, there’s a reference point:

Who says itHow longWhere on the body
Family physician at Cleveland Clinic (2025)10 to 30 minutes, adjusted to skin tone, location, season and time of dayBare skin
Brazilian Society of Dermatology5 to 10 minutes, every dayAreas that usually stay covered, like legs, back or belly

The difference between skin tones has a simple explanation: the darker your skin, the less vitamin D you make from the same sun, according to the ODS, which also lists clouds, smog and older age as factors that slow production down. And notice that both sources talk about very little time: the idea is to give a turn to the skin that hardly ever sees daylight, and shorts with a short-sleeve T-shirt already do the job.

The limit is redness. Besides the risk of a burn, the Brazilian Society of Dermatology (in Portuguese) explains that reddened skin breaks down the vitamin D it has just made, so going overboard brings no advantage at all.

Best time for sun exposure: vitamin D versus protected skin

This is where a lot of people get confused, because the advice seems to clash. The rays that produce vitamin D are strongest in the middle of the day, and a nutrition specialist at the São Camilo hospital network in São Paulo (in Portuguese) points to 10 a.m. to 3 p.m. as the window of highest production. But that’s also when the sun is harshest, and Cleveland Clinic advises avoiding the blazing midday sun.

What breaks the tie is keeping it short. In a study released by the Brazilian Society of Dermatology in 2017 (in Portuguese), with 95 volunteers, light sun exposure produced vitamin D even with SPF 30 sunscreen, with no significant difference compared with people who wore none. The ODS notes that sunscreen limits vitamin D production, but health experts still recommend SPF 15 or higher whenever you’re out in the sun for more than a few minutes.

Vitamin D from sun: woman applying sunscreen to her arm outdoors, with blue sky in the background
Photo: Mikhail Nilov / Pexels

In practice, here’s how I’d set it up based on these guidelines:

  • If your free time is early or late in the day: use it, since it’s the gentlest time for your skin. Vitamin D production is lower than at midday, according to the São Camilo specialist, but it does happen.
  • If your only window falls around midday: stay out just the few minutes in the table, with arms and legs uncovered and sunscreen on your face, which already gets sun every day.
  • At any time of day: you stepped out of the shade and your skin started feeling too hot or turning pink? Time to go back in.

And on rainy days, there’s no need to feel guilty. Don’t try to make up for it by staying out twice as long when the sky clears: it isn’t necessary and, by staying out too long, you can actually spoil the production instead of helping, since, as we saw above, redness breaks down what was made.

How to fit those minutes into a day that’s already full

With the time and the hour sorted out, the part that trips people up most is left: remembering to do it. The easiest way is not to create a new commitment, but to hang the sun on something you already do.

  • The school run: if you can walk, or park a block away, that’s minutes of sun that cost nothing extra.
  • Yard chores: watering the plants or hanging laundry outside in a short-sleeve shirt is already time outdoors (and let’s be honest, the laundry won’t hang itself).
  • Coffee or a snack: how about having it on the porch, in the backyard or on the front steps instead of next to the window?
  • The lunch break: if you work in an office, five minutes on the sidewalk before heading back to your desk works, because it’s when the rays are strongest and production is highest. So protect your face and enjoy it.
Mother and daughter walking hand in hand to school on a sunny morning
Photo: Caleb Oquendo / Pexels

If you’ve been thinking about starting to walk, the sun comes along as a bonus. I gathered the official recommendations in the article on the benefits of walking, and other small ideas are in the self-care habits for people short on time.

There will be days when you forget. When that happens, tie the habit to a fixed time, like “after I drop the kids off, I walk around the block”, and, if the morning slips away, do it at pickup. Just don’t let it turn into one more item on the to-do list.

What about the kids? What pediatricians recommend

With children, the rules change. If you have a baby at home, you’ve probably heard someone in the family say that “babies need sunshine to grow strong”, but the current advice from the American Academy of Pediatrics, updated in April 2026, is different:

  • Under 6 months: babies should be kept out of direct and indirect sunlight entirely, because of the risk of heat stroke. When you go out, use a shaded stroller, lightweight long sleeves, long pants and a wide-brimmed hat.
  • Vitamin D for babies: breast milk alone doesn’t provide enough vitamin D, so the ODS says breastfed babies should get a 400 IU supplement every day. Which product and how much, your pediatrician decides.
  • 6 months and up: apply a broad-spectrum sunscreen with SPF 15 or higher to uncovered areas like the hands and face (mineral sunscreens are best for babies), and avoid having them outside between 10 a.m. and 4 p.m.

Notice that, for the little ones, vitamin D comes from the drops the pediatrician recommends, and not from sunbathing. For older kids, playing outside early in the morning or late in the afternoon brings sun and movement together. On hot days, bring water and watch for the signs of dehydration in children in the heat.

Woman applying sunscreen to a boy's arm on a sunny day
Photo: Kindel Media / Pexels

When the sun alone isn’t enough

Some people are more likely to run low on this vitamin, and the ODS lists, for example, breastfed babies, older adults, people who rarely expose their skin to the sun, people with dark skin, people with conditions that limit fat absorption, such as Crohn’s or celiac disease, and people with obesity or who have had gastric bypass surgery.

If you fit one of these groups, or you’ve had muscle weakness or aches that won’t go away, bring it up at your next appointment. According to the ODS, a shortage of vitamin D may lead to weak, painful muscles, and a blood test is the way to know if you’re getting enough.

What doesn’t make sense is buying supplements on your own. The ODS warns that very high vitamin D levels, almost always caused by supplements, can bring nausea, vomiting, muscle weakness and kidney stones, and extremely high levels can lead to kidney failure. You can’t get too much from sunshine, though, because your skin limits how much it makes.

On your plate, fortified foods provide most of the vitamin D in American diets, the ODS explains: almost all U.S. milk has about 120 IU per cup, and fatty fish like salmon, trout and tuna are among the best natural sources, while egg yolks and beef liver have small amounts. They help, but, as you saw above, the sun still does most of the work.

To wrap up

Pick a moment that already exists in your day and spend about 10 minutes there with your arms or legs uncovered, always stopping before any redness. It’s the simplest way to get vitamin D from sun exposure without adding another task. If you have questions about your levels or your kids’, take them to your next appointment.

This content is for informational purposes only and was put together from official sources. It does not replace an evaluation by a doctor, dermatologist or pediatrician, especially before starting any supplement.

Leave a Reply

Your email address will not be published. Required fields are marked *

About the author

Luana, author of Melhor Viver Mais

Luana Rebelo

Mom of 3 and creator of Melhor Viver Mais

I’m a mother of 3 and have been married for 10 years. I learned the hard way how to run a full house, with school, meals and grocery shopping to plan every week. I was born in Rio Grande do Norte, Brazil, I now live in Portugal, and it was by organizing my own routine that I learned what really works.

Everything I write here is researched from reliable sources and reviewed before it is published. My goal is to help you build a routine that looks after your health and the health of the people you live with.

Read my story

Share

Advertisement

Reserved space for a 300 x 250 ad