Getting midday sun exposure may help you reach your recommended amount of vitamin D in less time. But too much sun exposure can have side effects.

Vitamin D is a unique vitamin that most people don’t get enough of.

In fact, it’s estimated that 35%Trusted Source of American adults and 50%Trusted Source of the world’s population have a vitamin D deficiency. In addition, the deficiency is estimated to occur in:

  • 50-60% of nursing homes and hospitalized patients
  • 47% of African-American infants
  • 56% of Caucasian infants

This vitamin is made from cholesterol in your skin when it’s exposed to the sun. That’s why getting enough sunlight is very important for maintaining optimal vitamin D levels.

However, too much sunlight comes with its own health risks.

This article explains how to safely get vitamin D from sunlight.

There’s good reason why vitamin D is called “the sunshine vitamin.”

When your skin is exposed to sunlight, it makes vitamin D from cholesterol. The sun’s ultraviolet B (UVB) rays hit cholesterol in the skin cells, providing the energy for vitamin D synthesis to occur.

Vitamin D has many roles in the body and is essential for optimal health.

For example, it instructs the cells in your gut to absorb calcium and phosphorus — two minerals that are essential for maintaining strong and healthy bones.

On the other hand, low vitamin D levels have been linked to serious health consequences, including:

  • Osteoporosis
  • Cancer
  • Depression
  • Muscle weakness
  • Death

In addition, only a handful of foods contain significant amounts of vitamin D.

These include cod liver oil, swordfish, salmon, canned tuna, beef liver, egg yolks and sardines. That said, you would need to eat them nearly every day to get enough vitamin D.

If you do not get enough sunlight, it’s often recommended to take a supplement of vitamin D.

It’s important to note that the sun’s UVB rays cannot penetrate through windows. So people who work next to sunny windows are still prone to vitamin D deficiency.

Midday, especially during summer, is the best time to get sunlight.

At noon, the sun is at its highest point, and its UVB rays are most intense. That means you need less time in the sun to make sufficient vitamin D.

Studies also show that the body is most efficient at making vitamin D at noon.

For example, in the UK, which is between 50 and 60 degrees north, 5 to 15 minutes of midday sunlight exposure between March and October, three times per week is enough to maintain healthy levels among Caucasian adults.

For most of the US, between 30 and 40 degrees north, the recommendation is between 4 and 15 minutes from February through November.

The commonly recommended daily dose of vitamin D is 20 mcgTrusted Source.

The color of your skin is determined by a pigment called melanin.

People with darker skin typically have more melanin than people with lighter skin. What’s more, their melanin pigments are also larger and darker.

Melanin helps protect the skin against damage from excess sunlight. It acts as a natural sunscreen and absorbs the sun’s UV rays to defend against sunburn and skin cancers.

However, that creates a big dilemma because darker-skinned people need to spend longer in the sun than lighter-skinned people to produce the same amount of vitamin D. This is a major reason why darker-skinned people have a higher risk of deficiency.

For that reason, if you have dark skin, you may need to spend a bit more time in the sun to get your daily dose of vitamin D.

People living in areas farther away from the equator make less vitamin D in their skin.

In these areas, more of the sun’s rays, especially UVB rays, are absorbed by the earth’s ozone layer. So people who live farther away from the equator usually need to spend more time in the sun to produce enough.

What’s more, people who live farther from the equator may not produce any vitamin D from the sun for up to six months a year during the winter months.

For example, people who live Boston, USA and Edmonton, Canada struggle to make any vitamin D from sunlight between the months of November and February.

People in Norway cannot make vitamin D from sunlight between October and MarchTrusted Source.

During this time of year, it’s important that they get their vitamin D from foods and supplements instead.

Vitamin D is made from cholesterol in the skin. That means you need to expose lots of skin to the sunlight to make enough.

Some scientists recommend exposing around a third of the area of your skin to the sun.

The British Skin Foundation recommends daily sunlight exposure of 10-15 minutes for lighter skin and 25-40 minutes for darker skin.

Just make sure to prevent burning if you’re staying in the sun for a long time.

It’s also perfectly fine to wear a hat and sunglasses to protect your face and eyes while exposing other parts of your body. Since the head is a small part of the body, it will only produce a small amount of vitamin D.

People use sunscreen to protect their skin against sunburns and skin cancer.

That’s because sunscreen contains chemicals that either reflect, absorb or scatter sunlight. When this happens, the skin is exposed to lower levels of harmful UV rays.

A 2017 studyTrusted Source found that because UVB rays are essential for making vitamin D, sunscreen could prevent the skin from producing it.

However, wearing sunscreen only has a small impact on your blood levels during the summer.

One 2019 review of studies found no association between sunscreen and lack of Vitamin D absorption, and even found evidence of increased vitamin D. This may be due to their staying in the sun for a longer period of time, causing enough vitamin D to be made in the skin.

Most of these studies were conducted over a short period of time. It’s still unclear whether frequently wearing sunscreen has a long-term impact on blood vitamin D levels.

While sunlight is great for vitamin D production, too much can be dangerous.

Below are some consequences of too much sunlight:

  • Sunburns: The most common harmful effect of too much sunlight. Symptoms of a sunburn include redness, swelling, pain or tenderness and blisters.
  • Eye damage: Long-term exposure to UV light can damage the retina. This can increase the risk of eye diseases like cataracts.
  • Aging skin: Spending too long in the sun can cause your skin to age faster. Some people develop more wrinkled, loose or leathery skin.
  • Skin changes: Freckles, moles and other skin changes can be a side effect of excess sunlight exposure.
  • Heat stroke: Also known as a sunstroke, this is a condition in which the body’s core temperature may rise due to too much heat or sun exposure.
  • Skin cancer: Too much UV light is a major cause of skin cancers.

If you plan on spending a lot of time in the sun, make sure to avoid getting sunburned.

It’s best to apply sunscreen after 10–30 minutes of unprotected sun exposure to avoid the harmful consequences of excess sunlight. Your exposure time should depend on how sensitive your skin is to sunlight.

Note that experts recommend reapplying sunscreen every two to three hours you spend in the sun, especially if you’re sweating or bathing.

Regular sun exposure is the most natural way to get enough vitamin D.

To maintain healthy blood levels, aim to get between 4 and 15 minutes of midday sunlight, several times per week. People with darker skin may need a little more than this. Your exposure time should depend on how sensitive your skin is to sunlight. Just make sure not to burn.

Factors that can affect your ability to make vitamin D from sunlight include the time of day, your skin color, how far you live from the equator, how much skin you expose to sunlight and whether you’re wearing sunscreen.

For example, people who live farther away from the equator typically need more sunlight because the sun’s UV rays are weaker in these areas.

They also need to take vitamin D supplements or eat more vitamin-D-rich foods during the winter months, since they cannot make it from sunlight.

If you’re planning to stay in the sun for a while, it’s best to apply sunscreen after 10–30 minutes of unprotected sun exposure to help prevent sunburn and skin cancer.