Vitamin D: How Is Vitamin D Produced in Your Body?
When daylight feels scarce, especially through a British winter, it is natural to wonder whether your body is still making enough vitamin D. The process is more fascinating than it first appears: vitamin D is not simply absorbed from food. Your skin can begin making it when exposed to the right kind of sunlight, before the liver and kidneys turn it into forms the body can use.
Quick answer: how is vitamin D produced?
Vitamin D is produced when UVB rays from sunlight reach the skin and interact with a cholesterol-like compound called 7-dehydrocholesterol. This creates vitamin D3, which is then processed by the liver and kidneys into active forms that help regulate calcium, support normal bone and muscle function, and contribute to normal immune function.
Food and supplements can also provide vitamin D, particularly when sunlight is limited. However, sunlight, skin, liver, kidneys, hormones and nutrition all play a part in the full picture.
The first stage happens in your skin
Your skin contains 7-dehydrocholesterol, a naturally occurring substance related to cholesterol. When UVB light from the sun reaches bare skin, it changes this compound into previtamin D3. Body heat then converts it into vitamin D3, also called cholecalciferol.
This is why vitamin D is often called the “sunshine vitamin”. Strictly speaking, it behaves more like a hormone precursor than a conventional vitamin because the body can manufacture it under the right conditions.
The skin does not make vitamin D simply because it is bright outside. The sunlight must contain enough UVB radiation, and that depends on several everyday factors:
- The season and time of day
- Your location and latitude
- Cloud cover, air pollution and shade
- How much skin is uncovered
- Skin tone and age
- Whether sunlight passes through glass
UVB rays do not effectively pass through ordinary window glass. Sitting beside a sunny window may lift your mood and support a healthy daily rhythm, but it does not usually provide the UVB exposure needed for meaningful vitamin D production.
Why vitamin D production can be difficult in the UK
In the UK, the sun is often too low in the sky from around October to March for the skin to produce much vitamin D. This is one reason public health guidance commonly recommends considering a daily vitamin D supplement during autumn and winter.
Even in spring and summer, production varies. Office-based work, long commutes, indoor exercise, protective clothing and spending time in shade can all reduce skin exposure. Sunscreen is essential for protecting skin when sun exposure is prolonged or intense, but it may also reduce UVB reaching the skin in real-world conditions.
The aim is never to chase a tan or allow skin to burn. Burning damages skin and is not a healthy route to vitamin D. Short, sensible periods outdoors can be enough for some people during brighter months, although individual needs vary widely.
Daily daylight also matters for more than vitamin D. Getting outside earlier in the day can help reinforce the body’s circadian rhythm, which influences alertness, appetite, stress signalling and sleep. For a practical look at creating a more restorative evening routine, explore our sleep and insomnia guide.
What happens after your skin makes vitamin D3?
Vitamin D3 made in the skin is not immediately active. It enters the bloodstream and travels to the liver, where it is converted into 25-hydroxyvitamin D, often shortened to 25(OH)D. This is the main form measured in a vitamin D blood test.
The kidneys then convert some of this stored form into calcitriol, the active hormone-like form of vitamin D. Calcitriol helps the body manage calcium and phosphate, minerals needed for healthy bones, teeth and normal muscle function.
The vitamin D pathway, simply explained
- Skin: UVB sunlight converts 7-dehydrocholesterol into vitamin D3.
- Liver: Vitamin D3 becomes 25(OH)D, the main circulating and storage form.
- Kidneys: 25(OH)D becomes calcitriol, the active form used in several body systems.
- Body tissues: Vitamin D receptors in many tissues respond to active vitamin D signals.
This pathway also explains why sun exposure alone is not the entire story. Liver health, kidney function, dietary intake, age and certain medicines can influence how vitamin D is processed. Anyone with a health condition affecting nutrient absorption, the liver or kidneys should discuss their individual needs with a qualified healthcare professional.
Can food provide enough vitamin D?
Food contributes vitamin D, but naturally rich sources are relatively limited. Oily fish is among the best dietary sources, while egg yolks, red meat and liver provide smaller amounts. Fortified foods, such as some spreads, cereals and plant-based drinks, can also help increase intake.
There are two main dietary forms:
- Vitamin D3: Usually sourced from animal-derived foods or certain supplements, and also made in the skin.
- Vitamin D2: Found in some mushrooms exposed to UV light and in certain fortified foods.
Both forms can raise vitamin D levels, although some research suggests vitamin D3 may be more effective at maintaining levels over time. A nourishing diet still matters because vitamin D works alongside other nutrients, including protein, magnesium, calcium and vitamin K.
Magnesium deserves particular attention because it is involved in the enzymes that help convert vitamin D into its usable forms. This does not mean magnesium will solve every vitamin D concern, but dietary magnesium from nuts, seeds, beans, leafy greens and wholegrains supports a wider foundation for energy, recovery and muscle function. Those looking to complement a balanced routine may consider Magnesium Citrate 500mg, depending on their individual needs and tolerance.
Vitamin D, energy, immunity and hormones
Vitamin D has receptors throughout the body, including in immune cells, muscle tissue and parts of the brain. It is best known for helping regulate calcium balance, yet its role is broader than bone health alone. Low vitamin D status is sometimes associated with tiredness, low mood, muscle weakness or more frequent feelings of being run down, though these symptoms are non-specific and can have many possible causes.
Stress, disrupted sleep, restricted diets, digestive difficulties and low activity can also affect how someone feels day to day. Vitamin D may be one useful piece of the wellbeing puzzle, but it is rarely the only one.
For example, poor sleep can affect energy, appetite regulation and resilience, while ongoing stress may make it harder to maintain consistent meals, movement and time outdoors. Our guide to nighttime habits for deeper sleep offers simple ways to support recovery without making your routine complicated.
From an Ayurvedic perspective, regular exposure to natural morning light, nourishing meals and a predictable daily rhythm can help support balance. This traditional emphasis on rhythm sits comfortably alongside modern understanding of the body clock. It does not replace medical care, but it can make healthy habits easier to sustain.
Who may need to pay closer attention to vitamin D?
Some people have a greater likelihood of low vitamin D status because their skin makes less vitamin D or because they have limited UVB exposure. This can include people with darker skin, older adults, people who cover most of their skin outdoors, those who spend little time outside, and people who follow diets low in vitamin D-rich foods.
Digestive conditions that affect fat absorption can also matter, because vitamin D is fat-soluble. Body fat stores vitamin D too, which can influence how it circulates in the blood. Medication use and certain health conditions may further affect vitamin D metabolism.
If fatigue, muscle aches, bone discomfort or low mood persist, it is worth speaking with a GP rather than assuming vitamin D is the cause. A blood test may help assess vitamin D status where clinically appropriate. Professional guidance is especially sensible during pregnancy, when taking prescribed medicines, or if you have kidney disease, a history of kidney stones or conditions affecting calcium levels.
Where a Vitamin D3 + K2 supplement may fit
During months with limited sunshine, some people choose a Vitamin D3 + K2 supplement as part of a broader daily routine. Vitamin D3 supports normal calcium absorption and utilisation, while vitamin K contributes to normal blood clotting and the maintenance of normal bones.
These nutrients are often paired because they both relate to calcium metabolism, although supplements are not a substitute for a varied diet, daylight, movement and appropriate medical advice. Vitamin K should be discussed with a clinician before supplementation if you take anticoagulant medicines such as warfarin.
Consistency tends to matter more than chasing high doses. Vitamin D is fat-soluble, so taking it with a meal containing some healthy fat may support absorption. Avoid combining multiple vitamin D products without checking the total amount, and follow the label guidance or advice from a healthcare professional.
A simple routine to support vitamin D production
Vitamin D production works best as part of a realistic lifestyle, not a perfect wellness checklist. A few small habits can make a meaningful difference over time:
- Spend some time outdoors in daylight when conditions allow, without deliberately seeking sunburn.
- Include oily fish, eggs, fortified foods or UV-exposed mushrooms where they suit your diet.
- Take a recommended supplement consistently during lower-light months if appropriate for you.
- Pair vitamin D with regular meals, hydration and gentle movement.
- Protect sleep by keeping morning light and evening routines reasonably consistent.
- Seek professional advice if symptoms persist or you think you may be at higher risk of deficiency.
Movement can be particularly helpful because it supports muscles, bones, circulation and mood at the same time. A walk outdoors offers a simple combination of daylight, fresh air and low-pressure activity—often more sustainable than an ambitious routine that disappears after a week.
Final Thoughts
Vitamin D production begins in the skin, but it depends on a thoughtful chain of events: enough UVB sunlight, efficient processing by the liver and kidneys, and supportive nutrition. In the UK, especially during darker months, relying on sunshine alone may not be realistic for everyone.
A calm approach is usually best. Make daylight part of your day where possible, eat in a way that supports your wider nutritional needs, protect your sleep and consider professional guidance or a suitable supplement when needed. Understanding the process makes it easier to care for your health without overcomplicating it.
Frequently Asked Questions
How is vitamin D produced in the body?
Vitamin D is made when ultraviolet B, or UVB, sunlight reaches the skin and converts a naturally occurring compound into vitamin D3. The liver and kidneys then change it into forms the body can use. It helps support normal calcium absorption, bone health, muscle function and immune function.
How much sunlight do you need to produce vitamin D?
The amount varies with season, time of day, skin tone, age, clothing, location and how much skin is exposed. In the UK, short periods outdoors around midday during spring and summer may help, but it is important to avoid reddening or burning. Winter sunlight is generally too weak for meaningful vitamin D production.
Can you make vitamin D through a window?
Usually not effectively. Glass allows visible light through but blocks most UVB rays, which are the rays needed for vitamin D production in skin. Sitting by a sunny window can still feel uplifting, but outdoor daylight exposure is generally needed for skin synthesis.
Why is it harder to make vitamin D in the UK during winter?
From roughly October to March, the UK sun sits too low in the sky for enough UVB radiation to reach the skin. This means the body makes little or no vitamin D from sunlight during these months. Dietary sources and an appropriate supplement can help support intake.
Does darker skin affect vitamin D production?
Yes. Higher levels of melanin, the pigment that gives skin its colour, reduce how efficiently skin produces vitamin D from UVB exposure. People with darker skin may therefore need more sunlight exposure than those with lighter skin, while still protecting skin from burning and sun damage.
Can sunscreen stop your body making vitamin D?
High-SPF sunscreen can reduce UVB reaching the skin in theory, although real-world use is often uneven. Sun protection remains important for reducing skin damage, especially during prolonged exposure. Rather than seeking unprotected sun, consider food sources or supplements if intake may be low.
What foods contain vitamin D?
Food sources include oily fish such as salmon, mackerel and sardines, egg yolks, liver and some fortified foods, including certain spreads, cereals and plant-based drinks. Vitamin D is naturally present in relatively few foods, so diet alone can be difficult for many people, particularly in winter.
What is the difference between vitamin D2 and vitamin D3?
Vitamin D2 is usually sourced from fungi or yeast, while vitamin D3 is commonly sourced from lanolin or, in some products, algae. Both can raise vitamin D levels, but D3 is generally considered more effective at maintaining circulating vitamin D in the body. Check product sourcing if following a vegan lifestyle.
Why is vitamin D3 often combined with vitamin K2?
Vitamin D3 supports calcium absorption, while vitamin K contributes to normal blood clotting and maintenance of normal bones. K2 is often paired with D3 because it is involved in proteins that help regulate calcium use in the body. Anyone taking anticoagulant medication should seek medical advice before using vitamin K supplements.
What are common signs that vitamin D intake may be low?
Low vitamin D can be associated with non-specific symptoms such as tiredness, low mood, muscle aches or weakness, and bone discomfort, but these can have many possible causes. A blood test arranged by a healthcare professional is the reliable way to assess vitamin D status. Seek advice for persistent or concerning symptoms.
Who is more likely to have low vitamin D levels?
Risk may be higher for people who spend little time outdoors, cover most of their skin, have darker skin, are older, live in care settings, are pregnant or breastfeeding, or have conditions affecting fat absorption. People with obesity may also be at higher risk. Individual needs should be discussed with a clinician where appropriate.
Can stress, poor sleep or fatigue be caused by low vitamin D?
Fatigue, disrupted sleep and feeling stressed can arise from many factors, including routine, mental wellbeing, nutrition, hydration, illness and hormone changes. Low vitamin D may coexist with these concerns but should not be assumed to be the cause. A balanced routine and professional assessment can help identify what is relevant.
How can I find out if I am deficient in vitamin D?
A healthcare professional can assess your circumstances and, where appropriate, arrange a blood test measuring 25-hydroxyvitamin D. Testing may be particularly useful if you have risk factors, ongoing symptoms or a condition affecting nutrient absorption. Avoid self-diagnosing, as symptoms alone cannot confirm deficiency.
Should everyone take a vitamin D supplement in the UK?
UK public health guidance commonly advises considering a daily vitamin D supplement during autumn and winter, when sunlight is insufficient for skin production. Some people may benefit from taking it year-round, including those with limited sun exposure or darker skin. Ask a pharmacist, GP or dietitian for individual guidance.
When is the best time of day to take vitamin D3?
Vitamin D3 is fat-soluble, so taking it with a meal or snack containing some dietary fat may support absorption. Consistency matters more than a specific clock time. Choose a time that fits your routine, whether that is with breakfast, lunch or your main evening meal.
Can you get too much vitamin D from sunlight?
Your skin has natural processes that limit vitamin D production from sun exposure, but too much sun can still damage skin and increase skin cancer risk. Excess vitamin D is more likely to come from high-dose supplements taken over time. Never use sunburn as a strategy for improving vitamin D status.
Is it safe to take high-dose vitamin D supplements?
High-dose vitamin D is not suitable for everyone and should generally be used only with professional guidance, especially for prolonged periods. Too much can raise calcium levels and cause health problems. Check the dose on all supplements you use, including multivitamins, to avoid unintentionally doubling up.
Can vitamin D interact with medicines or health conditions?
Yes. Vitamin D supplements may require extra caution with certain kidney conditions, high calcium levels, sarcoidosis, hyperparathyroidism and some medicines, including particular diuretics and epilepsy treatments. Vitamin K2 may also be unsuitable with warfarin and similar anticoagulants. Speak with a pharmacist or clinician before supplementing if unsure.
Does exercise increase vitamin D production?
Exercise itself does not make vitamin D, but outdoor movement may increase time spent in daylight and support overall wellbeing, muscle strength and sleep. A regular routine of walking, cycling or other enjoyable movement can complement adequate nutrition and recovery. Indoor exercise remains valuable even when UVB is limited.
What are common mistakes people make when trying to improve vitamin D levels?
Common mistakes include relying on sunlight through glass, assuming summer sun stores will last all winter, taking multiple supplements without checking total dose, and using symptoms alone to self-diagnose. A safer approach combines sensible sun protection, vitamin D-containing foods, consistent habits and professional advice when testing or higher doses are needed.
