QuestionSkin
How Does Skin Make Vitamin D? Sunlight and the Skin Explained
For general education about how the body works, not medical advice. Medical disclaimer.

Skin makes vitamin D when ultraviolet B (UVB) light converts a cholesterol-based molecule in the skin into a precursor of vitamin D. The precursor then changes into vitamin D3 over the next hours to days. The liver and kidneys complete the process by turning it into calcitriol, the active hormone. The whole organ is described in skin.
Contents
The full answer
The skin is one of the body’s main sources of vitamin D, along with other sources. The process starts in the cells of the epidermis and upper dermis, where a molecule called 7-dehydrocholesterol is present. When UVB light reaches these cells, it breaks one bond in the molecule and forms previtamin D3.
Previtamin D3 is unstable. Over the following hours to days, body heat turns it slowly into vitamin D3, also called cholecalciferol. Vitamin D3 then leaves the skin cells and enters the blood, where it binds to a carrier protein that moves it to the liver.
The whole process depends on the wavelength of light. UVB is the part of sunlight that drives the first step, while UVA does not produce vitamin D in the same way. Glass blocks much UVB, and so does clothing and many sunscreens, so the skin’s production depends on how much UVB actually reaches it. The same amount of sunlight can therefore produce very different amounts of vitamin D in different people and places.
The chemical steps
The first step happens inside the skin. 7-dehydrocholesterol is a close relative of cholesterol, and it accumulates in the lipid membranes of keratinocytes. UVB light opens one of the rings in the molecule, which makes previtamin D3. This reaction is quick, but the product does not stay in this form.
The second step is a slow rearrangement. Previtamin D3 is converted into vitamin D3 by a temperature-dependent shift in its shape. Because this step depends on body temperature, it takes time, and the product is not formed all at once. Vitamin D3 is then released into the dermis and taken up by the blood.
Vitamin D3 is fat-soluble, so it needs a carrier protein to move through the blood. The main carrier is vitamin D-binding protein, which transports vitamin D to the liver. The inactive vitamin D from the skin and from food is handled in the same way. See keratinocytes for the cells where the first step takes place.
How the liver and kidneys activate it
The liver is the first stop. Enzymes in the liver add a hydroxyl group to vitamin D, which produces 25-hydroxyvitamin D, also called calcifediol. This is the main circulating form, and doctors use its blood level to describe a person’s vitamin D status in medical tests. Calcifediol is still not the fully active hormone.
The kidneys make the final change. Enzymes in the kidney convert calcifediol into 1,25-dihydroxyvitamin D, or calcitriol. Calcitriol is the active hormone. It binds to vitamin D receptors inside cells in the intestine, bone and other tissues, where it helps control how much calcium and phosphate the body absorbs and keeps in the blood. For more on the hormone, see is vitamin D a hormone? and kidneys.
The kidneys also control this step. Their activity responds to levels of calcium, phosphate and parathyroid hormone, so the body adjusts production to its needs rather than making as much as the skin can produce.
What changes production
The most important factor is the amount of UVB that reaches the skin. This depends on the time of day, the season, the latitude, cloud cover and altitude. Near the equator, UVB is strong for most of the year. At higher latitudes, the winter sun is too low to produce much UVB, so less vitamin D forms in the skin during those months.
Melanin is the second factor. Melanin in the upper epidermis absorbs UVB, so it reduces the amount of light that reaches the 7-dehydrocholesterol. People with more melanin therefore make less vitamin D from the same amount of UVB. This is one reason skin color and vitamin D production are linked, as described in melanocytes.
Age also matters. The concentration of 7-dehydrocholesterol in the skin tends to fall with age, so older adults produce less vitamin D from the same exposure. Clothing, indoor life and the use of glass or sunscreen also reduce the UVB that reaches the skin, without any change in the skin itself.
Common myths
Myth: the skin makes vitamin D in the same amount everywhere and all year. Fact: production depends strongly on UVB levels, which change by place and season.
Myth: vitamin D is a vitamin in the usual sense. Fact: the precursor is called a vitamin, but the active form works as a steroid hormone.
Myth: the skin makes all the vitamin D the body needs. Fact: the skin is one important source, and the body’s supply depends on several factors, including the liver and kidneys.
Frequently asked questions
Which kind of sunlight makes vitamin D in the skin?
Ultraviolet B (UVB) light, with wavelengths of roughly 280 to 315 nanometers, is the part of sunlight that drives the reaction. Ultraviolet A does not drive this step in the same way.
Do the liver and kidneys make vitamin D?
They do not make it from scratch. The liver adds a hydroxyl group to vitamin D to make calcifediol, and the kidneys convert calcifediol into calcitriol, the active hormone.
Why does melanin affect vitamin D production?
Melanin absorbs UVB light, so less of it reaches the 7-dehydrocholesterol in the skin cells. People with more melanin therefore make vitamin D more slowly for the same amount of UVB.
Does older skin make less vitamin D?
Yes. The amount of the precursor molecule in the skin tends to decline with age, so the same UVB exposure produces less vitamin D in older adults.
Is vitamin D a vitamin or a hormone?
It is both in common usage. The precursor is called a vitamin, and its active form, calcitriol, acts like a steroid hormone by binding to receptors inside cells.
Sources and further reading
- OpenStax, "Anatomy and Physiology 2e"
- Gray's Anatomy (Susan Standring, ed.)
- Encyclopaedia Britannica, "Vitamin D"
Cite this page
“How Does Skin Make Vitamin D? Sunlight and the Skin Explained.” Body Atlas, https://body.bigworldlist.com/questions/how-does-skin-make-vitamin-d/.
Skin: more questions and guides
- ProfileSkin: Layers, Size and Functions of the Body's Largest Organ
- Evolution and life stagesAtavisms in Humans: Ancestral Traits That Sometimes Reappear
- ComparisonBiological Age vs Chronological Age: What Is the Difference?
- ListBody Parts That Can Regenerate: Liver, Skin, Bone and More
- ListBody Parts That Never Stop Growing? Ears, Nose and the Truth
- QuestionCan Your Skin Breathe? How Skin Takes In Oxygen From the Air
- ListDermatomes: Map of Skin Areas Supplied by Spinal Nerves
- QuestionDoes Your Body Replace Itself Every 7 Years? The Real Answer
- ListGerm Layers: Ectoderm, Mesoderm and Endoderm and What They Form