Vitamin D Deficiency even with Abundant Sunlight?
Reviewed by: Medskology Medical Team
Last updated: December 2, 2026
Sunlight is one of the body's main sources of vitamin D. When ultraviolet B (UVB) rays reach the skin, they trigger the production of vitamin D3. However, spending plenty of time outdoors does not guarantee adequate vitamin D levels. Factors such as skin pigmentation, age, clothing, sunscreen use, body weight and certain medical conditions can affect how much vitamin D the body produces, absorbs and uses.
1. Darker Skin Reduces Vitamin D Production
Melanin is the natural pigment responsible for skin colour. Although it protects the skin against ultraviolet radiation, it also reduces the amount of UVB radiation available for vitamin D production.
Higher melanin levels: People with darker skin generally require more UVB exposure to produce the same amount of vitamin D as people with lighter skin.
Reduced production: The skin produces vitamin D less efficiently when more melanin absorbs UVB radiation.
Greater deficiency risk: People with darker skin may be more likely to develop low vitamin D levels, particularly when sunlight exposure is limited.
2. Sunlight Timing Matters
Not all sunlight contains the same amount of UVB radiation. The intensity of UVB rays changes throughout the day and varies with season and geographical location.
Early morning sunlight: UVB intensity is generally lower during early morning hours.
Midday sunlight: UVB radiation is usually stronger around midday, allowing more vitamin D production.
Evening sunlight: UVB intensity decreases towards sunset, reducing vitamin D synthesis.
Seasonal variations: During certain seasons, the angle of sunlight can reduce the amount of UVB reaching the skin.
Important: There is no single safe sunlight exposure duration that works for everyone. Avoid sunburn and excessive UV exposure, which increase the risk of skin damage and skin cancer.
3. Clothing and Sunscreen Can Limit UVB Exposure
Even when people spend several hours outdoors, their skin may receive very little UVB radiation.
Full-body clothing: Covering most of the skin reduces the area available for vitamin D production.
Sunscreen: Proper application of high-SPF sunscreen reduces UVB penetration and can reduce vitamin D production under controlled conditions.
Indoor environments: Spending time near windows does not provide the same vitamin D benefit because ordinary glass blocks most UVB radiation.
Shade: Staying under trees, umbrellas or covered areas reduces direct UVB exposure.
4. Age Reduces Vitamin D Production
The skin naturally becomes less efficient at producing vitamin D as people grow older.
Reduced skin capacity: Older skin contains lower amounts of 7-dehydrocholesterol, the substance required to produce vitamin D3 after UVB exposure.
Lower production: Older adults generally produce less vitamin D from the same amount of sunlight than younger individuals.
Lifestyle factors: Reduced outdoor activity and limited dietary intake can further increase deficiency risk.
5. Obesity Can Affect Vitamin D Levels
People with obesity are more likely to have lower circulating vitamin D levels, even when they receive regular sunlight exposure.
Fat distribution: Vitamin D is fat-soluble and can be distributed into larger body fat stores.
Lower circulating levels: Greater distribution into body tissues may contribute to lower measured vitamin D concentrations in the blood.
Metabolic factors: Obesity is also associated with inflammation and metabolic changes that may influence vitamin D status.
Obesity does not mean the body cannot produce vitamin D. It may, however, alter how vitamin D is distributed and maintained in circulation.
6. Digestive Problems Can Reduce Vitamin D Absorption
Sunlight helps the skin produce vitamin D, but the vitamin must also be absorbed and processed properly by the body. Since vitamin D is fat-soluble, certain digestive conditions can interfere with its absorption.
Coeliac disease: Damage to the small intestinal lining can reduce absorption of fat-soluble vitamins.
Inflammatory bowel disease: Conditions such as Crohn's disease may interfere with nutrient absorption.
Pancreatic disorders: Reduced pancreatic enzyme production can impair fat digestion and vitamin D absorption.
Bariatric surgery: Some weight-loss procedures can reduce vitamin D absorption.
Chronic diarrhoea: Persistent digestive problems may contribute to poor nutrient absorption.
7. Liver and Kidney Diseases Can Affect Vitamin D Metabolism
Vitamin D needs to undergo two major conversion steps before becoming fully active in the body.
First step – Liver: The liver converts vitamin D into 25-hydroxyvitamin D [25(OH)D], the main circulating form measured in blood tests.
Second step – Kidneys: The kidneys convert 25(OH)D into 1,25-dihydroxyvitamin D, the active hormonal form.
Liver disease: Significant liver dysfunction may interfere with the first conversion step.
Chronic kidney disease: Reduced kidney function can impair the production of active vitamin D.
Other metabolic conditions: Certain illnesses and medications can also interfere with vitamin D metabolism.
Important: The blood test used to assess vitamin D status is usually 25(OH)D, not the active 1,25-dihydroxyvitamin D form.
8. Certain Medications Can Lower Vitamin D Levels
Some medicines can affect vitamin D absorption, metabolism or breakdown.
Anticonvulsants: Certain epilepsy medicines, such as phenytoin and phenobarbital, can increase vitamin D breakdown.
Glucocorticoids: Long-term steroid treatment can interfere with vitamin D and calcium metabolism.
Orlistat: This weight-loss medication can reduce the absorption of fat-soluble vitamins.
Bile acid sequestrants: Medicines such as cholestyramine can reduce vitamin D absorption.
People taking these medications for long periods may need monitoring based on their individual risk.
9. Dietary Intake Also Matters
Sunlight is an important source of vitamin D, but dietary intake contributes to maintaining adequate levels.
Fatty fish: Salmon, sardines and other oily fish provide vitamin D.
Egg yolks: Contain small amounts of vitamin D.
Fortified foods: Some milk, cereals and plant-based milk alternatives contain added vitamin D.
Mushrooms: Certain UV-exposed mushrooms provide vitamin D2.
Supplements: May be recommended when dietary intake and sunlight exposure are insufficient or when deficiency is confirmed.
How Do You Know If You Have Vitamin D Deficiency?
Vitamin D deficiency may not produce obvious symptoms initially. When deficiency becomes significant, it can affect bones and muscles.
Bone pain: Persistent discomfort may occur, particularly in severe deficiency.
Muscle weakness: Some people experience reduced muscle strength.
Fatigue: Low vitamin D levels may be associated with tiredness, although fatigue has many possible causes.
Bone softening: Severe deficiency can cause osteomalacia in adults.
Increased fracture risk: Long-standing deficiency can impair bone mineralisation and contribute to skeletal weakness.
A blood test measuring 25-hydroxyvitamin D is used to assess vitamin D status.
How Can You Maintain Healthy Vitamin D Levels?
Maintaining adequate vitamin D levels requires a combination of sensible sunlight exposure, dietary intake and appropriate supplementation when necessary.
Get sensible sunlight exposure: Allow some skin exposure to sunlight while avoiding sunburn and excessive UV radiation.
Include vitamin D-rich foods: Eat suitable sources such as fatty fish, eggs and fortified foods.
Maintain a healthy weight: Weight management supports overall metabolic health.
Address digestive conditions: Seek treatment for conditions that interfere with nutrient absorption.
Monitor vitamin D levels: Testing may be appropriate in people with symptoms, risk factors or relevant medical conditions.
Take supplements when required: Vitamin D2 or D3 may be prescribed depending on individual needs.
Frequently Asked Questions
1. Can I have vitamin D deficiency even if I spend two hours in sunlight daily?
Yes. Duration alone does not determine vitamin D production. Skin pigmentation, time of day, clothing, sunscreen use, season and geographical conditions all influence UVB exposure.
2. Does sunlight through a window increase vitamin D levels?
Generally, no. Ordinary window glass blocks most UVB rays required for vitamin D production, although it allows much of the UVA radiation to pass through.
3. Do people with darker skin need more sunlight?
People with darker skin generally require greater UVB exposure to produce the same amount of vitamin D as people with lighter skin. However, deliberately increasing exposure without considering skin damage is not recommended.
4. Can fatty liver cause vitamin D deficiency?
Fatty liver is associated with lower vitamin D levels in many studies. However, obesity, insulin resistance, lifestyle factors and changes in liver metabolism may all contribute. Fatty liver does not automatically cause vitamin D deficiency.
5. Which is better for correcting vitamin D deficiency: D2 or D3?
Both can correct deficiency, but vitamin D3 generally raises and maintains blood vitamin D levels more effectively than an equivalent dose of vitamin D2.
6. Should everyone take vitamin D supplements despite getting sunlight?
No. Supplementation depends on dietary intake, individual risk factors, medical conditions and vitamin D levels when testing is indicated. High-dose supplements should not be taken unnecessarily.
Medical references: