Vitamin D from sunlight is essential for bone health, immune function, and overall wellbeing. Unlike other vitamins, your body synthesises vitamin D when ultraviolet B (UVB) radiation from the sun converts a cholesterol derivative in your skin into vitamin D3. In the UK, adequate UVB exposure occurs only between late March and September, making winter supplementation necessary for most people. Understanding how sunlight produces vitamin D, how much exposure you need, and how to balance sun safety with vitamin D requirements is crucial for maintaining optimal health year-round whilst minimising skin cancer risk.
Summary: Sunlight produces vitamin D when UVB radiation converts 7-dehydrocholesterol in your skin into vitamin D3, which is then activated by the liver and kidneys to regulate calcium absorption and bone health.
- UVB radiation (290–315 nanometres) is required for vitamin D synthesis, available in the UK only between late March and September.
- The Department of Health and Social Care recommends 10 micrograms (400 IU) daily vitamin D supplementation during UK winter months for most adults.
- Skin pigmentation significantly affects synthesis efficiency; individuals with darker skin require substantially longer sun exposure than fair-skinned individuals.
- Brief, regular sun exposure to forearms, hands, or lower legs is sufficient for vitamin D production, well before skin reddening occurs.
- Groups at high deficiency risk include those with darker skin, limited sun exposure, older adults, pregnant women, and children under five, who should consider year-round supplementation.
- Sunscreen with SPF 30+ reduces UVB absorption, though real-world use still permits some vitamin D synthesis; glass windows block UVB completely.
Table of Contents
How Sunlight Helps Your Body Produce Vitamin D
Vitamin D is unique among vitamins because your body can synthesise it when your skin is exposed to sunlight. This process begins when ultraviolet B (UVB) radiation from the sun penetrates the skin and converts a cholesterol derivative called 7-dehydrocholesterol into previtamin D3. This compound then undergoes a heat-dependent transformation into vitamin D3 (cholecalciferol), which enters the bloodstream.
Once in circulation, vitamin D3 travels to the liver, where it is converted into 25-hydroxyvitamin D [25(OH)D], the main storage form measured in blood tests. This compound then moves to the kidneys, where it is converted into the active hormone calcitriol [1,25-dihydroxyvitamin D]. Calcitriol primarily regulates calcium and phosphate absorption in the intestines, supporting bone health and various cellular processes throughout the body.
The efficiency of this process depends on several factors:
-
The wavelength of UV radiation (UVB at 290–315 nanometres is essential)
-
The angle at which sunlight reaches the earth's surface
-
The amount of skin exposed during sun exposure
-
Individual skin characteristics, particularly melanin content
In the UK, sunlight contains sufficient UVB radiation for vitamin D synthesis primarily between late March and September. During autumn and winter months, the sun's angle is too low for adequate UVB penetration, meaning most people in the UK cannot produce vitamin D from sunlight during this period. This seasonal variation makes understanding optimal sun exposure particularly important for maintaining adequate vitamin D levels year-round, and highlights why the UK Government (Department of Health and Social Care) recommends vitamin D supplementation during winter months for most of the population.
How Much Sun Exposure Do You Need for Vitamin D?
The amount of sun exposure required for adequate vitamin D production varies considerably between individuals. UK guidance recommends that during spring and summer months, short periods of sun exposure are sufficient for vitamin D synthesis in most people. Specifically, exposing the forearms, hands, or lower legs to sunlight for short, regular periods between late March and September is typically adequate, taking care not to burn. The exact time needed varies significantly based on skin type, location, time of day, and weather conditions.
It is important to note that the skin produces vitamin D most efficiently during midday hours (approximately 11am to 3pm) when UVB radiation is strongest. However, this must be balanced against skin cancer risk. The NHS advises that you should never allow your skin to redden or burn, as this significantly increases melanoma risk. For most fair-skinned individuals in the UK, vitamin D synthesis occurs well before any reddening develops.
Key considerations for sun exposure include:
-
Sunscreen with at least SPF 30 and 4-5 star UVA protection reduces UVB absorption, though in real-world use, people can still make some vitamin D while using sunscreen
-
Clothing covering the arms and legs prevents vitamin D synthesis in covered areas
-
Glass windows filter out UVB rays, so sunlight through windows does not contribute to vitamin D production
-
The body has a self-regulating mechanism that prevents vitamin D toxicity from sun exposure alone
During the UK winter months (October through early March), sunlight is insufficient for vitamin D production regardless of exposure duration. The Department of Health and Social Care therefore recommends that everyone consider taking a daily supplement containing 10 micrograms (400 IU) of vitamin D during these months. Certain groups, including those with limited sun exposure, darker skin tones, or those who cover their skin for cultural reasons, should consider year-round supplementation as advised by their GP or pharmacist. Routine vitamin D testing is not recommended for the general population.
Factors That Affect Vitamin D Production from Sunlight
Multiple physiological, environmental, and lifestyle factors influence how efficiently your body produces vitamin D from sunlight. Understanding these variables helps explain why some individuals are at higher risk of deficiency despite living in the same geographical location.
Skin pigmentation is one of the most significant factors affecting vitamin D synthesis. Melanin, the pigment responsible for skin colour, acts as a natural sunscreen by absorbing UVB radiation. Individuals with darker skin tones require significantly longer sun exposure than fair-skinned individuals to produce equivalent amounts of vitamin D. This places people of African, African-Caribbean, and South Asian heritage at considerably higher risk of deficiency in the UK, where UVB radiation is already limited. NICE guidance specifically identifies these groups as requiring particular attention regarding vitamin D status.
Geographical latitude and season dramatically affect UVB availability. In the UK (latitudes 50–60°N), the sun's angle during winter months means UVB radiation cannot penetrate the atmosphere sufficiently for vitamin D synthesis. Even on sunny winter days, no vitamin D production occurs. Additionally, air pollution and cloud cover further reduce UVB transmission to varying degrees.
Age-related changes significantly impact vitamin D production. The skin's capacity to synthesise vitamin D declines with age, with older skin producing substantially less vitamin D than younger adult skin from the same sun exposure. This reduced efficiency, combined with older adults often spending less time outdoors and having reduced kidney function (affecting vitamin D activation), places elderly populations at substantially elevated risk.
Additional factors include:
-
Body weight: Vitamin D is fat-soluble and can be sequestered in adipose tissue, making it less bioavailable in individuals with a BMI ≥30 kg/m²
-
Liver and kidney function: Impaired organ function reduces conversion of vitamin D to its active form
-
Certain medications: Including some anticonvulsants, glucocorticoids, antiretrovirals, rifampicin, cholestyramine, and orlistat that can affect vitamin D metabolism or absorption
-
Malabsorption conditions: Such as coeliac disease, Crohn's disease, or cystic fibrosis that impair vitamin D absorption from dietary sources
These factors often interact, compounding deficiency risk. For example, an elderly person with darker skin living in northern England faces multiple barriers to adequate vitamin D production and should discuss supplementation with their GP or pharmacist.
Balancing Sun Safety with Vitamin D Requirements
Achieving adequate vitamin D levels whilst minimising skin cancer risk requires a nuanced approach that considers individual circumstances. The UK has one of the highest rates of skin cancer in Europe, with over 16,000 new melanoma cases diagnosed annually, yet vitamin D deficiency remains prevalent, affecting approximately one in five adults. This apparent paradox necessitates careful balance between sun exposure benefits and risks.
Cancer Research UK and the British Association of Dermatologists emphasise that the amount of sun exposure needed for vitamin D synthesis is considerably less than that which causes skin damage. For most fair-skinned individuals, vitamin D production occurs with short periods of sun exposure, well before erythema (skin reddening) develops. The key principle is that brief, regular exposure to small areas of skin is preferable to prolonged exposure or intentional sunbathing. You should never use sunbeds for vitamin D production, as they emit primarily UVA radiation (which does not synthesise vitamin D) and significantly increase melanoma risk.
Practical sun safety recommendations include:
-
Expose forearms, hands, or lower legs for short periods rather than prolonged full-body exposure
-
Avoid deliberate sunbathing or using sunbeds
-
Apply sunscreen (at least SPF 30 with 4-5 star UVA protection) if you will be outside long enough for skin to redden
-
Wear protective clothing, seek shade, and use sunscreen during extended outdoor activities
-
Be particularly cautious between 11am and 3pm when UV radiation is strongest
-
Protect children's skin carefully, as childhood sunburn significantly increases lifetime melanoma risk
For many individuals, particularly those at high risk of deficiency, supplementation offers a safer alternative to increased sun exposure. NICE and the Department of Health and Social Care recommend that certain groups take daily vitamin D supplements year-round, including:
-
Individuals with darker skin tones (African, African-Caribbean, South Asian heritage)
-
Those with limited sun exposure (housebound, institutionalised, or covering skin for cultural reasons)
-
Pregnant and breastfeeding women (10 micrograms daily)
-
Infants and children under five years (8.5-10 micrograms for breastfed babies; 10 micrograms for children 1-4 years)
-
Adults over 65 years
The recommended supplement dose is 10 micrograms (400 IU) daily for most adults. Safe upper limits are 100 micrograms daily for adults, 50 micrograms for children aged 1-10 years, and 25 micrograms for infants. If you are concerned about your vitamin D status, particularly if you experience symptoms such as bone pain or muscle weakness, consult your GP. Blood tests measuring 25(OH)D levels can confirm deficiency (typically defined as <25 nmol/L, though thresholds may vary between laboratories), and higher therapeutic doses may be prescribed if needed. Routine testing is not recommended for people without symptoms. If you experience any suspected side effects from vitamin D supplements, report them through the MHRA Yellow Card Scheme.
Frequently Asked Questions
Can you get vitamin D from sunlight through a window?
No, glass windows filter out UVB rays, which are essential for vitamin D synthesis. Sunlight through windows does not contribute to vitamin D production, regardless of exposure duration.
How long should I spend in the sun to get enough vitamin D in the UK?
Short, regular periods exposing forearms, hands, or lower legs to midday sun between late March and September are typically sufficient, taking care never to allow skin to redden or burn. Exact time varies by skin type and weather conditions.
Should I take vitamin D supplements if I get regular sun exposure?
Yes, the Department of Health and Social Care recommends everyone consider taking 10 micrograms (400 IU) daily during UK winter months (October to early March), as sunlight is insufficient for vitamin D production regardless of exposure. High-risk groups should consider year-round supplementation.
The health-related content published on this site is based on credible scientific sources and is periodically reviewed to ensure accuracy and relevance. Although we aim to reflect the most current medical knowledge, the material is meant for general education and awareness only.
The information on this site is not a substitute for professional medical advice. For any health concerns, please speak with a qualified medical professional. By using this information, you acknowledge responsibility for any decisions made and understand we are not liable for any consequences that may result.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Block quote
Ordered list
- Item 1
- Item 2
- Item 3
Unordered list
- Item A
- Item B
- Item C
Bold text
Emphasis
Superscript
Subscript








